Ejemplo n.º 1
0
        /// <summary>
        /// Convert the TableStorageEntry x in the object of type T
        /// </summary>
        public T convert <T>(object x)
        {
            TableStorageEntry entry = (TableStorageEntry)x;
            T elem = Utilities.GetObject <T>(entry.ToDictionary(partitionKey, rowKey));

            return(elem);
        }
Ejemplo n.º 2
0
        public Dictionary <string, object> ToDictionary(object element)
        {
            if (element == null)
            {
                return(null);
            }

            TableStorageEntry entry = (TableStorageEntry)element;

            return(entry.ToDictionary(partitionKey, rowKey));
        }