Is it normal to use a data access layer using only SqlConnection SqlCommand and SqlDataReader

I know there are a lot of ready-to-use things that you can use at the moment, but if you want to have complete control over your db requests / requests and the best performance, I think this is the way to go. Also, since ADO.NET automatically connects the connection pool for SqlConnection, what do you think?

+3
source share
7 answers

If you need better performance, everything is fine. This gives you more control and better performance. By the way, here is an article on what you should consider that affects performance when using ADO.NET: How data access code affects database performance

+2
source

That's right. If extreme performance is what you want, you cannot get much faster than that. I think that everything is in order.

In fact, now I am making a reporting system that uses SQL, DataReaders and SQLConnections, because it all started SQL. OLAP cubes are not the best candidates for OR cards.

+5
source

SQL- , . . , , .

+3

, . , , , , .

, . drag-and-drop , , , Dynamic Data .

+2

, , , , ORM, , .

+2

, , ! , , db-, / .

, , , SqlDataAdapters DataTables , .

+1

. ADO.Net, , .

+1
source

Source: https://habr.com/ru/post/1732175/


All Articles