메소드 | 설명 | |
---|---|---|
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 GetObjectContextForKey ( string key ) : ObjectContext | ||
key | string | The key. |
리턴 | ObjectContext |
public SetObjectContextForKey ( string key, ObjectContext objectContext ) : void | ||
key | string | The key. |
objectContext | ObjectContext | The object context. |
리턴 | void |