Search Results for

    Show / Hide Table of Contents

    Class ForeignKeyException

    Contains all information for foreign key exceptions.

    Inheritance
    System.Object
    System.Exception
    ForeignKeyException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: TimeCockpit.Data.Database
    Assembly: TimeCockpit.Data.dll
    Syntax
    public class ForeignKeyException : Exception, ISerializable, _Exception

    Constructors

    ForeignKeyException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ForeignKeyException class.

    Declaration
    protected ForeignKeyException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The serialization info.

    System.Runtime.Serialization.StreamingContext context

    The serialization context.

    ForeignKeyException(String, EntityObject, Relation, Exception)

    Initializes a new instance of the ForeignKeyException class.

    Declaration
    public ForeignKeyException(string message, EntityObject entityObject, Relation relation, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The message to show.

    EntityObject entityObject

    The entity object that raises a foreign key exception.

    Relation relation

    The relation in the model entity that raises the foreign key exception.

    System.Exception innerException

    The inner exception.

    Properties

    ClientReplicaId

    Gets or sets the client replica id of the sync.

    Declaration
    public Guid ClientReplicaId { get; set; }
    Property Value
    Type Description
    System.Guid

    ClientVersion

    Gets or sets the client version of the sync.

    Declaration
    public byte[] ClientVersion { get; set; }
    Property Value
    Type Description
    System.Byte[]

    EntityObject

    Gets or sets the entity object that raises a foreign key exception.

    Declaration
    public EntityObject EntityObject { get; set; }
    Property Value
    Type Description
    EntityObject

    FirstChangeAnchor

    Gets or sets the first change anchor of the sync.

    Declaration
    public byte[] FirstChangeAnchor { get; set; }
    Property Value
    Type Description
    System.Byte[]

    Relation

    Gets or sets the relation in the model entity that raises the foreign key exception.

    Declaration
    public Relation Relation { get; set; }
    Property Value
    Type Description
    Relation

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context
    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    In This Article
    Back to top Copyright © 2020 software architects gmbh