Пример #1
0
        protected ICollection <BaseEntity> BuildObjects(List <Dictionary <string, object> > dicts, BaseEntity obj)
        {
            if (dicts == null)
            {
                return(null);
            }

            var objectsCollections = new List <BaseEntity>();

            foreach (var dict in dicts)
            {
                objectsCollections.Add(BuilderObjects.Build(dict, obj));
            }

            return(objectsCollections);
        }
Пример #2
0
 protected BaseEntity BuildObject(Dictionary <string, object> dict, BaseEntity obj)
 {
     return(BuilderObjects.Build(dict, obj));
 }