Sync Framework dụ Cách tốt nhất để hiểu được Microsoft Sync Framework là để xem nó trong hành động. Vì vậy, trước khi chúng tôi đi sâu vào bất cứ kỹ thuật Mumbo Jumbo (một xu hướng tôi bắt đầu mới;''''Mumbo jumbo là thuật ngữ kỹ thuật mới cho công cụ kỹ thuật thực sự mát mẻ), chúng ta phải đi sâu vào một ví dụ. | PartV Data Connectivity Sync Framework example The best way to understand the Microsoft Sync Framework is to see it in action. So before we dive into any technical mumbo jumbo I m starting a new trend mumbo jumbo is the new technical term for really cool technical stuff let s dive right into an example. If you have not installed synchronization services as part of your SQL Server 2008 installation then rerun setup it is an optional feature at the bottom of the Shared Features section or download the appropriate Sync Framework. Version can be found at downloads FamilyId 109DB36E-CDD0-4514-9FB5-B77D9CEA37F6 displaylang en. This file is a zip file that contains and installs the following Microsoft Sync Framework Runtime Microsoft Sync Framework SDK Microsoft Sync Framework Services Microsoft Sync Framework Services for This example also assumes that you have the SQL Server AdventureWorks databases installed. These databases are installed as part of the Microsoft SQL Server installation. They are not installed by default so if you do not have them rerun the SQL Server installation and select the Sample Databases feature. Once everything has been installed start Visual Studio 2008 and create a new Windows Forms application. It does not matter if you create a or C project but this example will be using C . On the New Project dialog make sure that .NET Framework is selected. This example names the project SyncFrameworkDemo but feel free to name the project whatever suits you. Once the project has been created the first thing that needs to be done is to add a local data cache. Right-click on the project it will be called SyncFrameworkDemo in Solution Explorer and select Add O New Item from the context menu. This will open the Add New Item dialog. In the Add New Item dialog select the Data category tab and then select the Local Database Cache template. Name the data cache DataCache and click Add. .