Table of Contents

Class ForeignKeyException

Namespace
TimeCockpit.Data.Database
Assembly
TimeCockpit.Data.dll

Contains all information for foreign key exceptions.

public class ForeignKeyException : Exception, ISerializable, _Exception
Inheritance
Object
Exception
ForeignKeyException
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.Message
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()

Constructors

ForeignKeyException(SerializationInfo, StreamingContext)

Initializes a new instance of the ForeignKeyException class.

protected ForeignKeyException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The serialization info.

context StreamingContext

The serialization context.

ForeignKeyException(String, EntityObject, Relation, Exception)

Initializes a new instance of the ForeignKeyException class.

public ForeignKeyException(string message, EntityObject entityObject, Relation relation, Exception innerException)

Parameters

message String

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.

innerException Exception

The inner exception.

Properties

ClientReplicaId

Gets or sets the client replica id of the sync.

public Guid ClientReplicaId { get; set; }

Property Value

Guid

ClientVersion

Gets or sets the client version of the sync.

public byte[] ClientVersion { get; set; }

Property Value

Byte[]

EntityObject

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

public EntityObject EntityObject { get; set; }

Property Value

EntityObject

FirstChangeAnchor

Gets or sets the first change anchor of the sync.

public byte[] FirstChangeAnchor { get; set; }

Property Value

Byte[]

Relation

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

public Relation Relation { get; set; }

Property Value

Relation

Methods

GetObjectData(SerializationInfo, StreamingContext)

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext