The Entity<(Of <(TId>)>) type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Entity<(Of <(TId>)>) | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() | AfterLoad |
Called immediately after an Entity is loaded from the database.
(Inherited from Entity.) |
![]() | BeforeLoad |
Called immediately before an Entity is loaded from the database.
(Inherited from Entity.) |
![]() | BeginEdit |
Begins an edit on this entity.
(Inherited from Entity.) |
![]() | CancelEdit |
Discards changes since the last BeginEdit()()() call.
(Inherited from Entity.) |
![]() | EndEdit |
Pushes changes since the last BeginEdit()()()
or AddNew()()() call into the underlying object.
(Inherited from Entity.) |
![]() | GeneratedId |
Generates an id for this entity.
(Inherited from Entity.) |
![]() | Get | Overloaded. |
![]() | GetId |
Gets the unique id of this entity.
(Inherited from Entity.) |
![]() | GetSearchData |
Get the free text data to be indexed when using the LightSpeed search engine API.
By default this method will return a concatenation of field values attributed with the
Indexed attribute. Override to provide custom data for this entity's index data.
(Inherited from Entity.) |
![]() | Initialize |
Initializes the Entity. Normally this method is called automatically.
However, VB.NET users should call this method explicitly as discussed in
Entity(Boolean) (Inherited from Entity.) |
![]() | IsLoaded |
Return trueTruetruetrue (True in Visual Basic) if the named value object attribute has been loaded.
(Inherited from Entity.) |
![]() | OnDeserialization |
Runs when the entire object graph has been deserialized.
(Inherited from Entity.) |
![]() | OnEntityStateChanged |
Called when the EntityState of the Entity changes.
(Inherited from Entity.) |
![]() | OnPropertyChanged |
Fires the PropertyChanged event.
(Inherited from Entity.) |
![]() | OnSaving |
Raises the Saving event. This method is called just before
an entity is saved to the database (create or update). Override to perform
custom save processing or optionally cancel the save operation.
(Inherited from Entity.) |
![]() | OnValidate |
Called by Validate()()(); override to perform custom validation.
(Inherited from Entity.) |
![]() | OnValidating |
Raises the Validating event. This method is called just before
an entity is validated. Override to perform custom pre-validation processing
or optionally cancel the validation operation.
(Inherited from Entity.) |
![]() | Set | Overloaded. |
![]() | ToString | (Inherited from Entity.) |
![]() | Validate |
Validates this instance.
(Inherited from Entity.) |
Properties
Name | Description | |
---|---|---|
![]() | ChangeTracker |
Gets the ChangeTracker associated with this entity.
(Inherited from Entity.) |
![]() | EntityState |
The current dirty state of the entity.
(Inherited from Entity.) |
![]() | Error |
Gets an error message indicating what is wrong with this object.
(Inherited from Entity.) |
![]() | Errors |
The current collection of ValidationErrors for this object.
(Inherited from Entity.) |
![]() | Id |
Gets the unique id of this entity.
|
![]() | IsDeserializing |
Indicates if the entity is currently being deserialized
(Inherited from Entity.) |
![]() | IsValid |
Returns trueTruetruetrue (True in Visual Basic) if this object is valid.
(Inherited from Entity.) |
![]() | Item |
Gets the error message for the property with the given name.
(Inherited from Entity.) |
![]() | UnitOfWork |
Gets the IUnitOfWork with which the entity is associated,
if any.
(Inherited from Entity.) |
Events
Name | Description | |
---|---|---|
![]() | EntityStateChanged |
Occurs when the EntityState of the Entity changes.
(Inherited from Entity.) |
![]() | PropertyChanged |
Occurs when a property value changes.
(Inherited from Entity.) |
![]() | Saving |
Occurs before this entity is saved to the database (create or update).
Hook to perform custom save processing or optionally cancel the save operation.
(Inherited from Entity.) |
![]() | Validating |
Occurs before this entity is validated. Hook to perform custom
pre-validation processing or optionally cancel the validation operation.
(Inherited from Entity.) |