Table of Contents

Interface IEntityFactory<T>

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

Represents a factory for creating entities of type T.

public interface IEntityFactory<T> where T : class

Type Parameters

T

The type of entity.

Methods

Create()

Creates a new instance of the entity.

Create(IPrimaryKey)

Creates a new instance of the entity with the specified primary keys.

Create(IPropertyValues)

Creates a new instance of the entity with the specified property values.

SetValues<TOther>(TOther, IPropertyValues)

Sets the property values of the specified entity.