/// <summary>
 /// 添加登录信息
 /// </summary>
 /// <param name="loginInfo"></param>
 /// <returns></returns>
 public bool InsertloginLogInfo(loginLogInfo loginInfo)
 {
     StringBuilder sbString = new StringBuilder();
     sbString.Append("insert into loginLogInfo(userId,lTime,lIP,lState,lRemark) values(@userId,@lTime,@lIP,@IState,@IRemark)");
     SqlParameter[] parameter = new SqlParameter[]
     {
         new SqlParameter("@userId",SqlDbType.Int){Value=loginInfo.userId},
         new SqlParameter("@lTime",SqlDbType.VarChar,20){Value=loginInfo.lTime},
         new SqlParameter("@lIP",SqlDbType.VarChar,20){Value=loginInfo.lIP},
         new SqlParameter("@IState",SqlDbType.Int){Value=loginInfo.lState},
         new SqlParameter("@IRemark",SqlDbType.VarChar,200){Value=loginInfo.lRemark}
     };
     try
     {
         SqlHelper.ExecuteNonQuery(CommandType.Text, sbString.ToString(), parameter);
         return true;
     }
     catch (Exception)
     {
         return false;
     }
 }
		private void detach_loginLogInfo(loginLogInfo entity)
		{
			this.SendPropertyChanging();
			entity.Users = null;
		}
		private void attach_loginLogInfo(loginLogInfo entity)
		{
			this.SendPropertyChanging();
			entity.Users = this;
		}
 partial void DeleteloginLogInfo(loginLogInfo instance);
 partial void UpdateloginLogInfo(loginLogInfo instance);
 partial void InsertloginLogInfo(loginLogInfo instance);