C# Класс Earthworm.MappedField

Provides a custom attribute for specifying the source field name. This is used to map a database field to a property.
Наследование: System.Attribute
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
MappedField ( string fieldName ) : System

Initializes a new instance of the MappedField class.

MappedField ( string fieldName, bool includeInJson ) : System

Initializes a new instance of the MappedField class.

MappedField ( string fieldName, int textLength ) : System

Initializes a new instance of the MappedField class.

MappedField ( string fieldName, int textLength, bool includeInJson ) : System

Initializes a new instance of the MappedField class.

Описание методов

MappedField() публичный Метод

Initializes a new instance of the MappedField class.
public MappedField ( string fieldName ) : System
fieldName string The name of the table field.
Результат System

MappedField() публичный Метод

Initializes a new instance of the MappedField class.
public MappedField ( string fieldName, bool includeInJson ) : System
fieldName string The name of the table field.
includeInJson bool Indicates whether this field should be included in the JSON serialization.
Результат System

MappedField() публичный Метод

Initializes a new instance of the MappedField class.
public MappedField ( string fieldName, int textLength ) : System
fieldName string The name of the table field.
textLength int The length of the field (for text fields only).
Результат System

MappedField() публичный Метод

Initializes a new instance of the MappedField class.
public MappedField ( string fieldName, int textLength, bool includeInJson ) : System
fieldName string The name of the table field.
textLength int The length of the field (for text fields only).
includeInJson bool Indicates whether this field should be included in the JSON serialization.
Результат System