private void Button_Click_24(object sender, RoutedEventArgs e)
        {
            role r = UserRole.SelectByGuid("278c6576-8051-4d6d-afff-2b6cfb7dbfa3");

            r.roleName = "王八蛋";
            MessageBox.Show(UserRole.Update(r).ToString());
        }
 bool Update(role r)
 {
     return(UserRole.Update(r));
 }
 public static bool Update(RoleInfo roleInfo)
 {
     return(dal.Update(roleInfo));
 }
Exemple #4
0
 public void Update(UserRole objUserRole)
 {
     UserRoleobj.Update(objUserRole);
 }