| Visual Basic (Declaration) | |
|---|---|
Function WithDelegates( _ ByVal ParamArray delegates() As EntityManagerDelegate(Of T) _ ) As IEntityManagerProviderConfigurator(Of T) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As IEntityManagerProviderConfigurator(Of T) Dim delegates() As EntityManagerDelegate(Of T) Dim value As IEntityManagerProviderConfigurator(Of T) value = instance.WithDelegates(delegates) | |
| C# | |
|---|---|
IEntityManagerProviderConfigurator<T> WithDelegates( params EntityManagerDelegate<T>[] delegates ) | |
| C++/CLI | |
|---|---|
IEntityManagerProviderConfigurator<T^>^ WithDelegates( ... array<EntityManagerDelegate<T^>^>^ delegates ) | |
Parameters
- delegates
- One or more EntityManagerDelegate.
If the EntityManagerDelegates are not configured, the EntityManagerProvider will try to discover them through the MEF container.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family