I have a data access class which looks something like below,
So I first created stored procedures for CRUD operations, READ operation are much complex then other operations so I prefer to keep it as it is.
Second I created a CompanyX.xsd
file, then I dropped tables and stored procedures from SQL Server Object Explorer
and then added stored procedures to it,
[![enter image description here][1]][1]
How canIs there anyway I can improve this approach of data access layercode without losing any performance ?
I had to change names in code and trim screenshot for company privacy reasons
I prefer to keep using stored procedures at least for Read operations but open to use EF for create, delete or update (but this will change accordingly to needs)
I had to change names in code and trim screenshot for company privacy reasons
[1]: https://i.sstatic.net/42rHe.png