C# Class Spring.Data.SimpleAccountDebitDao

Inheritance: Spring.Data.Core.AdoDaoSupport
Mostrar archivo Open project: spring-projects/spring-net

Public Methods

Method Description
DebitAccount ( float debitAmount ) : void

Insert into the debits table a debit 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.

SimpleAccountDebitDao ( ) : System

Method Details

DebitAccount() public method

Insert into the debits table a debit 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 DebitAccount ( float debitAmount ) : void
debitAmount float the debit amount
return void

SimpleAccountDebitDao() public method

public SimpleAccountDebitDao ( ) : System
return System