Свойство | Type | Description | |
---|---|---|---|
tableRequestOptions | Microsoft.WindowsAzure.Storage.Table.TableRequestOptions |
Свойство | Type | Description | |
---|---|---|---|
AddReIndexRequestIfNeeded | void | ||
EnsureTransactionHasCustomerInternalID | void | ||
SerializeTransactionAndAddToQueue | void |
Méthode | Description | |
---|---|---|
AddOrUpdateTransaction ( Transaction t ) : void |
Adds new transaction to table storage or updates an existing item. Throws exception when item is not valid, resolving customer external ID failed or if table storage operation fails.
|
|
AddOrUpdateTransaction ( |
Inserts or updates (using merge operation) the transaction table entity.
|
|
AddOrUpdateTransactionBatch ( IEnumerable |
Inserts or updates (using merge operation) a batch of transaction table entities. Also generates IDs for items that do not have them and sets Date to DateTime.Now if it is null.
|
|
AddOrUpdateTransactionTotalsItem ( ) : void | ||
AddReIndexableItemBatch ( ) : void | ||
AddTransactionBatchToUpdateQueue ( IEnumerable |
Adds a batch of transaction items to WebJob queues. Workers process each queue item and add them to transaction table and search index. Can also be used for updating existing items if Transaction.ID is specified. Also generates IDs for items that do not have them and sets Date to DateTime.Now if it is null.
|
|
AddTransactionToUpdateQueue ( Transaction t ) : Transaction |
Adds the transaction item to WebJob queues. Workers process each queue item and add them to transaction table and search index. Can also be used for updating existing items if Transaction.ID is specified. Also generates ID if it's null and sets Date to DateTime.Now if it isn't set.
|
|
DeleteReIndexItemBatch ( ) : void | ||
DeleteTransaction ( int mvanumber, System.Guid id ) : void |
Deletes transaction table storage entity that matches the mva number and ID. Throws exception when a entity is found with given ID but entity's mva number does not match with the one given as input.
|
|
DeleteTransactionTotalsItemWithID ( ) : void | ||
EnsureStorageCreated ( ) : System.Threading.Tasks.Task | ||
GetReIndexableItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
||
GetTransactionItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
For batch-processing all entities inside the transactions table.
|
|
GetTransactionTotalsItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
||
GetTransactionsForCustomer ( System.Guid customerInternalId, int dateVal, bool onlyInvoiceable = false ) : Task |
||
GetTransactionsForInvoicing ( int mvanumber, int dateVal, bool includeId = true ) : Task
|
||
SetTransactionAsBilled ( int mvanumber, System.Guid transactionID, int orderItemID ) : void |
Méthode | Description | |
---|---|---|
AddReIndexRequestIfNeeded ( ) : void | ||
EnsureTransactionHasCustomerInternalID ( ) : void | ||
SerializeTransactionAndAddToQueue ( Transaction t ) : void |
For internal use, skips Transaction validation.
|
public AddOrUpdateTransaction ( Transaction t ) : void | ||
t | Transaction | Transaction item to add/update |
Résultat | void |
public AddOrUpdateTransaction ( |
||
ent | ||
Résultat | void |
public AddOrUpdateTransactionBatch ( IEnumerable |
||
batch | IEnumerable |
Batch of Transaction items to add/update |
Résultat | void |
public AddOrUpdateTransactionTotalsItem ( ) : void | ||
Résultat | void |
public AddTransactionBatchToUpdateQueue ( IEnumerable |
||
batch | IEnumerable |
Batch of Transaction items to add/update |
Résultat | IEnumerable |
public AddTransactionToUpdateQueue ( Transaction t ) : Transaction | ||
t | Transaction | Transaction item to add/update |
Résultat | Transaction |
public DeleteTransaction ( int mvanumber, System.Guid id ) : void | ||
mvanumber | int | |
id | System.Guid | |
Résultat | void |
public DeleteTransactionTotalsItemWithID ( ) : void | ||
Résultat | void |
public EnsureStorageCreated ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public GetReIndexableItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
||
token | Microsoft.WindowsAzure.Storage.Table.TableContinuationToken | |
Résultat | IEnumerable |
public GetTransactionItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
||
token | Microsoft.WindowsAzure.Storage.Table.TableContinuationToken | For continuing a batch query or null to start from the beginning |
Résultat | IEnumerable |
public GetTransactionTotalsItemBatch ( Microsoft.WindowsAzure.Storage.Table.TableContinuationToken &token ) : IEnumerable |
||
token | Microsoft.WindowsAzure.Storage.Table.TableContinuationToken | |
Résultat | IEnumerable |
public GetTransactionsForCustomer ( System.Guid customerInternalId, int dateVal, bool onlyInvoiceable = false ) : Task |
||
customerInternalId | System.Guid | |
dateVal | int | |
onlyInvoiceable | bool | |
Résultat | Task |
public GetTransactionsForInvoicing ( int mvanumber, int dateVal, bool includeId = true ) : Task
|
||
mvanumber | int | |
dateVal | int | |
includeId | bool | |
Résultat | Task
|
public SetTransactionAsBilled ( int mvanumber, System.Guid transactionID, int orderItemID ) : void | ||
mvanumber | int | |
transactionID | System.Guid | |
orderItemID | int | |
Résultat | void |