C# Class Volante.PersistentContext

Base class for context bound object with provided transparent persistence. Objects derived from this class and marked with TransparentPresistence attribute automatically on demand load their content from the database and also automatically detect object modification.
Inheritance: System.ContextBoundObject, IPersistent
Mostra file Open project: kjk/volante

Private Properties

Property Type Description

Public Methods

Method Description
AssignOid ( IDatabase db, int oid, bool raw ) : void
Deallocate ( ) : void
Equals ( System o ) : bool
GetHashCode ( ) : int
Invalidate ( ) : void
IsDeleted ( ) : bool
IsModified ( ) : bool
IsPersistent ( ) : bool
IsRaw ( ) : bool
Load ( ) : void
MakePersistent ( IDatabase db ) : int
Modify ( ) : void
OnLoad ( ) : void
OnStore ( ) : void
RecursiveLoading ( ) : bool
Store ( ) : void

Protected Methods

Method Description
PersistentContext ( ) : System
PersistentContext ( IDatabase db ) : System

Method Details

AssignOid() public method

public AssignOid ( IDatabase db, int oid, bool raw ) : void
db IDatabase
oid int
raw bool
return void

Deallocate() public method

public Deallocate ( ) : void
return void

Equals() public method

public Equals ( System o ) : bool
o System
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Invalidate() public method

public Invalidate ( ) : void
return void

IsDeleted() public method

public IsDeleted ( ) : bool
return bool

IsModified() public method

public IsModified ( ) : bool
return bool

IsPersistent() public method

public IsPersistent ( ) : bool
return bool

IsRaw() public method

public IsRaw ( ) : bool
return bool

Load() public method

public Load ( ) : void
return void

MakePersistent() public method

public MakePersistent ( IDatabase db ) : int
db IDatabase
return int

Modify() public method

public Modify ( ) : void
return void

OnLoad() public method

public OnLoad ( ) : void
return void

OnStore() public method

public OnStore ( ) : void
return void

PersistentContext() protected method

protected PersistentContext ( ) : System
return System

PersistentContext() protected method

protected PersistentContext ( IDatabase db ) : System
db IDatabase
return System

RecursiveLoading() public method

public RecursiveLoading ( ) : bool
return bool

Store() public method

public Store ( ) : void
return void