Table of Contents

Method ConvertToSqlKeys

Namespace
Innova.Data
Assembly
Innova.Data.dll

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 DbContext

The DbContext instance.

primaryKeys IPrimaryKey

The primary keys.

Returns

PrimaryKeys<T>

The SQL primary keys as a PrimaryKeys instance.

Type Parameters

T

The type of the entity.