public void udateNoOfGroupDecrease(string tempuser)
 {
     utemp             = context.UserTables.SingleOrDefault(x => x.user_id == tempuser);
     utemp.no_of_group = utemp.no_of_group - 1;
     context.SubmitChanges();
 }
 public void udateNoOfDocumentAfterDeletingAfile(string userId)
 {
     utemp = context.UserTables.SingleOrDefault(x => x.user_id == userId);
     utemp.no_of_document--;
     context.SubmitChanges();
 }
Beispiel #3
0
 partial void UpdateUserTable(UserTable instance);
Beispiel #4
0
 partial void DeleteUserTable(UserTable instance);
Beispiel #5
0
 partial void InsertUserTable(UserTable instance);