Exemplo n.º 1
0
 /// <summary>
 /// Calls table.Attach(item, true)
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="table"></param>
 /// <param name="item"></param>
 public static void UpdateOnSubmit <T>(this System.Data.Linq.Table <T> table, T item) where T : class, System.ComponentModel.INotifyPropertyChanged
 {
     table.Attach(item, true);
 }