Exemplo n.º 1
0
 public static void DeleteOnSubmit(this ISessionTable table, object instance)
 {
     table.SetSubmitAction(instance, SubmitAction.Delete);
 }
Exemplo n.º 2
0
 public static void InsertOrUpdateOnSubmit(this ISessionTable table, object instance)
 {
     table.SetSubmitAction(instance, SubmitAction.InsertOrUpdate);
 }
Exemplo n.º 3
0
 public static void DeleteOnSubmit <T>(this ISessionTable <T> table, T instance)
 {
     table.SetSubmitAction(instance, SubmitAction.Delete);
 }
Exemplo n.º 4
0
 public static void InsertOrUpdateOnSubmit <T>(this ISessionTable <T> table, T instance)
 {
     table.SetSubmitAction(instance, SubmitAction.InsertOrUpdate);
 }