I hope this is a simple question.
Is it possible for when 2 users are working on the same list of objects in different application instances to make the changes available to one another?
So simple object relationship as follows:
ClassA has a number of instances of ClassB in a list (simple illustration) as follows:
Public Class ClassA
' auto generated stuff...
' auto generated relationship
ClassBList As System.Data.Objects.DataClasses.EntityCollection(Of ClassB)
' autogenerated stuff...
Two users are running 2 separate instances of the application.
- User 1 opens the ClassA instance and displays/accesses the ClassB list.
- User 2 adds a new instance to ClassA.ClassBList and saves his changes.
How can I pick up the new instance of ClassB in the application User 1 is running? At this point in the User 1 application instance, the object is loaded including the list.
If I create a new instance of the context, the new object is available.
How can I get this object in the current context instance?
Many thanks and keep up the good work,