C# Class MassiveRecord.MassiveContextBase

Inheritance: Massive.DynamicModel
Show file Open project: codeimpossible/MassiveRecord Class Usage Examples

Public Methods

Method Description
BeforeDelete ( dynamic item ) : bool
BeforeSave ( dynamic item ) : bool
MassiveContextBase ( MassiveRecord config ) : System
MassiveContextBase ( string connectionStringName, IDictionary filters = null, bool>.IDictionary validators = null ) : System
RegisterFilter ( FilterType type, Action filter ) : void
TryInvokeMember ( System binder, object args, object &result ) : bool
Validate ( dynamic item ) : void

Private Methods

Method Description
SteveAustin ( string props, object args, object thing ) : dynamic
ToColumns ( string methodName ) : string[]
ToSql ( object p ) : string
ToWhere ( string cols, object args ) : string
TryDispatchToMassive ( string methodName, object args ) : object

Method Details

BeforeDelete() public method

public BeforeDelete ( dynamic item ) : bool
item dynamic
return bool

BeforeSave() public method

public BeforeSave ( dynamic item ) : bool
item dynamic
return bool

MassiveContextBase() public method

public MassiveContextBase ( MassiveRecord config ) : System
config MassiveRecord
return System

MassiveContextBase() public method

public MassiveContextBase ( string connectionStringName, IDictionary filters = null, bool>.IDictionary validators = null ) : System
connectionStringName string
filters IDictionary
validators bool>.IDictionary
return System

RegisterFilter() public method

public RegisterFilter ( FilterType type, Action filter ) : void
type FilterType
filter Action
return void

TryInvokeMember() public method

public TryInvokeMember ( System binder, object args, object &result ) : bool
binder System
args object
result object
return bool

Validate() public method

public Validate ( dynamic item ) : void
item dynamic
return void