C# Class MonoSoftware.MonoX.DAL.FactoryClasses.EntityFieldsFactory

Generates IEntityFields2 instances for different kind of Entities.
Exibir arquivo Open project: MonoSoftware/MonoX-Data-Access-Layer

Public Methods

Method Description
CreateEntityFieldsObject ( MonoSoftware relatedEntityType ) : IEntityFields2

General factory entrance method which will return an EntityFields2 object with the format generated by the factory specified

Private Methods

Method Description
CreateFields ( string entityName ) : IEntityFieldCore[]

General method which will return an array of IEntityFieldCore objects, used by the InheritanceInfoProvider. Only the fields defined in the entity are returned, no inherited fields.

EntityFieldsFactory ( ) : System

static ctor which initializes the static entity type cache.

Method Details

CreateEntityFieldsObject() public static method

General factory entrance method which will return an EntityFields2 object with the format generated by the factory specified
public static CreateEntityFieldsObject ( MonoSoftware relatedEntityType ) : IEntityFields2
relatedEntityType MonoSoftware The type of entity the fields are for
return IEntityFields2