C# Class ET.Obj2Schema.Field

Contains a field data.
ファイルを表示 Open project: etcoding/Obj2Schema

Public Methods

Method Description
Field ( PropertyInfo property, DbDataTypesMapBase typeMap ) : System

Initializes a new instance of the Field class.

GetSql ( ) : string

Gets the SQL, representing this field.

IsIgnored ( PropertyInfo property ) : bool

Determines whether the specified property is ignored via ignore attribute.

ToString ( ) : string

Returns a SQL string of this field.

Private Methods

Method Description
Field ( ) : System
PopulateInstance ( PropertyInfo property ) : void

Sets the values of this field, based on passed in property and type map.

Method Details

Field() public method

Initializes a new instance of the Field class.
public Field ( PropertyInfo property, DbDataTypesMapBase typeMap ) : System
property System.Reflection.PropertyInfo The property.
typeMap ET.Obj2Schema.Maps.DbDataTypesMapBase The type map.
return System

GetSql() public method

Gets the SQL, representing this field.
public GetSql ( ) : string
return string

IsIgnored() public static method

Determines whether the specified property is ignored via ignore attribute.
public static IsIgnored ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo The property.
return bool

ToString() public method

Returns a SQL string of this field.
public ToString ( ) : string
return string