C# Class Castle.Facilities.Db4oIntegration.Tests.Components.BeerDao

ファイルを表示 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
BeerDao ( IObjectContainer objContainer ) : Db4objects.Db4o
Create ( Beer beer ) : void
FindAll ( ) : IObjectSet
Load ( object id ) : Beer
Remove ( Beer beer ) : void

Method Details

BeerDao() public method

public BeerDao ( IObjectContainer objContainer ) : Db4objects.Db4o
objContainer IObjectContainer
return Db4objects.Db4o

Create() public method

public Create ( Beer beer ) : void
beer Beer
return void

FindAll() public method

public FindAll ( ) : IObjectSet
return IObjectSet

Load() public method

public Load ( object id ) : Beer
id object
return Beer

Remove() public method

public Remove ( Beer beer ) : void
beer Beer
return void