コード例 #1
0
        private T DoGet <T>(string partitionKey, string rowKey) where T : BaseTableEntity, new()
        {
            var operationContext = new OperationContext();
            var fields           = _tableStore.GetFields(_table, partitionKey, rowKey);

            if (fields == null)
            {
                return(null);
            }

            var entity = new T();

            entity.ReadEntity(fields, operationContext);
            return(entity);
        }