Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="list"></param>
 /// <param name="type"></param>
 public bool InsertNews(List <News> list)
 {
     return(CurrentDb.InsertRange(list));
 }
Esempio n. 2
0
 /// <summary>
 /// 批量
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public virtual bool Insert(List <T> objs)
 {
     return(CurrentDb.InsertRange(objs));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="list"></param>
 public void InsertRange(List <TodayOnHistory> list)
 {
     //Db.Insertable(list);
     CurrentDb.InsertRange(list);
 }