C# Класс Microsoft.WindowsAzure.Commands.Storage.Test.Service.MockStorageTableManagement

Mocked table management
Наследование: IStorageTableManagement
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
tableList List

Открытые методы

Метод Описание
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

Описание методов

CreateTableIfNotExists() публичный Метод

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
Результат bool

Delete() публичный Метод

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
Результат void

DoesTableExist() публичный Метод

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
Результат bool

GetTablePermissions() публичный Метод

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
Результат Microsoft.WindowsAzure.Storage.Table.TablePermissions

GetTableReference() публичный Метод

Get a table reference
public GetTableReference ( string name ) : Microsoft.WindowsAzure.Storage.Table.CloudTable
name string Table name
Результат Microsoft.WindowsAzure.Storage.Table.CloudTable

GetTableReferenceFromServer() публичный Метод

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
Результат Microsoft.WindowsAzure.Storage.Table.CloudTable

ListTables() публичный Метод

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
Результат IEnumerable

Описание свойств

tableList публичное свойство

Exists table lists
public List tableList
Результат List