Returns whether a new
ObjectContext instance is required.
Syntax
| Visual Basic (Declaration) | |
|---|
Overrides Protected Function IsNewObjectContextRequired() As Boolean |
| C# | |
|---|
protected override bool IsNewObjectContextRequired() |
| Managed Extensions for C++ | |
|---|
protected: bool IsNewObjectContextRequired(); override |
| C++/CLI | |
|---|
protected:
bool IsNewObjectContextRequired(); override |
Return Value
True if a new instance is required; false otherwise.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also