Method GetPrimaryKey
GetPrimaryKey(DbContext, Type, string)
Gets the primary key for the specified entity type and key string.
public static IPrimaryKey GetPrimaryKey(this DbContext ctx, Type entityType, string key)
Parameters
Returns
- IPrimaryKey
The primary key as an IPrimaryKey instance.