示例#1
0
        internal void SetMTCache <M>()
        {
            //
            var type = typeof(M);

            if (NeedSetSingle)
            {
                TbM1          = type;
                NeedSetSingle = false;
            }
            XC.GetTableModel(type);
        }
示例#2
0
        internal void SetMTCache <M>()
        {
            //
            var type = typeof(M);
            var key  = XC.GetModelKey(type.FullName);

            if (NeedSetSingle)
            {
                SingleOpName  = type.FullName;
                NeedSetSingle = false;
            }

            //
            if (XC.ExistTableName(key))
            {
                return;
            }
            var table = SqlProvider.GetTableName <M>();

            XC.SetTableName(key, table);
            XC.SetModelType(key, type);
            XC.SetModelProperys(type, this);
            (XC.SetModelColumnInfos(key, this)).GetAwaiter().GetResult();
        }
示例#3
0
 public XB(XC c)
 {
 }