简体   繁体   中英

Does ADO.NET Entity Data Model update with live data ?

net-mvc website which will query an existing database on Azure (I have nothing to do with the database. I just have access to do read only queries.). I created an ADO.NET Entity Data Model connecting to a Sql Azure Database. This database will be updated everyday with new data. Does the ADO.NET Entity Data Model that i created update itself with live data or is it just a snapshot of the database at the time i created it?

Thanks first time connecting to Azure so not sure if what i'm doing is right.

The entity data model helps requesting data from the DB, it doesn't store data. Your request will be done against the server data, so you will get up to date data from the DB.

But if the structure of the database changes you will have to recreate the model classes accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM