예제 #1
0
 public static IDisposable ChangeTable <T, T1>(string tn1, string tn2)
     where T : IEntityState, new()
     where T1 : IEntityState, new()
 {
     Mappings.ChangeTables change = new Mappings.ChangeTables();
     change.Add <T>(tn1);
     change.Add <T1>(tn2);
     return(change);
 }
예제 #2
0
 public static IDisposable ChangeTable <T, T1, T2, T3, T4>(string tn1, string tn2, string tn3, string tn4, string tn5)
     where T : IEntityState, new()
     where T1 : IEntityState, new()
     where T2 : IEntityState, new()
     where T3 : IEntityState, new()
     where T4 : IEntityState, new()
 {
     Mappings.ChangeTables change = new Mappings.ChangeTables();
     change.Add <T>(tn1);
     change.Add <T1>(tn2);
     change.Add <T2>(tn3);
     change.Add <T3>(tn4);
     change.Add <T4>(tn5);
     return(change);
 }