예제 #1
0
 public void UpdateRequest(Request request)
 {
     Users.Attach(request.Author);
     Requests.Attach(request);
     Entry(request).State = EntityState.Modified;
     Entry(request).Property(_ => _.DateCreated).IsModified = false;
 }