Method ConvertToSqlKeys
ConvertToSqlKeys<T>(DbContext, IPrimaryKey)
Converts the primary keys to SQL primary keys.
public static PrimaryKeys<T> ConvertToSqlKeys<T>(this DbContext ctx, IPrimaryKey primaryKeys) where T : class
Parameters
ctx
DbContextThe DbContext instance.
primaryKeys
IPrimaryKeyThe primary keys.
Returns
- PrimaryKeys<T>
The SQL primary keys as a PrimaryKeys instance.
Type Parameters
T
The type of the entity.