Beispiel #1
0
 public virtual void Insert(List <T> Obj)
 {
     UserEngine.SessionTimeOut();
     System.Data.Linq.ITable Table = null;
     for (int i = 0; i < Obj.Count; i++)
     {
         if (i == 0)
         {
             Table = Standard.GetTable(Obj[i].GetType());
         }
         HelperLinq.ModeDetail('u', Obj[i]);
         HelperLinq.ModeDetail('c', Obj[i]);
         Table.InsertOnSubmit(Obj[i]);
     }
 }