C# Класс MonoSoftware.MonoX.DAL.FactoryClasses.EntityFieldFactory

Factory class for IEntityField2 instances, used in IEntityFields2 instances.
Показать файл Открыть проект

Открытые методы

Метод Описание
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