Пример #1
0
        internal static DynamicTableEntity ResolveDynamicEntity(string partitionKey, string rowKey, DateTimeOffset timestamp, IDictionary <string, EntityProperty> properties, string etag)
        {
            DynamicTableEntity entity = new DynamicTableEntity(partitionKey, rowKey);

            entity.Timestamp = timestamp;
            entity.ReadEntity(properties, null);
            entity.ETag = etag;

            return(entity);
        }
        private static object DynamicEntityResolver(string partitionKey, string rowKey, DateTimeOffset timestamp, IDictionary <string, EntityProperty> properties, string etag)
        {
            ITableEntity entity = new DynamicTableEntity();

            entity.PartitionKey = partitionKey;
            entity.RowKey       = rowKey;
            entity.Timestamp    = timestamp;
            entity.ReadEntity(properties, null);
            entity.ETag = etag;

            return(entity);
        }
        private static object DynamicEntityResolver(string partitionKey, string rowKey, DateTimeOffset timestamp, IDictionary<string, EntityProperty> properties, string etag)
        {
            ITableEntity entity = new DynamicTableEntity();

            entity.PartitionKey = partitionKey;
            entity.RowKey = rowKey;
            entity.Timestamp = timestamp;
            entity.ReadEntity(properties, null);
            entity.ETag = etag;

            return entity;
        }