public static void InsertEventIdEntities(this Partition partition, params string[] ids) { for (int i = 0; i < ids.Length; i++) { var e = new EventIdEntity { PartitionKey = partition.PartitionKey, RowKey = ids[i].FormatEventIdRowKey(), }; partition.Table.Execute(TableOperation.Insert(e)); } }
public static void InsertEventIdEntities(this Partition partition, params string[] ids) { foreach (var id in ids) { var e = new EventIdEntity { PartitionKey = partition.PartitionKey, RowKey = id.FormatEventIdRowKey(), }; partition.Table.ExecuteAsync(TableOperation.Insert(e)).Wait(); } }
EntityOperation IdEntity(Partition partition) { var entity = new EventIdEntity(partition, this); return(new EntityOperation.Insert(entity)); }
EntityOperation IdEntity(Partition partition) { var entity = new EventIdEntity(partition, this); return new EntityOperation.Insert(entity); }