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

Inheritance: ActiveRecordBase
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DeleteAll ( ) : void
FetchCount ( ) : int
FetchCount ( string filter ) : int
Find ( int id ) : Post
FindAll ( ) : Castle.ActiveRecord.Tests.Model.Post[]
Post ( ) : System
Post ( Blog blog, String title, String contents, String category ) : System
SaveWithException ( ) : void

Protected Methods

Method Description
BeforeSave ( IDictionary state ) : bool

Method Details

BeforeSave() protected method

protected BeforeSave ( IDictionary state ) : bool
state IDictionary
return bool

DeleteAll() public static method

public static DeleteAll ( ) : void
return void

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 ) : Post
id int
return Post

FindAll() public static method

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

Post() public method

public Post ( ) : System
return System

Post() public method

public Post ( Blog blog, String title, String contents, String category ) : System
blog Blog
title String
contents String
category String
return System

SaveWithException() public method

public SaveWithException ( ) : void
return void