C# Class NHibernateCouchbaseCacheSample.Models.BeerRepository

Datei anzeigen Open project: couchbaselabs/nhibernate-caches-couchbase Class Usage Examples

Public Methods

Method Description
Create ( Beer beer ) : int
Delete ( int id ) : void
Find ( int id ) : Beer
FindAll ( ) : IList
Update ( Beer beer ) : int

Method Details

Create() public method

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

Delete() public method

public Delete ( int id ) : void
id int
return void

Find() public method

public Find ( int id ) : Beer
id int
return Beer

FindAll() public method

public FindAll ( ) : IList
return IList

Update() public method

public Update ( Beer beer ) : int
beer Beer
return int