This question is locked. New answers and comments are not allowed.
Hi,
it tried the following:
Use the Database first scenario - hm.. first errors, Sybase connection needed to be configured manually, new did not work.
Okay, with a little bit of guessing (would be easier if the format would be given) i had a connection to db.
Second, try to create a consuming model.
And now i'm completly stuck.
My model name is as in example "EntitiesModel". If I look in definition it is derived from OpenAccessContext:
The Namespace is "TestConnection".
If I try something like
using (EntitiesModel dbContext = new EntitiesModel())
{ ...dbContext.SaveChanges();}
there are no members to access the opencontext, only to the distinct persistent classes.
How do i find the context?
it tried the following:
Use the Database first scenario - hm.. first errors, Sybase connection needed to be configured manually, new did not work.
Okay, with a little bit of guessing (would be easier if the format would be given) i had a connection to db.
Second, try to create a consuming model.
And now i'm completly stuck.
My model name is as in example "EntitiesModel". If I look in definition it is derived from OpenAccessContext:
EntitiesModel:
OpenAccessContext, IEntitiesModelUnitOfWork
The Namespace is "TestConnection".
If I try something like
using (EntitiesModel dbContext = new EntitiesModel())
{ ...dbContext.SaveChanges();}
there are no members to access the opencontext, only to the distinct persistent classes.
How do i find the context?