C# 클래스 MonoSoftware.MonoX.DAL.FactoryClasses.EntityFieldFactory

Factory class for IEntityField2 instances, used in IEntityFields2 instances.
파일 보기 프로젝트 열기: MonoSoftware/MonoX-Data-Access-Layer

공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 정적인 메소드

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
리턴 IEntityField2

Create() 공개 정적인 메소드

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
리턴 IEntityField2