/// <summary> /// /// </summary> /// <param name="list"></param> /// <param name="type"></param> public bool InsertNews(List <News> list) { return(CurrentDb.InsertRange(list)); }
/// <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); }