C# Class Castle.ActiveRecord.Tests.Model.Blog

Inheritance: ActiveRecordBase
Mostrar archivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Private Properties

Property Type Description
GrabSession object
MyCustomMethod object

Public Methods

Method Description
Blog ( ) : System
Blog ( int _id ) : System
CustomAction ( ) : void
DeleteAll ( ) : void
DeleteAll ( string where ) : void
Exists ( ) : bool
Exists ( int id ) : bool
Exists ( string filter ) : bool
FetchCount ( ) : int
FetchCount ( string filter ) : int
Find ( int id ) : Blog
FindAll ( ) : Castle.ActiveRecord.Tests.Model.Blog[]
FindByProperty ( String property, String orderByColumn, object value ) : Castle.ActiveRecord.Tests.Model.Blog[]
FindByProperty ( String property, object value ) : Castle.ActiveRecord.Tests.Model.Blog[]

Protected Methods

Method Description
OnDelete ( ) : void

Lifecycle method invoked during Delete of the entity

OnLoad ( object id ) : void

Lifecycle method invoked during Load of the entity

OnSave ( ) : void

Lifecycle method invoked during Save of the entity

OnUpdate ( ) : void

Lifecycle method invoked during Update of the entity

Private Methods

Method Description
GrabSession ( ISession session, object instance ) : object
MyCustomMethod ( ISession session, object blogInstance ) : object

Method Details

Blog() public method

public Blog ( ) : System
return System

Blog() public method

public Blog ( int _id ) : System
_id int
return System

CustomAction() public method

public CustomAction ( ) : void
return void

DeleteAll() public static method

public static DeleteAll ( ) : void
return void

DeleteAll() public static method

public static DeleteAll ( string where ) : void
where string
return void

Exists() public static method

public static Exists ( ) : bool
return bool

Exists() public static method

public static Exists ( int id ) : bool
id int
return bool

Exists() public static method

public static Exists ( string filter ) : bool
filter string
return bool

FetchCount() public static method

public static FetchCount ( ) : int
return int

FetchCount() public static method

public static FetchCount ( string filter ) : int
filter string
return int

Find() public static method

public static Find ( int id ) : Blog
id int
return Blog

FindAll() public static method

public static FindAll ( ) : Castle.ActiveRecord.Tests.Model.Blog[]
return Castle.ActiveRecord.Tests.Model.Blog[]

FindByProperty() public static method

public static FindByProperty ( String property, String orderByColumn, object value ) : Castle.ActiveRecord.Tests.Model.Blog[]
property String
orderByColumn String
value object
return Castle.ActiveRecord.Tests.Model.Blog[]

FindByProperty() public static method

public static FindByProperty ( String property, object value ) : Castle.ActiveRecord.Tests.Model.Blog[]
property String
value object
return Castle.ActiveRecord.Tests.Model.Blog[]

OnDelete() protected method

Lifecycle method invoked during Delete of the entity
protected OnDelete ( ) : void
return void

OnLoad() protected method

Lifecycle method invoked during Load of the entity
protected OnLoad ( object id ) : void
id object
return void

OnSave() protected method

Lifecycle method invoked during Save of the entity
protected OnSave ( ) : void
return void

OnUpdate() protected method

Lifecycle method invoked during Update of the entity
protected OnUpdate ( ) : void
return void