C# Class Castle.Applications.MindDump.Dao.BlogDao

Exibir arquivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
BlogDao ( ISessionManager sessionManager ) : System
Create ( Blog blog ) : Blog
DeleteAll ( ) : void

Usually will be invoked only by the test cases

Find ( String blogName ) : Blog
Find ( ) : IList
FindLatest ( int howMany ) : IList
Update ( Blog blog ) : void

Method Details

BlogDao() public method

public BlogDao ( ISessionManager sessionManager ) : System
sessionManager ISessionManager
return System

Create() public method

public Create ( Blog blog ) : Blog
blog Castle.Applications.MindDump.Model.Blog
return Castle.Applications.MindDump.Model.Blog

DeleteAll() public method

Usually will be invoked only by the test cases
public DeleteAll ( ) : void
return void

Find() public method

public Find ( String blogName ) : Blog
blogName String
return Castle.Applications.MindDump.Model.Blog

Find() public method

public Find ( ) : IList
return IList

FindLatest() public method

public FindLatest ( int howMany ) : IList
howMany int
return IList

Update() public method

public Update ( Blog blog ) : void
blog Castle.Applications.MindDump.Model.Blog
return void