C# Класс Two10.AzureSugar.DynamicTableContext

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DynamicTableContext ( string tableName, Microsoft.WindowsAzure.StorageClient.Protocol.Credentials credentials ) : System
Get ( string partitionKey, string rowKey ) : dynamic
Insert ( dynamic entity ) : void
InsertOrMerge ( dynamic entity ) : void
InsertOrReplace ( dynamic entity ) : void
Query ( string queryString ) : IEnumerable

Приватные методы

Метод Описание
BuildRequest ( string uri, string method = "GET" ) : HttpWebRequest
ParseObject ( dynamic value ) : object>.IDictionary
ParseResponse ( WebResponse response ) : IEnumerable
Write ( object>.IDictionary entity, string uri, string method ) : void
WriteToRequestStream ( object>.IDictionary dictionary, string uri, HttpWebRequest webRequest ) : void

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

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

public DynamicTableContext ( string tableName, Microsoft.WindowsAzure.StorageClient.Protocol.Credentials credentials ) : System
tableName string
credentials Microsoft.WindowsAzure.StorageClient.Protocol.Credentials
Результат System

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

public Get ( string partitionKey, string rowKey ) : dynamic
partitionKey string
rowKey string
Результат dynamic

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

public Insert ( dynamic entity ) : void
entity dynamic
Результат void

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

public InsertOrMerge ( dynamic entity ) : void
entity dynamic
Результат void

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

public InsertOrReplace ( dynamic entity ) : void
entity dynamic
Результат void

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

public Query ( string queryString ) : IEnumerable
queryString string
Результат IEnumerable