| Visual Basic (Declaration) | |
|---|---|
Function WithSyncInterceptor( _ ByVal syncInterceptor As IEntityManagerSyncInterceptor _ ) As IEntityManagerProviderConfigurator(Of T) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As IEntityManagerProviderConfigurator(Of T) Dim syncInterceptor As IEntityManagerSyncInterceptor Dim value As IEntityManagerProviderConfigurator(Of T) value = instance.WithSyncInterceptor(syncInterceptor) | |
| C# | |
|---|---|
IEntityManagerProviderConfigurator<T> WithSyncInterceptor( IEntityManagerSyncInterceptor syncInterceptor ) | |
| C++/CLI | |
|---|---|
IEntityManagerProviderConfigurator<T^>^ WithSyncInterceptor( IEntityManagerSyncInterceptor^ syncInterceptor ) | |
Parameters
- syncInterceptor
- The SyncInterceptor to be used.
If no SyncInterceptor is configured, the EntityManagerProvider will try to discover it 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