basic question in Entity framework RRS feed

  • Question

  • Can anyone explain what is connected and disconnected state , attached and  detached state with a simple data model with 2 entities say department and employee.
    Saturday, December 10, 2011 11:42 AM


  • Hi yesganesh,

    Welcome to MSDN Forum!

    Connected means you have connected to database now, disconnected means the connection of database is off now.

    About attached and detached. You can refer to this link:

    EntityState Enumeration


    Best Regarsd

    Allen Li [MSFT]
    MSDN Community Support | Feedback to us
    • Marked as answer by Allen_MSDN Thursday, December 15, 2011 1:58 AM
    Monday, December 12, 2011 8:00 AM