C# Class Spring.Data.SimpleAccountCreditDao

Inheritance: Spring.Data.Core.AdoDaoSupport
显示文件 Open project: spring-projects/spring-net

Public Methods

Method 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 method

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
return void

SimpleAccountCreditDao() public method

public SimpleAccountCreditDao ( ) : System
return System