C# Class IQMap.Implementation.DBClassInfo

Inheritance: IDBClassInfo
Datei anzeigen Open project: jamietre/IQMap Class Usage Examples

Public Methods

Method Description
DBClassInfo ( ) : System
FieldIndex ( string fieldName ) : int
GetFieldInfo ( string fieldName ) : IDBFieldInfo
HasField ( string fieldName ) : bool
MapClass ( Type type, IQClassData data = null ) : void

Main entry point

Query ( QueryType type ) : ISqlQuery

The base query object from which new queries using "where" criteria will be constructed.

SqlName ( string fieldName ) : string
TryGetFieldInfo ( string fieldName, IDBFieldInfo &info ) : bool
this ( int fieldIndex ) : IDBFieldInfo
this ( string fieldName ) : IDBFieldInfo

Protected Methods

Method Description
MapFromTemporaryFields ( ) : void

Take all the info we've gathered form constructors, parameters, attributes, etc. and build the map

ProcessConstructorData ( IQClassData data ) : void

Private Methods

Method Description
CallIQConstructor ( ) : void

Obtain and process data from a static IQ constructor

GetClassMetadata ( ) : void
GetClassPropertiesMethods ( ) : void
GetFieldInfoFromClassAttribute ( ) : void

Method Details

DBClassInfo() public method

public DBClassInfo ( ) : System
return System

FieldIndex() public method

public FieldIndex ( string fieldName ) : int
fieldName string
return int

GetFieldInfo() public method

public GetFieldInfo ( string fieldName ) : IDBFieldInfo
fieldName string
return IDBFieldInfo

HasField() public method

public HasField ( string fieldName ) : bool
fieldName string
return bool

MapClass() public method

Main entry point
public MapClass ( Type type, IQClassData data = null ) : void
type System.Type
data IQClassData
return void

MapFromTemporaryFields() protected method

Take all the info we've gathered form constructors, parameters, attributes, etc. and build the map
protected MapFromTemporaryFields ( ) : void
return void

ProcessConstructorData() protected method

protected ProcessConstructorData ( IQClassData data ) : void
data IQClassData
return void

Query() public method

The base query object from which new queries using "where" criteria will be constructed.
public Query ( QueryType type ) : ISqlQuery
type QueryType
return ISqlQuery

SqlName() public method

public SqlName ( string fieldName ) : string
fieldName string
return string

TryGetFieldInfo() public method

public TryGetFieldInfo ( string fieldName, IDBFieldInfo &info ) : bool
fieldName string
info IDBFieldInfo
return bool

this() public method

public this ( int fieldIndex ) : IDBFieldInfo
fieldIndex int
return IDBFieldInfo

this() public method

public this ( string fieldName ) : IDBFieldInfo
fieldName string
return IDBFieldInfo