public SqlWhereClass(string localName, string javaName, NetOperate netOperate, string value) { this._localName = localName; this._javaName = javaName; this._operate = netOperate; this._value = value; }
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, "登录失败!"); } }