예제 #1
0
        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));
 }
예제 #3
0
 public static bool Update(RoleInfo roleInfo)
 {
     return(dal.Update(roleInfo));
 }
예제 #4
0
 public void Update(UserRole objUserRole)
 {
     UserRoleobj.Update(objUserRole);
 }