/// <summary> /// 根据用户名返回实体对象 /// </summary> /// <param name="name">用户名</param> /// <returns></returns> public MODEL.User GetModelByName(string name) { return(dal.GetModelByName(name)); }