Ejemplo n.º 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="AzureTableStorageManager" /> class.
 /// </summary>
 /// <param name="tableName">
 ///     Name of the table.
 /// </param>
 public AzureTableStorageManager(AzureTableName tableName)
 {
     _tableName = tableName.ToString();
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Gets the table reference.
 /// </summary>
 /// <param name="tableName">Name of the table.</param>
 /// <returns>CloudTable.</returns>
 public CloudTable GetTableReference(AzureTableName tableName)
 {
     var cloudTableReference = CloudTableClient.GetTableReference(tableName.ToString());
     cloudTableReference.CreateIfNotExists();
     return cloudTableReference;
 }