ContextGet Method |
Name | Description | |
---|---|---|
Get(IEntity) |
The passed in entity is checked if the contained data is already in this / a context in another entity object.
If that's the case, that entity object is returned. If the data is not in this context in another entity object,
the passed in entity is returned and added to this context.
| |
Get(IEntity2) |
The passed in entity is checked if the contained data is already in this / a context in another entity object.
| |
Get(IEntityFactory, Object) |
Tries to find an entity with the same PK values as passed in. The PK values have to be in the same order as they appear in the constructor of the
entity. If an entity in the context has the same PK values, that entity is returned, otherwise a new entity is returned, created with the
factory passed in, with its PK values initialized, though not fetched.
| |
Get(IEntityFactory2, Object) |
Tries to find an entity with the same PK values as passed in. The PK values have to be in the same order as they appear in the constructor of the
entity. If an entity in the context has the same PK values, that entity is returned, otherwise a new entity is returned, created with the
factory passed in, with its PK values initialized, though not fetched.
|