C# Class PassFruit.Datastore.DatastoreBase

Inheritance: IDatastore
Show file Open project: bettiolo/PassFruit

Public Methods

Method Description
DeleteAccountDto ( System.Guid accountId ) : void
DeleteAllAccountDtos ( ) : void
GetAccountDto ( System.Guid accountId ) : AccountDto
GetAccountDtos ( AccountStatus accountStatus = AccountStatus.Active ) : PassFruit.Datastore.AccountDto[]
GetAllAccountIds ( ) : System.Guid[]
SaveAccountDto ( AccountDto accountDto ) : void

Protected Methods

Method Description
SaveSpecificAccountDto ( AccountDto accountDto ) : void

Private Methods

Method Description
IsAccountDtoMatchedByStatus ( AccountStatus accountStatus, bool isDeleted ) : bool

Method Details

DeleteAccountDto() public method

public DeleteAccountDto ( System.Guid accountId ) : void
accountId System.Guid
return void

DeleteAllAccountDtos() public method

public DeleteAllAccountDtos ( ) : void
return void

GetAccountDto() public abstract method

public abstract GetAccountDto ( System.Guid accountId ) : AccountDto
accountId System.Guid
return AccountDto

GetAccountDtos() public method

public GetAccountDtos ( AccountStatus accountStatus = AccountStatus.Active ) : PassFruit.Datastore.AccountDto[]
accountStatus AccountStatus
return PassFruit.Datastore.AccountDto[]

GetAllAccountIds() public abstract method

public abstract GetAllAccountIds ( ) : System.Guid[]
return System.Guid[]

SaveAccountDto() public method

public SaveAccountDto ( AccountDto accountDto ) : void
accountDto AccountDto
return void

SaveSpecificAccountDto() protected abstract method

protected abstract SaveSpecificAccountDto ( AccountDto accountDto ) : void
accountDto AccountDto
return void