This delegate is invoked by the
ObjectContextFactory to create
a new
ObjectContext instance. It must always return a new instance
of an
ObjectContext.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Delegate Function ObjectContextFactoryCreatorDelegate() As ObjectContext |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As New ObjectContextFactoryCreatorDelegate(AddressOf HandlerMethod)
|
| C# | |
|---|
public delegate ObjectContext ObjectContextFactoryCreatorDelegate() |
| Managed Extensions for C++ | |
|---|
public: __gc __delegate ObjectContext* ObjectContextFactoryCreatorDelegate(); |
| C++/CLI | |
|---|
public delegate ObjectContext^ ObjectContextFactoryCreatorDelegate(); |
Requirements
Namespace: Chili.Opf3
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)
See Also