Public Function New( _ ByVal parentObjectType As Type, _ ByVal foreignKeyName As String, _ ByVal updateAction As ForeignKeyAction, _ ByVal deleteAction As ForeignKeyAction _ )
Dim parentObjectType As Type Dim foreignKeyName As String Dim updateAction As ForeignKeyAction Dim deleteAction As ForeignKeyAction Dim instance As New ParentObjectAttribute(parentObjectType, foreignKeyName, updateAction, deleteAction)
public ParentObjectAttribute( Type parentObjectType, string foreignKeyName, ForeignKeyAction updateAction, ForeignKeyAction deleteAction )
public: ParentObjectAttribute( Type* parentObjectType, string* foreignKeyName, ForeignKeyAction updateAction, ForeignKeyAction deleteAction )
public: ParentObjectAttribute( Type^ parentObjectType, String^ foreignKeyName, ForeignKeyAction updateAction, ForeignKeyAction deleteAction )
Parameters
- parentObjectType
- The object type of the parent
- foreignKeyName
- The foreign key name
- updateAction
- The action taken when a user tries to update a key to which existing foreign keys point
- deleteAction
- The action taken when a user tries to delete a key to which existing foreign keys point