C# Class Unipluss.TransactionService.DAL.CustomerRepository

Inheritance: ICustomerRepository
Datei anzeigen Open project: unipluss/invoicetransactions Class Usage Examples

Protected Properties

Property Type Description
tableRequestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions

Private Properties

Property Type Description
ClearCacheForMva void
CreateCacheKey string

Public Methods

Method Description
AddOrUpdateCustomer ( Customer c ) : Customer
DeleteCustomer ( Customer c ) : void
EnsureStorageCreated ( ) : System.Threading.Tasks.Task
GetAllCustomers ( ) : IEnumerable
GetCustomerByExternalID ( int mvanumber, string externalID ) : Customer
GetCustomerByInternalID ( System.Guid id ) : Customer
GetCustomersByMva ( int mvanumber ) : IEnumerable

Private Methods

Method Description
ClearCacheForMva ( int mvanumber ) : void
CreateCacheKey ( int mvanumber ) : string

Method Details

AddOrUpdateCustomer() public method

public AddOrUpdateCustomer ( Customer c ) : Customer
c Unipluss.TransactionService.Models.Customer
return Unipluss.TransactionService.Models.Customer

DeleteCustomer() public method

public DeleteCustomer ( Customer c ) : void
c Unipluss.TransactionService.Models.Customer
return void

EnsureStorageCreated() public method

public EnsureStorageCreated ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAllCustomers() public method

public GetAllCustomers ( ) : IEnumerable
return IEnumerable

GetCustomerByExternalID() public method

public GetCustomerByExternalID ( int mvanumber, string externalID ) : Customer
mvanumber int
externalID string
return Unipluss.TransactionService.Models.Customer

GetCustomerByInternalID() public method

public GetCustomerByInternalID ( System.Guid id ) : Customer
id System.Guid
return Unipluss.TransactionService.Models.Customer

GetCustomersByMva() public method

public GetCustomersByMva ( int mvanumber ) : IEnumerable
mvanumber int
return IEnumerable

Property Details

tableRequestOptions protected_oe property

protected TableRequestOptions,Microsoft.WindowsAzure.Storage.Table tableRequestOptions
return Microsoft.WindowsAzure.Storage.Table.TableRequestOptions