Пример #1
0
        public static DbRow ToDbRow(this IMyMemory myMemory)
        {
            var fields     = myMemory.ParseFirstLevelOfJson().ToList();
            var entityInfo = fields.GetEntityInfo();

            return(DbRow.CreateNew(entityInfo, fields));
        }
Пример #2
0
        public static DbRow ToDbRow(this IMyMemory myMemory)
        {
            var entity = myMemory.ParseDynamicEntity();

            return(DbRow.CreateNew(entity, DateTime.UtcNow));
        }