hi
can't understand how to manage database with etnity framework
i'll try to describe my problem step-by-step
1) create winforms application
2) add database(.mdf) to solution
3) when appears window "choosing database model", select dataset
4) then finish, as database is empty
5) go to server explorer, choose created database, create some tables
6) add to solution EDM ADO.NET
the problem is that new data don't appears in my database in server explorer. this means that while my winforms app is working, i can modify my db (change existing values, add new, ..). but if i close my app, there is no update in my database in server explorer. i DON'T forget to use function SaveChanges()
P.S. while my app is working, values are updating. think, that means that data updates in dataset, but not in database. if i am right, give a clue how to update database from dataset.
pps. visual studio 2010 ultimate. sorry for english(
code ex:
dbentity db=new dbentity();
db.items.addobject(new item() {value=something});
db.savechanges();