Method CreateEntity
CreateEntity<T>(IPrimaryKey)
Creates an instance of the specified entity type using the primary keys.
public static T CreateEntity<T>(this IPrimaryKey keys) where T : class
Parameters
keys
IPrimaryKeyThe IPrimaryKey object.
Returns
- T
An instance of the specified entity type.
Type Parameters
T
The type of the entity.