You create an application by using the Microsoft .NET Framework 3.5 and Microsoft ADO.NET.
The application caches refer to tables by using a Local Database Cache class.
You write the following code segment. (Line numbers are included for reference only.)
01 public partial class LocalDataCacheProvider
02 {
03 private void InitializeConnection(string connectionString)
04 {
05 this.Connection = new System.Data.SqlClient.SqlConnection(connectionString);
06 }
07 private void InitializeNewAnchorCommand()
08 {
09 …
10 }
11 }
You need to ensure that the LocalDataCacheProvider class handles all database communication.
Which code segment should replace line 01?
A.
public partial class LocalDataCacheProvider : Microsoft.Synchronization.Data.SyncAnchor
B.
public class LocalDataCacheProvider : Microsoft.Synchronization.Data.ServerSyncProviderProxy
C.
public partial class LocalDataCacheProvider : Microsoft.Synchronization.Data.Server.SyncAdapter
D.
public partial class LocalDataCacheProvider : Microsoft.Synchronization.Data.Server.DbServerSyncProvider