Example #1
0
        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));
            }
        }
Example #2
0
        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));
            }
        }
Example #3
0
        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();
            }
        }
Example #4
0
        EntityOperation IdEntity(Partition partition)
        {
            var entity = new EventIdEntity(partition, this);

            return(new EntityOperation.Insert(entity));
        }
Example #5
0
 EntityOperation IdEntity(Partition partition)
 {
     var entity = new EventIdEntity(partition, this);
     return new EntityOperation.Insert(entity);
 }