C# Class Spring.Data.TestObjectDao

AdoTemplate based implementation of ITestObjectDao data access layer.
Inheritance: Spring.Data.Core.AdoDaoSupport, ITestObjectDao
Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
Create ( string name, int age ) : void
Delete ( string name ) : void
FindAll ( ) : IList
FindByName ( string name ) : Spring.Objects.TestObject
GetCount ( ) : int
GetCount ( int lowerAgeLimit ) : int
GetCount ( int lowerAgeLimit, string name ) : int
GetCountByAltMethod ( int lowerAgeLimit ) : int
GetCountByCommandSetter ( int lowerAgeLimit ) : int
GetCountByDelegate ( ) : int
Update ( Spring.Objects.TestObject to ) : void

Private Methods

Method Description
MyDelegate ( IDbCommand command ) : Object

Method Details

Create() public method

public Create ( string name, int age ) : void
name string
age int
return void

Delete() public method

public Delete ( string name ) : void
name string
return void

FindAll() public method

public FindAll ( ) : IList
return IList

FindByName() public method

public FindByName ( string name ) : Spring.Objects.TestObject
name string
return Spring.Objects.TestObject

GetCount() public method

public GetCount ( ) : int
return int

GetCount() public method

public GetCount ( int lowerAgeLimit ) : int
lowerAgeLimit int
return int

GetCount() public method

public GetCount ( int lowerAgeLimit, string name ) : int
lowerAgeLimit int
name string
return int

GetCountByAltMethod() public method

public GetCountByAltMethod ( int lowerAgeLimit ) : int
lowerAgeLimit int
return int

GetCountByCommandSetter() public method

public GetCountByCommandSetter ( int lowerAgeLimit ) : int
lowerAgeLimit int
return int

GetCountByDelegate() public method

public GetCountByDelegate ( ) : int
return int

Update() public method

public Update ( Spring.Objects.TestObject to ) : void
to Spring.Objects.TestObject
return void