IEntity Properties |
The IEntity type exposes the following members.
Name | Description | |
---|---|---|
ActiveContext |
Gets / sets the active context this object is in. Setting this property is not adding the object to the context, it will make contained
entities be added to the passed in context. If the object is already in a context, setting this property has no effect.
Setting this property is done by framework code, use the Context's Add/Get methods to work with contexts and entities.
(Inherited from IActiveContextParticipant.) | |
AuditorToUse |
Gets or sets the Auditor for this entity.
(Inherited from IEntityCore.) | |
AuthorizerToUse |
Gets or sets the Authorizer for this entity.
(Inherited from IEntityCore.) | |
ConcurrencyPredicateFactoryToUse |
Gets / sets the IConcurrencyPredicateFactory to use for GetConcurrencyPredicate(ConcurrencyPredicateType).
(Inherited from IEntityCore.) | |
CustomPropertiesOfType | The custom properties for the type of this entity instance. (Inherited from IEntityCore.) | |
Fields |
The internal presentation of the data, which is an EntityFields object, which implements IEntityFields.
| |
FieldsCustomPropertiesOfType | The custom properties for the fields of the type of this entity instance. The returned Hashtable contains per fieldname a hashtable of name-value pairs. (Inherited from IEntityCore.) | |
IsDeserializing |
Returns true if this entity instance is in the middle of a deserialization process, for example during a ReadXml() call.
For internal use only.
(Inherited from IEntityCore.) | |
IsDirty |
Marker for the entity object if the object is 'dirty' (changed, true) or not (false). Affects/reads .Fields.IsDirty.
(Inherited from IEntityCore.) | |
IsNew |
Marker for the entity object if the object is new and should be inserted when saved (true) or read from the
database (false).
(Inherited from IEntityCore.) | |
IsSerializing |
Returns true if this entity instance is in the middle of a serialization process, for example during a WriteXml() call.
For internal use only.
| |
IsUpdateOnlyEntity |
Gets a value indicating whether this instance is an update only entity. UpdateOnly entities are entities which are 'split off' from the main
entity and only update rows in the database, never insert rows.
(Inherited from IEntityCore.) | |
LLBLGenProEntityName |
Returns the full name for this entity, which is important for the DAO to find back persistence info for this entity.
(Inherited from IEntityCore.) | |
LLBLGenProEntityTypeValue |
Returns the EntityType enum value for this entity.
(Inherited from IEntityCore.) | |
LLBLGenProIsInHierarchyOfType |
Gets the type of the hierarchy this entity is in.
(Inherited from IEntityCore.) | |
MarkedForDeletion |
flag which is set when the entity is removed from an entity collection and added to a tracker.
(Inherited from IEntityCore.) | |
ObjectID |
Gets / sets the unique Object ID which is created at runtime when the entity is instantiated. Can be used for external caches.
(Inherited from IEntityCore.) | |
ParticipatesInTransaction |
Flag to check if the ITransactionalElement implementing object is participating in a transaction or not.
(Inherited from ITransactionalElement.) | |
PrimaryKeyFieldInfos |
Gets the primary key field infos. Similar to PrimaryKeyFields, but this property doesn't trigger field creation.
(Inherited from IEntityCore.) | |
PrimaryKeyFields |
List of IEntityField references which form the primary key. Reads/Affects .Fields.PrimaryKeyFields
| |
Transaction |
The ITransaction this ITransactionalElement implementing object is participating in. Only valid if
ParticipatesInTransaction is true. If set to null, the ITransactionalElement is no longer participating
in a transaction.
(Inherited from ITransactionalElement.) | |
TypeDefaultValueProviderToUse |
Gets or sets the TypeDefaultValue provider to use. This object is used to provide default values for value typed fields which are null
and not of type Nullable(Of T)
(Inherited from IEntityCore.) | |
Validator |
The validator object used to validate the entity on several moments in the entity's life.
(Inherited from IEntityCore.) |