C# Class IQMap.Implementation.DBObjectData

An object defining the binding between an ORM object and the database.
Inheritance: IDBObjectData
ファイルを表示 Open project: jamietre/IQMap

Public Methods

Method Description
Clean ( ) : void
ClearCache ( ) : void
Clone ( ) : object
CopyTo ( object destination ) : void
DBObjectData ( object owner, IQClassData data = null ) : System

fieldList should be a CSV of the properties to include. (PK) after a field name identifies it as the primary key.

GetClassInfo ( Type type, IQClassData data = null ) : DBClassInfo
IsDirty ( ) : bool
IsDirty ( string fieldName ) : bool
IsNew ( ) : bool
Reset ( ) : void
SetPrimaryKey ( IConvertible value ) : void

Protected Methods

Method Description
AreEqual ( object obj1, object obj2 ) : bool
IsDirty ( int index ) : bool

Method Details

AreEqual() protected method

protected AreEqual ( object obj1, object obj2 ) : bool
obj1 object
obj2 object
return bool

Clean() public method

public Clean ( ) : void
return void

ClearCache() public static method

public static ClearCache ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

CopyTo() public method

public CopyTo ( object destination ) : void
destination object
return void

DBObjectData() public method

fieldList should be a CSV of the properties to include. (PK) after a field name identifies it as the primary key.
public DBObjectData ( object owner, IQClassData data = null ) : System
owner object
data IQClassData
return System

GetClassInfo() public static method

public static GetClassInfo ( Type type, IQClassData data = null ) : DBClassInfo
type System.Type
data IQClassData
return DBClassInfo

IsDirty() public method

public IsDirty ( ) : bool
return bool

IsDirty() protected method

protected IsDirty ( int index ) : bool
index int
return bool

IsDirty() public method

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

IsNew() public method

public IsNew ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

SetPrimaryKey() public method

public SetPrimaryKey ( IConvertible value ) : void
value IConvertible
return void