Method | Description | |
---|---|---|
GetAllObjectContexts ( ) : IEnumerable |
Returns all the values of the internal dictionary of object contexts.
|
|
GetObjectContextForKey ( string key ) : ObjectContext |
Returns the object context associated with the specified key or null if the specified key is not found.
|
|
SetObjectContextForKey ( string key, ObjectContext objectContext ) : void |
Stores the object context into a dictionary using the specified key. If an object context already exists by the specified key, it gets overwritten by the new object context passed in.
|
|
SimpleObjectContextStorage ( ) : System |
Initializes a new instance of the SimpleObjectContextStorage class.
|
public GetAllObjectContexts ( ) : IEnumerable |
||
return | IEnumerable |
public GetObjectContextForKey ( string key ) : ObjectContext | ||
key | string | The key. |
return | ObjectContext |
public SetObjectContextForKey ( string key, ObjectContext objectContext ) : void | ||
key | string | The key. |
objectContext | ObjectContext | The object context. |
return | void |
public SimpleObjectContextStorage ( ) : System | ||
return | System |