Skip to content
MercedeX edited this page Oct 15, 2016 · 11 revisions

1475334088_database.png

Generic Data Manager is an effort to provide thread safe IUnitOfWork repositories tailored for your entities that take care of all the plumbing of connection opening and disposing so that you can concentrate on the application logic rather than the doing mundane tasks of connecting to database such as creating custom repositories for each entity, implementing thread safe mechanism for database calls, or spending your time fixing the issues that result from mistakenly using wrong connection in wrong thread.

Generic Data Manager takes care of all such tasks so you can really spend your time implementing actual business logic and rules thus increasing your productivity. All you need to do is pass your plain old connection string (see ConnectionStrings.com) and your Entity model name to the data manager and it provides you:

  • All repositories for all your entities
  • provide you thread specific repositories
  • Properly initialize and dispose them without any extra code
  • In case of errors, it tries to give you the actual errors returned by the database.
  • takes care of all the retrieval and saving of the data
  • gives you a variety of ways to query,update or delete your data

it gives you all the EntityFramework benefits without you using requiring the deep and intrinsic knowledge of EntityFramework.

Please browse through the documentation to get more information.