Last post Jun 09, 2010 10:32 AM by Sehlor
Jun 09, 2010 04:42 AM|Sehlor|LINK
We're upgrading our system core asp to asp.net mvc, but there is a problem with refreshing the Database Model, our system is a UDP listener Windows Service, and Instering data to our database, our web system reading the database and process it then render.
Here is the problem, When i enter some data using DatabaseModel, there is no problem, but when Windows service insert records to database, i can see the record at the web, is there a way to refresh entity data model ?
Jun 09, 2010 05:10 AM|ignatandrei|LINK
is there a way to refresh entity data model
close , set to null, re-open.
Jun 09, 2010 05:16 AM|Sehlor|LINK
Isn't that too much cost creating new instance for every action ? cuz my database have over 20 million record..
Jun 09, 2010 09:30 AM|ignatandrei|LINK
Isn't that too much cost creating new instance for every action ?
I hope that you do not try to load in memory all 20 million records at once...
Jun 09, 2010 10:32 AM|Sehlor|LINK
of course not, i'm just tryin to say i have over 20 million records in my db, is it a problem with entity model, btw i test some queries, it works perfect, thanks.