public Table CreateTable(
            string tableName,
            string xmsclientrequestId = null)
        {
            string strResult = Internal.InternalMethods.CreateTable(AccountName, SharedKey, UseHTTPS, tableName, xmsclientrequestId);
            Table t = new Table()
            {
                AzureTableService = this,
                Name = tableName
            };
            t.Url = Table.GenerateUriFromParameters(t);

            return t;
        }
Beispiel #2
0
 public static Uri GenerateUriFromParameters(Table t)
 {
     return new Uri(string.Format("{0:S}://{1:S}.table.core.windows.net/Tables('{2:S}')",
         t.AzureTableService.UseHTTPS ? "https" : "http", t.AzureTableService.AccountName, t.Name));
 }