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;
        }
Ejemplo n.º 3
0
        protected virtual void Init()
        {
            InnerType = typeof(T);
            var CacheManage = EntityTypesCache.CreateInstance();

            TypeCache = CacheManage.GetItem(InnerType);

            _PropertyValueGeter = new DynamicMethod <T>();


            InitIdentityList();
            InitUIMemberList();
            InitPrimaryKey();
        }