C# Class Two10.AzureSugar.DynamicTableContext

Afficher le fichier Open project: richorama/AzureSugar Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

Get() public méthode

public Get ( string partitionKey, string rowKey ) : dynamic
partitionKey string
rowKey string
Résultat dynamic

Insert() public méthode

public Insert ( dynamic entity ) : void
entity dynamic
Résultat void

InsertOrMerge() public méthode

public InsertOrMerge ( dynamic entity ) : void
entity dynamic
Résultat void

InsertOrReplace() public méthode

public InsertOrReplace ( dynamic entity ) : void
entity dynamic
Résultat void

Query() public méthode

public Query ( string queryString ) : IEnumerable
queryString string
Résultat IEnumerable