Is it possible to use BLToolKit (http://bltoolkit.net) to create a recordset for a list of objects (batch insertion)?
If so, how is this possible?
Thank you so much!
using (var db = new DbManager()) db.InsertBatch(list);
using (var db = new DbManager()) { var ret = (from s in db.tablename select new ObjectList { Id = (int)s.Id, Name = s.Name }).ToList(); return ret; }
using (var db = new DbManager()) { db.SetSpCommand("Person_Insert") .ExecuteForEach<Person>(list); }
Where listprovided by other means of your application functionality.
list
Source: https://habr.com/ru/post/1776995/More articles:Querying array positions in MongoDB? - javaerror: "initializer expression list processed as a compound expression" - c ++What is the relationship between .Integral and int numbers in the builtins module in Python 3 - pythonUpdate text view from Android function - javaupdate text in oncreate android - androidFaster text processing in BASH - performancenginx: unknown "location" directive - nginxconvert struct in_addr to text - cDetermining the IP address of a connected client on a server - c ++Keytool tool and jarsigner - javaAll Articles