C# Class Two10.AzureSugar.DynamicTableContext

Mostrar archivo Open project: richorama/AzureSugar Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

DynamicTableContext() public method

public DynamicTableContext ( string tableName, Microsoft.WindowsAzure.StorageClient.Protocol.Credentials credentials ) : System
tableName string
credentials Microsoft.WindowsAzure.StorageClient.Protocol.Credentials
return System

Get() public method

public Get ( string partitionKey, string rowKey ) : dynamic
partitionKey string
rowKey string
return dynamic

Insert() public method

public Insert ( dynamic entity ) : void
entity dynamic
return void

InsertOrMerge() public method

public InsertOrMerge ( dynamic entity ) : void
entity dynamic
return void

InsertOrReplace() public method

public InsertOrReplace ( dynamic entity ) : void
entity dynamic
return void

Query() public method

public Query ( string queryString ) : IEnumerable
queryString string
return IEnumerable