Exemple #1
0
 internal TableClient(string table, TableRestClient tableOperations, string version)
 {
     _tableOperations = tableOperations;
     _version         = version;
     _table           = table;
     _format          = OdataMetadataFormat.ApplicationJsonOdataFullmetadata;
 }
 internal TableClient(string table, TableRestClient tableOperations, string version, bool isPremiumEndpoint)
 {
     _tableOperations   = tableOperations;
     _version           = version;
     _table             = table;
     _format            = OdataMetadataFormat.ApplicationJsonOdataFullmetadata;
     _isPremiumEndpoint = isPremiumEndpoint;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TablesBatch"/> class.
 /// </summary>
 /// <param name="table"></param>
 /// <param name="tableOperations"></param>
 /// <param name="format"></param>
 internal TablesBatch(string table, TableRestClient tableOperations, OdataMetadataFormat format)
 {
     _table           = table;
     _tableOperations = tableOperations;
     _diagnostics     = _tableOperations.clientDiagnostics;
     _batchOperations = new TableRestClient(_diagnostics, CreateBatchPipeline(), _tableOperations.endpoint, _tableOperations.clientVersion);
     _format          = format;
     _batch           = TableRestClient.CreateBatchContent(_batchGuid);
     _changeset       = _batch.AddChangeset(_changesetGuid);
 }
 internal TableClient(string table, TableInternalClient tableOperations)
 {
     _tableOperations = tableOperations;
     _table           = table;
     _format          = OdataMetadataFormat.ApplicationJsonOdataFullmetadata;
 }