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 | |
---|---|---|
DbSyncForeignKeyConstraint() | Initializes a new instance of the DbSyncForeignKeyConstraint class. | |
DbSyncForeignKeyConstraint(String) | Initializes a new instance of the DbSyncForeignKeyConstraint class for a constraint with the specified name. | |
DbSyncForeignKeyConstraint(String, String, String, Collection<String>, Collection<String>) | ||
DbSyncForeignKeyConstraint(String, String, String, String, String) | Initializes a new instance of the DbSyncForeignKeyConstraint class. |
Top
Properties
Name | Description | |
---|---|---|
ChildColumns | Gets or sets the list of columns from the child table that is involved in the foreign key constraint. | |
ChildTableName | Gets or sets the name of the child table that is involved in the foreign key constraint. | |
ConstraintName | Gets or sets the name of the foreign key constraint. | |
DeleteRule | Gets or sets a Rule enumeration value that determines the action that occurs when a row is deleted from a parent table. | |
ParentColumns | Gets or sets the list of columns from the parent table that is involved in the foreign key constraint. | |
ParentTableName | Gets or sets the name of the parent table that is involved in the foreign key constraint. | |
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 | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.