DbSyncForeignKeyConstraint Class

Represents a foreign key relationship between two tables that are involved in synchronization.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DbSyncForeignKeyConstraint

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DbSyncForeignKeyConstraint
'Usage
Dim instance As DbSyncForeignKeyConstraint
[SerializableAttribute]
public class DbSyncForeignKeyConstraint
[SerializableAttribute]
public ref class DbSyncForeignKeyConstraint
[<SerializableAttribute>]
type DbSyncForeignKeyConstraint =  class end
public class DbSyncForeignKeyConstraint

The DbSyncForeignKeyConstraint type exposes the following members.

Constructors

  Name Description
Public method DbSyncForeignKeyConstraint() Initializes a new instance of the DbSyncForeignKeyConstraint class.
Public method DbSyncForeignKeyConstraint(String) Initializes a new instance of the DbSyncForeignKeyConstraint class for a constraint with the specified name.
Public method DbSyncForeignKeyConstraint(String, String, String, Collection<String>, Collection<String>)
Public method DbSyncForeignKeyConstraint(String, String, String, String, String) Initializes a new instance of the DbSyncForeignKeyConstraint class.

Top

Properties

  Name Description
Public property ChildColumns Gets or sets the list of columns from the child table that is involved in the foreign key constraint.
Public property ChildTableName Gets or sets the name of the child table that is involved in the foreign key constraint.
Public property ConstraintName Gets or sets the name of the foreign key constraint.
Public property DeleteRule Gets or sets a Rule enumeration value that determines the action that occurs when a row is deleted from a parent table.
Public property ParentColumns Gets or sets the list of columns from the parent table that is involved in the foreign key constraint.
Public property ParentTableName Gets or sets the name of the parent table that is involved in the foreign key constraint.
Public property UpdateRule Gets or sets a Rule enumeration value that determines the action that occurs when a row is updated in the parent table.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that represents the DbSyncForeignKeyConstraint object. (Overrides Object.ToString().)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.Data Namespace