This question is locked. New answers and comments are not allowed.
Hi
I have just started with data access. I used the wizard to create a model from my database and have successfully read data from the database.
I'm a little confused I'm using the generated context 'DbContext : OpenAccessContext, IDbContextUnitOfWork' to get the data.
I am looking at some other examples and they use EntitiesModel context = new EntitiesModel().
What is the difference and which should be used?
Thanks
John
I have just started with data access. I used the wizard to create a model from my database and have successfully read data from the database.
I'm a little confused I'm using the generated context 'DbContext : OpenAccessContext, IDbContextUnitOfWork' to get the data.
I am looking at some other examples and they use EntitiesModel context = new EntitiesModel().
What is the difference and which should be used?
Thanks
John