EntityRepositoryGetObjectsByPrimaryKeys Method |
Gets or loads the objects with the specified primary keys.
The objects are eagerly mass loaded.
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic IEnumerable<EntityObject> GetObjectsByPrimaryKeys(
ObjectTransaction transaction,
IEnumerable<Guid> primaryKeys
)
Public Function GetObjectsByPrimaryKeys (
transaction As ObjectTransaction,
primaryKeys As IEnumerable(Of Guid)
) As IEnumerable(Of EntityObject)
public:
IEnumerable<EntityObject^>^ GetObjectsByPrimaryKeys(
ObjectTransaction^ transaction,
IEnumerable<Guid^>^ primaryKeys
)
member GetObjectsByPrimaryKeys :
transaction : ObjectTransaction *
primaryKeys : IEnumerable<Guid> -> IEnumerable<EntityObject>
Parameters
- transaction
- Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction. - primaryKeys
- Type: System.Collections.GenericIEnumerableGuid
The primary keys.
Return Value
Type:
IEnumerableEntityObjectReturn Value
Type:
IEnumerableEntityObjectThe objects.
Exceptions
See Also