Table of Contents

Class EntityFactory<T>

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

Represents an abstract base class for entity factories.

public abstract class EntityFactory<T> : IEntityFactory<T> where T : class, new()

Type Parameters

T

The type of entity.

Inheritance
EntityFactory<T>
Implements

Methods

Create()

Creates a new instance of the entity.

Create(IPrimaryKey)

Creates a new instance of the entity with the specified primary key values.

Create(IPropertyValues)

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

SetValues<TOther>(TOther, IPropertyValues)

Sets the property values on the specified entity.