The IEntityManager type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AssociateInstance<(Of <<'(Relation>)>>)(IEntity, IEntity) |
Creates and returns a Relation instance between 2 loaded instances of Entity.
If the role played by the associated instances differs from Entity Type, Role must be specified.
| |
| AssociateInstance<(Of <<'(RoleA, RoleB, Relation>)>>)(IEntity, IEntity) |
Creates and returns Relation instance between 2 loaded instances of Entity.
Each Role is specified in the same order of Entity instances.
| |
| BuildDomainSchema(String) |
Build All DataTables related to a complete Domain Schema. All DataTables related to Entities and Relations stored in the Domain Schema are built.
| |
| BuildDomainSchema<(Of <<'(Domain>)>>)()()()() |
Build All DataTables related to a complete Domain Schema. All DataTables related to Entities and Relations stored in the Domain Schema are built.
| |
| BuildSchema<(Of <<'(EntityType>)>>) |
Builds all tables needed to store data for the entity of type EntityType. That is the main table plus one table for each multi-value or temporal field.
| |
| CreateEnumInstance<(Of <<'(DatabaseEnum>)>>) |
Create a new Instance of a DataBaseEnum.
| |
| CreateInstance<(Of <<'(EntityType>)>>) |
Creates a new Instance of type EntityType.
The new instance is initialized with default values as specified in the entity schema.
| |
| DeleteAllEnumInstances<(Of <<'(DatabaseEnum>)>>) |
Delete All already loaded DatabaseEnum instances
Changes are not persisted in Database, until you call a Save method.
| |
| DeleteAllInstances<(Of <<'(EntityType>)>>) |
Delete All loaded instances of EntityType
Changes are not persisted in Database, until you call a Save method.
| |
| DeleteEnumInstance<(Of <<'(DatabaseEnum>)>>)(IDatabaseEnum) |
Delete an already loaded instance of DatabaseEnum
Changes are not persisted in Database, until you call a Save method.
| |
| DeleteEnumInstance<(Of <<'(DatabaseEnum>)>>)(Object, array<Object>[]()[][]) |
Delete an already loaded instance of DatabaseEnum, specified by its id (simple or multipart).
Changes are not persisted in Database, until you call a Save method.
| |
| DeleteInstance<(Of <<'(EntityType>)>>)(IEntity) |
Delete an already loaded instance of type EntityType.
Changes are not persisted in Database, until you call a Save method.
| |
| DeleteInstance<(Of <<'(EntityType>)>>)(Object, array<Object>[]()[][]) |
Delete an an already loaded instance of type EntityType, specified by its id (simple or multipart).
Changes are not persisted in Database, until you call a Save method.
| |
| DissociateAllInstances<(Of <<'(Relation>)>>)(IEntity) |
Delete all association of 1 loaded Entity instance
If the related entity types are the same, the role Role played by the associated type Entity Type must be specified.
| |
| DissociateAllInstances<(Of <<'(RoleB, Relation>)>>)(IEntity) |
Delete all association of 1 loaded Entity instance, playing specific Role
Role is Role played by EntityB in the Relation.
| |
| DissociateInstance<(Of <<'(Relation>)>>)(IEntity, IEntity) |
Delete a Relation instance between 2 loaded instances of Entity.
If the role played by the associated instances differs from Entity Type, Role must be specified.
| |
| DissociateInstance<(Of <<'(RoleA, RoleB, Relation>)>>)(IEntity, IEntity) |
Delete a Relation instance between 2 loaded instances of Entity.
Each Role is specified in the same order of Entity instances.
| |
| ExtractGraph<(Of <<'(EntityType>)>>)(String, IEntity) |
Extract a Graph of Entities into a new DataSet, following the logical graph of Container Relation
| |
| ExtractGraph<(Of <<'(EntityType>)>>)(List<(Of <<'(IRoleRelation>)>>), IEntity) |
Extract a Graph of Entities into a new DataSet, following an explicit list of RoleRelation
| |
| ExtractGraph<(Of <<'(EntityType>)>>)(String, Object, array<Object>[]()[][]) |
Extract a Graph of Entities into a new DataSet, following the logical graph of Container Relation
| |
| ExtractGraph<(Of <<'(EntityType>)>>)(List<(Of <<'(IRoleRelation>)>>), Object, array<Object>[]()[][]) |
Extract a Graph of Entities into a new DataSet, following an explicit list of RoleRelation
| |
| GetAllInstances<(Of <<'(EntityType>)>>) |
Gets all already loaded instance of type EntityType.
| |
| GetAssociatedInstance<(Of <<'(EntityType, Relation>)>>)(IEntity) |
Gets the already loaded instances of type EntityType, associated to a given entity by the given relation Relation.
If the role played by the not associated type differs from EntityType, Role must be specified.
Role cardinality should be 0-1 or 1-1
| |
| GetAssociatedInstance<(Of <<'(EntityType, Relation>)>>)(Object, array<Object>[]()[][]) |
Gets the already loaded instances of type EntityType, associated to one or any already loaded entity by the given relation Relation.
If the role played by the not associated type differs from EntityType, Role must be specified.
Role cardinality should be 0-1 or 1-1.
| |
| GetAssociatedInstance<(Of <<'(Role, EntityType, Relation>)>>)(IEntity) |
Gets the already loaded instance of type EntityType and role Role, associated to a given entity by the given relation Relation.
Cardinality of Role should be 0-1 or 1-1.
| |
| GetAssociatedInstance<(Of <<'(Role, EntityType, Relation>)>>)(Object, array<Object>[]()[][]) |
Gets the already loaded instance of type EntityType and role Role, associated to one or any already loaded entity by the given relation Relation.
Entity instance is specified by its id (simple or multipart).
Role Cardinality shoule be 0-1 or 1-1.
| |
| GetAssociatedInstances<(Of <<'(EntityType, Relation>)>>)(IEntity) |
Gets a list of already loaded instances of type EntityType, associated to a given entity by the given relation Relation.
If the role played by the not associated type differs from EntityType, Role must be specified.
| |
| GetAssociatedInstances<(Of <<'(EntityType, Relation>)>>)(Object, array<Object>[]()[][]) |
Gets a list of already loaded instances of type EntityType, associated to one or any already loaded entity by the given relation Relation.
If the role played by the not associated type differs from EntityType, Role must be specified.
| |
| GetAssociatedInstances<(Of <<'(Role, EntityType, Relation>)>>)(IEntity) |
Gets a list of already loaded instances of type EntityType and role Role, associated to a given entity by the given relation Relation.
| |
| GetAssociatedInstances<(Of <<'(Role, EntityType, Relation>)>>)(Object, array<Object>[]()[][]) |
Gets a list of already loaded instances of type EntityType and role Role, associated to one or any already loaded entity by the given relation Relation.
Entity instance is specified by its id (simple or multipart).
| |
| GetEnumInstance<(Of <<'(DatabaseEnum>)>>) |
Gets an already loaded instance of type DatabaseEnum, specified by its id (simple or multipart).
| |
| GetInstance<(Of <<'(EntityType>)>>)(DataRow) |
Gets an already loaded instance of type EntityType, from an existing dataRow.
| |
| GetInstance<(Of <<'(EntityType>)>>)(Object, array<Object>[]()[][]) |
Gets an already loaded instance of type EntityType, specified by its id (simple or multipart).
| |
| GetRelationsInstances<(Of <<'(Role, Relation>)>>)(IEntity) |
Get a list of already loaded Relation Instances of an already loaded entity.
Role is role played by related instances in the Relation (other Role of parent entity).
| |
| GetRelationsInstances<(Of <<'(Role, Relation>)>>)(Object, array<Object>[]()[][]) |
Get a list of already loaded Relation Instances of an already loaded entity given by its id.
Role is role played by related instances in the Relation (other Role of parent entity).
| |
| ReAssociateInstance<(Of <<'(Relation>)>>)(IEntity, IEntity) |
Creates and returns a Relation instance between 2 loaded instances of Entity.
Previous Association is deleted if existed.
If the role played by the associated instances differs from Entity Type, Role must be specified.
| |
| ReAssociateInstance<(Of <<'(RoleA, RoleB, Relation>)>>)(IEntity, IEntity) |
Creates and returns Relation instance between 2 loaded instances of Entity.
Previous Association is deleted if existed.
Each Role is specified in the same order of Entity instances.
|
Properties
| Name | Description | |
|---|---|---|
| Data |
Get the underlying DataSet
|