Пример #1
0
 partial void DeleteAuditDTO(AuditDTO instance);
Пример #2
0
 partial void InsertAuditDTO(AuditDTO instance);
Пример #3
0
 partial void UpdateAuditDTO(AuditDTO instance);
Пример #4
0
 private void SetUsername(AuditDTO audit)
 {
     using (DataClassesDataContext data = new DataClassesDataContext())
     {
         var q = from u in data.UserDTO where u.Login_ID == audit.Login_ID select u;
         if (q.Count() > 0)
         {
             audit.Username = q.First().Username;
         }
     }
 }