locked
EF 4.1 code first how to use Reload method? RRS feed

  • Question

  • Hi,

     

    Reloads the entity from the database overwriting any property values with values from the database. The entity will be in the Unchanged state after calling this method.

     

    Namespace: System.Data.Entity.Infrastructure
    Assembly: EntityFramework (in EntityFramework.dll)

    public void Reload()

    Tuesday, August 30, 2011 6:45 AM

Answers

  • Hi,

    Thanks I was solved it.http://forums.silverlight.net/t/237936.aspx/1?Please+help+EF+4+1+how+to+use+Reload+method+or+convert+to+ObjectQuery+or+MergeOption+

    • Marked as answer by Larcolais Gong Friday, September 2, 2011 2:02 PM
    Friday, September 2, 2011 8:44 AM

All replies

  • Hello,

    What's your question? Was your question solved?

    Please feel free to describe your question more or provide more detailed information to us if you need further support.

    Thanks,


    Larcolais Gong[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, September 1, 2011 3:23 AM
  • Hi,

    Thanks I was solved it.http://forums.silverlight.net/t/237936.aspx/1?Please+help+EF+4+1+how+to+use+Reload+method+or+convert+to+ObjectQuery+or+MergeOption+

    • Marked as answer by Larcolais Gong Friday, September 2, 2011 2:02 PM
    Friday, September 2, 2011 8:44 AM
  • Cheers! I changed the type to question and closed it.

    Welcome to back later if you have any question.

    Thanks,


    Larcolais Gong[MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Friday, September 2, 2011 2:01 PM