C# Class Cornerstone.Database.DBField

Show file Open project: damienhaynes/moving-pictures Class Usage Examples

Public Methods

Method Description
ConvertString ( DatabaseManager dbManager, string strVal ) : object
GetField ( Type tableType, string fieldName ) : DBField
GetFieldByDBName ( Type tableType, string fieldName ) : DBField
GetFieldList ( Type tableType ) : ReadOnlyCollection
GetValue ( DatabaseTable owner ) : object
InitializeValue ( DatabaseTable owner ) : void
MakeFriendlyName ( string input ) : string
SetValue ( DatabaseTable owner, object value ) : void
ToString ( ) : string

Private Methods

Method Description
DBField ( ) : System
DBField ( PropertyInfo propertyInfo, DBFieldAttribute attribute ) : System

Method Details

ConvertString() public method

public ConvertString ( DatabaseManager dbManager, string strVal ) : object
dbManager DatabaseManager
strVal string
return object

GetField() public static method

public static GetField ( Type tableType, string fieldName ) : DBField
tableType System.Type
fieldName string
return DBField

GetFieldByDBName() public static method

public static GetFieldByDBName ( Type tableType, string fieldName ) : DBField
tableType System.Type
fieldName string
return DBField

GetFieldList() public static method

public static GetFieldList ( Type tableType ) : ReadOnlyCollection
tableType System.Type
return ReadOnlyCollection

GetValue() public method

public GetValue ( DatabaseTable owner ) : object
owner Cornerstone.Database.Tables.DatabaseTable
return object

InitializeValue() public method

public InitializeValue ( DatabaseTable owner ) : void
owner Cornerstone.Database.Tables.DatabaseTable
return void

MakeFriendlyName() public static method

public static MakeFriendlyName ( string input ) : string
input string
return string

SetValue() public method

public SetValue ( DatabaseTable owner, object value ) : void
owner DatabaseTable
value object
return void

ToString() public method

public ToString ( ) : string
return string