C# Class Spring.Data.SimpleAccountCreditDao

Inheritance: Spring.Data.Core.AdoDaoSupport
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
CreateCredit ( float creditAmount ) : void

Insert into the credits table a credit amount

Note that this method is not declared as virtual since the transaction demarcation is done in the SimpleAccountManager class and does not need to have a transactional proxy created for it. If one was not using a higher level class to demarcate transactions and instead wanted to demarcate at the DAO directly, the method would be declared as virtual and the transaction attributes (or corresponding XML declarations) would be applied to this method.

SimpleAccountCreditDao ( ) : System

Method Details

CreateCredit() public méthode

Insert into the credits table a credit amount
Note that this method is not declared as virtual since the transaction demarcation is done in the SimpleAccountManager class and does not need to have a transactional proxy created for it. If one was not using a higher level class to demarcate transactions and instead wanted to demarcate at the DAO directly, the method would be declared as virtual and the transaction attributes (or corresponding XML declarations) would be applied to this method.
public CreateCredit ( float creditAmount ) : void
creditAmount float the credit amount
Résultat void

SimpleAccountCreditDao() public méthode

public SimpleAccountCreditDao ( ) : System
Résultat System