Last post 11 hours, 44 minutes ago by Brando ZWZ
Jan 15, 2020 08:07 PM|acmedeepak|LINK
I am planning to look into some code patterns which are better to show data on a Gridview with all CRUD operations to be performed on the data. I want the most well structured and decoupled code that uses Lambda expressions and other parts like Delegates
or Generics. Please point me to the example code. I have found one example but it more coupled and dependant. Link is:
Can there be a more decoupled approach? Please direct me to it.
11 hours, 44 minutes ago|Brando ZWZ|LINK
In the example you posedt, it has given a preliminary structure BLL for the data access part.
If you are willing to make the code more structured.
I suggest you an example which is well structured and decoupled regarding to data access.
How to map an ObjectDataSource's Insert(), Update(), and Delete() methods to the methods of BLL classes, as well as how to configure the GridView, DetailsView, and FormView controls to provide data modification capabilities.
How to build the Contoso U application as an n-tier application using the ObjectDataSource control and how to handle concurrency and maximize performance.
simpleinjector is a tool of Dependency Inject (DI) to make your project decoupling.