EntityBaseSetupSyncT Method |
Sets up the synchronization between the related entity and this entity, related over the member specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax protected void SetupSync<T>(
IEntityCore relatedEntity,
ref T member,
PropertyChangedEventHandler handler,
string fieldName,
string fieldInRelatedEntity,
IEntityRelation relation,
bool connectToSaveEvent,
ref bool alreadyFetchedFlag,
string[] forfNames,
int[] fkFieldIndexes
)
where T : class, IEntityCore
Protected Sub SetupSync(Of T As {Class, IEntityCore}) (
relatedEntity As IEntityCore,
ByRef member As T,
handler As PropertyChangedEventHandler,
fieldName As String,
fieldInRelatedEntity As String,
relation As IEntityRelation,
connectToSaveEvent As Boolean,
ByRef alreadyFetchedFlag As Boolean,
forfNames As String(),
fkFieldIndexes As Integer()
)
Parameters
- relatedEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
- member
- Type: T
- handler
- Type: System.ComponentModelPropertyChangedEventHandler
- fieldName
- Type: SystemString
- fieldInRelatedEntity
- Type: SystemString
- relation
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityRelation
- connectToSaveEvent
- Type: SystemBoolean
- alreadyFetchedFlag
- Type: SystemBoolean
- forfNames
- Type: SystemString
- fkFieldIndexes
- Type: SystemInt32
Type Parameters
- T
See Also