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
ctxDbContextThe DbContext instance.
primaryKeysIPrimaryKeyThe primary keys.
Returns
- PrimaryKeys<T>
The SQL primary keys as a PrimaryKeys instance.
Type Parameters
TThe type of the entity.