Creating and Using the SetupApplication Model

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

In this tutorial, you use Visual Studio 2010 to create a model of a setup application by using Microsoft code name “M”. Visual Studio 2010 creates a new database and deploys the model to that database. You can then download a sample application that operates off of this model to create a setup application.

In this section, you write “M” code that could be loaded into any SQL Server database. There is no dependency on SQL Server Modeling Services, which results in a simpler “M” model and deployment process. However, deploying models to a Modeling Services database has many benefits, such as claims-based security and auditing features. To see how to change this model to apply Modeling Services patterns, see Adding Modeling Services Patterns to the SetupApplication Model.

In This Section

How to: Create a Model Using Visual Studio and "M"

Shows how to create the SetupApplication model by using Visual Studio 2010 and “M”.

How to: Load a Model into a SQL Server Database

Uses the “M” Deployment feature in Visual Studio 2010 to deploy the SetupApplication model to a new database.

How to: View a Deployed "M" Model in the Database

Describes how to use SQL Server Management Studio to view the database representation of the SetupApplication model.

How to: Add Model Instances using "M"

Adds an “M” file to the project that creates instances of the SetupApplication model to define a new setup application.

How to: Create a Custom Application to "Run" a SetupApplication Model Instance

Explains how to download a sample application that uses the SetupApplication model to create and run setup applications.

See Also

Other Resources

Getting Started with the SQL Server Modeling CTP (SetupApplication Tutorial)