[IACEntityObjectContext] IACEntityObjectContext (Entwicklerhandbuch)


  Dokumentenbaum

;

Methodenname/ID Klasse / Zusamm.
ACSaveChanges(System

Saves all changes in the Custom-Database-Context as well as in the iPlus-Context If ContextIPlus is not seperate (Property IsSeperateIPlusContext == false / ContextIPlus == Database.GlobalDatabase) then SaveChanges will not be invoked for the global database. If you wan't that, then you have to pass an new iPlus-Context-Instance to the constructor of the Custom-Database-Context! UNSAFE. Use QueryLock_1X000 outside for Custom-Database-Context as well as for the seperate iPlus-Context

ACSaveChangesWithRetry(System

Invokes ACSaveChanges. If a transaction error occurs ACSaveChanges is called again. If parameter retries ist not set, then ACObjectContextHelper.C_NumberOfRetriesOnTransError is used to limit the Retry-Loop.

ACUndoChanges(System

Undoes all changes in the Custom-Database-Context as well as in the iPlus-Context If ContextIPlus is not seperate (Property IsSeperateIPlusContext == false / ContextIPlus == Database.GlobalDatabase) then Undo will not be invoked for the global database. If you wan't that, then you have to pass an new iPlus-Context-Instance to the constructor of the Custom-Database-Context! UNSAFE. Use QueryLock_1X000 outside for Custom-Database-Context as well as for the seperate iPlus-Context

AutoLoad

Queries the Database an refreshes the collection if not in modified state. MergeOption.OverwriteChanges Els if in modified state, then colletion is only refreshed with MergeOption.AppendOnly

AutoRefresh(System

Refreshes the EntityObject if not in modified state. Else it leaves it untouched.

DetachAllEntitiesAndDispose(System

UNSAFE. Use QueryLock_1X000 outside