Ejemplo n.º 1
0
        internal static SZORM_Upgrade UPVersion2(DB context)
        {
            SZORM_Upgrade up = new SZORM_Upgrade();

            up.ReleaceTime = new DateTime(2015, 10, 13);
            up.Version     = 2;

            return(up);
        }
Ejemplo n.º 2
0
 protected override void UpdataDBExce()
 {
     if (DBVersion == 1)
     {
         SZORM_Upgrade up = new SZORM_Upgrade();
         up.UPTime = DateTime.Now;
         decimal upversion = DBUP.UPVersion2(this);
         up.UPContent = "测试更新";
         UPDBVersion(up);
     }
 }