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
keysIPrimaryKeyThe IPrimaryKey object.
Returns
- T
An instance of the specified entity type.
Type Parameters
TThe type of the entity.