C# Class Spring.Data.TestObjectDao

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

Méthodes publiques

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

Méthode Description
MyDelegate ( IDbCommand command ) : Object

Method Details

Create() public méthode

public Create ( string name, int age ) : void
name string
age int
Résultat void

Delete() public méthode

public Delete ( string name ) : void
name string
Résultat void

FindAll() public méthode

public FindAll ( ) : IList
Résultat IList

FindByName() public méthode

public FindByName ( string name ) : Spring.Objects.TestObject
name string
Résultat Spring.Objects.TestObject

GetCount() public méthode

public GetCount ( ) : int
Résultat int

GetCount() public méthode

public GetCount ( int lowerAgeLimit ) : int
lowerAgeLimit int
Résultat int

GetCount() public méthode

public GetCount ( int lowerAgeLimit, string name ) : int
lowerAgeLimit int
name string
Résultat int

GetCountByAltMethod() public méthode

public GetCountByAltMethod ( int lowerAgeLimit ) : int
lowerAgeLimit int
Résultat int

GetCountByCommandSetter() public méthode

public GetCountByCommandSetter ( int lowerAgeLimit ) : int
lowerAgeLimit int
Résultat int

GetCountByDelegate() public méthode

public GetCountByDelegate ( ) : int
Résultat int

Update() public méthode

public Update ( Spring.Objects.TestObject to ) : void
to Spring.Objects.TestObject
Résultat void