C# Class Cornerstone.Database.Tables.DatabaseTable

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

Protected Properties

Property Type Description
_revertInProcess bool
changedFields HashSet
commitInProcess bool
commitNeeded bool

Public Methods

Method Description
AfterCommit ( ) : void
AfterDelete ( ) : void
BeforeCommit ( ) : void
BeforeDelete ( ) : void
Clear ( ) : void
Commit ( ) : void
CompareTo ( object obj ) : int
Copy ( DatabaseTable newData ) : void
CopyUpdatableValues ( DatabaseTable newData ) : void
DatabaseTable ( ) : System
Delete ( ) : void
GetHashCode ( ) : int
GetTableName ( ) : string
IsFullyPopulated ( ) : bool

Returns true if all auto-updatable fields for this object are populated.

LoadByRow ( SQLite.NET.SQLiteResultSet row ) : void
ProtectExistingValuesFromCopy ( bool protect ) : void
Revert ( ) : void
ToString ( ) : string

Protected Methods

Method Description
FieldChanged ( DBField field ) : void
FieldChanged ( string fieldName ) : void
commitNeededEventHandler ( object sender, EventArgs e ) : void

Method Details

AfterCommit() public method

public AfterCommit ( ) : void
return void

AfterDelete() public method

public AfterDelete ( ) : void
return void

BeforeCommit() public method

public BeforeCommit ( ) : void
return void

BeforeDelete() public method

public BeforeDelete ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Copy() public method

public Copy ( DatabaseTable newData ) : void
newData DatabaseTable
return void

CopyUpdatableValues() public method

public CopyUpdatableValues ( DatabaseTable newData ) : void
newData DatabaseTable
return void

DatabaseTable() public method

public DatabaseTable ( ) : System
return System

Delete() public method

public Delete ( ) : void
return void

FieldChanged() protected method

protected FieldChanged ( DBField field ) : void
field DBField
return void

FieldChanged() protected method

protected FieldChanged ( string fieldName ) : void
fieldName string
return void

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetTableName() public method

public GetTableName ( ) : string
return string

IsFullyPopulated() public method

Returns true if all auto-updatable fields for this object are populated.
public IsFullyPopulated ( ) : bool
return bool

LoadByRow() public method

public LoadByRow ( SQLite.NET.SQLiteResultSet row ) : void
row SQLite.NET.SQLiteResultSet
return void

ProtectExistingValuesFromCopy() public method

public ProtectExistingValuesFromCopy ( bool protect ) : void
protect bool
return void

Revert() public method

public Revert ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

commitNeededEventHandler() protected method

protected commitNeededEventHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

_revertInProcess protected property

protected bool _revertInProcess
return bool

changedFields protected property

protected HashSet changedFields
return HashSet

commitInProcess protected property

protected bool commitInProcess
return bool

commitNeeded protected property

protected bool commitNeeded
return bool