Table of Contents

Method CreateEntity

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

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

keys IPrimaryKey

The IPrimaryKey object.

Returns

T

An instance of the specified entity type.

Type Parameters

T

The type of the entity.