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
파일 보기 프로젝트 열기: jshirota/Earthworm 1 사용 예제들

공개 메소드들

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