public static Dictionary <string, object> ToTableEntity(this CommandEntity entity)
        {
            var tableEntityProperties = new Dictionary <string, object>();

            foreach (var(key, value) in entity.Properties)
            {
                var targetPropertyType = entity.GetPropertyType(key);
                tableEntityProperties.Add(key, ToTableEntityProperty(value, targetPropertyType));
            }

            tableEntityProperties[nameof(CommandEntity.LastPersistedAtUtc)] = DateTime.UtcNow;

            return(tableEntityProperties);
        }