Click or drag to resize

cDbClassInstancecState Enumeration

Specifies the state the cDbClassInstance currently is.

Namespace: ABB.Vtrin
Assembly: VtrinLib (in VtrinLib.dll) Version: 530.2607.2220.0 (RTDB_main)
Syntax
public enum cState
Members
Member nameValueDescription
Caching0 The cDbClassInstance resides in the cache. This is the normal state for cached objects on the client side.
Initializing1 The cDbClassInstance is being initialized. When a database driver starts to load an instance from database, it will always start in the in this state. After loading, the driver should call CommitChanges to switch to Caching state.
Initialized2 Instance is intialized, but not yet in cache.
Creating3 The cDbClassInstance is being created. Note that this state will never appear on the actual cached instance, but on a template instance that has been retrived via call to Add instead. Instances with this state will eventually end up Discarded.
Updating5 The cDbClassInstance is in under update. Note that this state will never appear on the actual cached instance, but on the clone that has been retrived via call to BeginUpdate instead. Instances with this state will eventually end up Discarded.
CreatingExact7 Internal, do not use
UpdatingExact9 Internal, do not use
IdOnly10 Internal, do not use
Null12 Internal, do not use
Discarded16 The cDbClassInstance has been discarded and is not in the cache. This state will appear after you have successfully completed updating of an instance. Discarded instances are no more connected to database in any way and refrences to them should be destroyed (to free up the memory).
Deserializing32 The deserialization of cDbClassInstance is on the way. This state should appear only when using remoting.
Destroyed48 The cDbClassInstance has been destroyed from database and cache. This state typically appears after the item has been deleted from database. Destroyed instances are no more connected to database in any way and refrences to them should be destroyed too (freeing up the memory).
See Also