Ejemplo n.º 1
0
        public DataTable2Entity()
        {
            ToType = typeof(ToEntity);
            EntityTypesCache Cache = EntityTypesCache.CreateInstance();

            ToCache         = Cache.GetItem(ToType);
            ToPropertyNames = ToCache.PropertyNames;

            _ToSeter = new DynamicMethod <ToEntity>();
        }
Ejemplo n.º 2
0
        protected void Init()
        {
            ToType = typeof(ToEntity);
            EntityTypesCache Cache = EntityTypesCache.CreateInstance();

            ToCache         = Cache.GetItem(ToType);
            ToPropertyNames = ToCache.PropertyNames;

            _ToSeter        = new DynamicMethod <ToEntity>();
            ExcludeNames    = new List <string>();
            FoundNamesCount = 0;
        }