Book Image

Microsoft SQL Server 2008 R2 Master Data Services

Book Image

Microsoft SQL Server 2008 R2 Master Data Services

Overview of this book

Table of Contents (18 chapters)
Microsoft SQL Server 2008 R2 Master Data Services
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

MDS assemblies


As discussed previously, the WCF service is not the only way to access MDS programmatically. Using the MDS Assemblies requires the DLLs to be available to the machine that is executing the code. This needs to be taken into consideration when building distributed applications. Direct use of the assemblies is predominantly used for administrative processes, such as:

  • Cloning models

  • Creating model deployment packages

  • Creating model update packages

  • Deploying packages

  • Deploying update packages

  • Deleting models

For this example, we will be creating a simple console application to demonstrate how to retrieve a list of Models from our MDS database. The project and source code for the following example is available in the file called 0509_09_HelloMDSAssemblies.csproj, if you prefer to open the completed project.

Creating an MDS Assemblies project

Carry out the following steps in order to create a new console project that will be the basis for the simple example that utilizes the MDS Assemblies...