locked
Entity Data Model Not Refreshin... RRS feed

  • Question

  • User217934831 posted

    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 ?

    Wednesday, June 9, 2010 4:42 AM

Answers

  • User217934831 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 9, 2010 10:32 AM

All replies

  • User197322208 posted

    is there a way to refresh entity data model

    close , set to null, re-open.

    Wednesday, June 9, 2010 5:10 AM
  • User217934831 posted

    Isn't that too much cost creating new instance for every action ? cuz my database have over 20 million record..

    Wednesday, June 9, 2010 5:16 AM
  • User197322208 posted

    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...


    Wednesday, June 9, 2010 9:30 AM
  • User217934831 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 9, 2010 10:32 AM