public DomaSqlParserTest() { ConfigContainer.AddDefault( DbConnectionKind.SqlServer, () => new SqlParameter() ); }
static void Main(string[] args) { // create config ConfigContainer.AddDefault( DbConnectionKind.SqlServer, () => new SqlParameter() ); ConfigContainer.EnableCache = true; // Dapper execute ExecuteSimple(new DapperExecutor()); ExecutePaginated(new DapperExecutor()); ExecutePaginated(new DapperExecutor(), false); Console.WriteLine("---- Dapper end"); // Ef execute ExecuteSimple(new EfExecutor()); ExecutePaginated(new EfExecutor()); ExecutePaginated(new EfExecutor(), false); Console.WriteLine("---- Ef end"); Console.Read(); }