TableDefineForeignKey Method

Check for ForeignKeyField

Definition

Namespace: Gemstone.Data
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.128 -- Release Build+cb657b646daac3e9cc5384ff42ed4530df50eab1
public bool DefineForeignKey(
	string primaryKeyFieldName,
	string foreignKeyTableName,
	string foreignKeyFieldName,
	int foreignKeyOrdinal = -1,
	string foreignKeyName = "",
	ReferentialAction foreignKeyUpdateRule = ReferentialAction.NoAction,
	ReferentialAction foreignKeyDeleteRule = ReferentialAction.NoAction
)

Parameters

primaryKeyFieldName  String
foreignKeyTableName  String
foreignKeyFieldName  String
foreignKeyOrdinal  Int32  (Optional)
foreignKeyName  String  (Optional)
foreignKeyUpdateRule  ReferentialAction  (Optional)
foreignKeyDeleteRule  ReferentialAction  (Optional)

Return Value

Boolean

[Missing <returns> documentation for "M:Gemstone.Data.Table.DefineForeignKey(System.String,System.String,System.String,System.Int32,System.String,Gemstone.Data.ReferentialAction,Gemstone.Data.ReferentialAction)"]

See Also