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

Factory class for IEntityField2 instances, used in IEntityFields2 instances.
Exibir arquivo Open project: MonoSoftware/MonoX-Data-Access-Layer

Public Methods

Method Description
Create ( Enum fieldIndex ) : IEntityField2

Creates a new IEntityField2 instance for usage in the EntityFields object for the entity related to the field index specified.

Create ( string objectName, string fieldName ) : IEntityField2

Creates a new IEntityField2 instance, which represents the field objectName.fieldName

Method Details

Create() public static method

Creates a new IEntityField2 instance for usage in the EntityFields object for the entity related to the field index specified.
public static Create ( Enum fieldIndex ) : IEntityField2
fieldIndex System.Enum The field which IEntityField2 instance should be created
return IEntityField2

Create() public static method

Creates a new IEntityField2 instance, which represents the field objectName.fieldName
public static Create ( string objectName, string fieldName ) : IEntityField2
objectName string the name of the object the field belongs to, like CustomerEntity or OrdersTypedView
fieldName string the name of the field to create
return IEntityField2