C# Class Microsoft.WindowsAzure.Commands.Storage.Test.Service.MockStorageTableManagement

Mocked table management
Inheritance: IStorageTableManagement
Afficher le fichier Open project: AzureRT/azure-sdk-tools Class Usage Examples

Méthodes publiques

Свойство Type Description
tableList List

Méthodes publiques

Méthode Description
CreateTableIfNotExists ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool

Cloud a azure storage table if not exists.

Delete ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null ) : void

Delete the specified azure storage table

DoesTableExist ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool

Checks whether the table exists.

GetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.TablePermissions

Get table permission

GetTableReference ( string name ) : Microsoft.WindowsAzure.Storage.Table.CloudTable

Get a table reference

GetTableReferenceFromServer ( string name, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.CloudTable

Get table reference from azure server

ListTables ( string prefix, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : IEnumerable

List azure storage tables

Method Details

CreateTableIfNotExists() public méthode

Cloud a azure storage table if not exists.
public CreateTableIfNotExists ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat bool

Delete() public méthode

Delete the specified azure storage table
public Delete ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions = null, Microsoft.WindowsAzure.Storage.OperationContext operationContext = null ) : void
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat void

DoesTableExist() public méthode

Checks whether the table exists.
public DoesTableExist ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat bool

GetTablePermissions() public méthode

Get table permission
public GetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.TablePermissions
table Microsoft.WindowsAzure.Storage.Table.CloudTable CloudTable object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat Microsoft.WindowsAzure.Storage.Table.TablePermissions

GetTableReference() public méthode

Get a table reference
public GetTableReference ( string name ) : Microsoft.WindowsAzure.Storage.Table.CloudTable
name string Table name
Résultat Microsoft.WindowsAzure.Storage.Table.CloudTable

GetTableReferenceFromServer() public méthode

Get table reference from azure server
public GetTableReferenceFromServer ( string name, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.CloudTable
name string Table name
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat Microsoft.WindowsAzure.Storage.Table.CloudTable

ListTables() public méthode

List azure storage tables
public ListTables ( string prefix, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : IEnumerable
prefix string Table name prefix
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
Résultat IEnumerable

Property Details

tableList public_oe property

Exists table lists
public List tableList
Résultat List