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

Inheritance: ActiveRecordBase
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
BeforeSave ( IDictionary state ) : bool

Method Details

BeforeSave() protected méthode

protected BeforeSave ( IDictionary state ) : bool
state IDictionary
Résultat bool

DeleteAll() public static méthode

public static DeleteAll ( ) : void
Résultat void

FetchCount() public static méthode

public static FetchCount ( ) : int
Résultat int

FetchCount() public static méthode

public static FetchCount ( string filter ) : int
filter string
Résultat int

Find() public static méthode

public static Find ( int id ) : Post
id int
Résultat Post

FindAll() public static méthode

public static FindAll ( ) : Castle.ActiveRecord.Tests.Model.Post[]
Résultat Castle.ActiveRecord.Tests.Model.Post[]

Post() public méthode

public Post ( ) : System
Résultat System

Post() public méthode

public Post ( Blog blog, String title, String contents, String category ) : System
blog Blog
title String
contents String
category String
Résultat System

SaveWithException() public méthode

public SaveWithException ( ) : void
Résultat void