/// <summary>
 /// 插入一条新记录
 /// </summary>
 /// <param name="userRole">UserRole实体</param>
 /// <returns>插入记录的主键</returns>
 public static object Insert(UserRole userRole)
 {
     Object id = DataAccessUtility.Insert<UserRole>(userRole);
     return id;
 }
 /// <summary>
 /// 修改UserRole表中的某条记录
 /// </summary>
 /// <param name="user">要修改记录对应的实体</param>
 public static void Update(UserRole userRole)
 {
     DataAccessUtility.Update<UserRole>(userRole);
 }
 /// <summary>
 /// 删除UserRole表中的某条记录
 /// </summary>
 /// <param name="user">要删除记录的对应的实体</param>
 public static void Delete(UserRole userRole)
 {
     DataAccessUtility.Delete<UserRole>(userRole);
 }