Ejemplo n.º 1
0
 public SqlWhereClass(string localName, string javaName, NetOperate netOperate, string value)
 {
     this._localName = localName;
     this._javaName  = javaName;
     this._operate   = netOperate;
     this._value     = value;
 }
Ejemplo n.º 2
0
        private void AddLoginInfo(int LoginType)
        {
            string clientIP   = NetOperate.GetClientIp();
            string macAddress = NetOperate.getClientMacAddress();

            if (LoginType == 1)
            {
                new DB_Frame_LoginInfo().Insert(Guid.NewGuid().ToString(), LoginID, clientIP, macAddress, DateTime.Now, 1, "登录成功!");
            }
            else
            {
                new DB_Frame_LoginInfo().Insert(Guid.NewGuid().ToString(), LoginID, clientIP, macAddress, DateTime.Now, 0, "登录失败!");
            }
        }