<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mdsutilities Wiki Rss Feed</title><link>http://mdsutilities.codeplex.com/</link><description>mdsutilities Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://mdsutilities.codeplex.com/wikipage?version=14</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;MDS Utilities 2012 Update&lt;/b&gt;&lt;br /&gt;For SQL Server 2012 I&amp;#39;ve updated the web service references in the code.&lt;br /&gt;I removed the mds_staging stuff, as the new Entity Based Staging feature handles that now.&lt;br /&gt;&lt;br /&gt;And I added a Custom Workflow Host and a sample IWorkflowTypeExtender to show you how to handle external workflow actions.  The Custom Workflow Host is intended primarily to help you build and debug your own custom workflow extensions (ie types implementing IWorkflowTypeExtender).  The MDS Workflow Host that ships with the project is fine, but it&amp;#39;s hard to test and debug your custom workflow using it.  With the Custom Workflow Host you can just hit F5 in Visual Studio and test and debug your custom workflow extensions.&lt;br /&gt;&lt;br /&gt;Additionally there are some minor API changes in the CustomAppUtilities project.  The ServiceClient in there is enhanced with several convenience methods to make working to the MDS web services easier.  So instead of creating a Service Reference directly to MDS, you can just use the one in the CustomAppUtiltities project.  The external workflow sample has code to connect back to MDS using the enhanced ServiceClient and read and write entity member data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A set of useful add-ons for SQL Server Master Data Services, including utilities for generating an MDS model, loading the model, writing a custom UI for model data and integrating the model with SharePoint BCS.&lt;br /&gt;&lt;br /&gt;This project is a collection of utilities I created over the course of working with customers to implement SQL Server Master Data Services.  They are intended to speed up MDS implementations and help out with some common requests we&amp;#39;ve gotten from customers.  I am not part of the Master Data Services product team and this code is provided as-is for your evaluation. &lt;br /&gt;&lt;br /&gt;These utilities help with the following scenarios:&lt;br /&gt;&lt;br /&gt;1) Importing an existing relational model into Master Data Services&lt;br /&gt;&lt;br /&gt;2) Writing custom business rule actions and invoking external workflows.&lt;br /&gt;&lt;br /&gt;3) Viewing and Editing model data from custom .NET code or from SharePoint using the Business Connectivity Services.&lt;br /&gt;&lt;br /&gt;4) Viewing and Editing model data from a custom ASP.NET UI with full data binding support.  This enables you to build custom UI&amp;#39;s for MDS with little or no coding.&lt;br /&gt;&lt;br /&gt;5) Understanding the MDS Web Services interface by providing sample code for how to interact with various parts of the API.&lt;br /&gt;&lt;br /&gt;There are four utilities included:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MDSDataSource Control&lt;/b&gt;&lt;br /&gt;&lt;b&gt;CRUD Web Service Generator&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Custom Workflow Host and Sample IWorkflowTypeExtender &lt;/b&gt;&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt; &lt;br /&gt; &lt;br /&gt;Here are some more details about the utilities:&lt;br /&gt; &lt;br /&gt;&lt;b&gt;MDSDataSourceControl&lt;/b&gt; for data binding ASP.NET UI to MDS Model Data, supporting sorting, paging CRUD eg:&lt;br /&gt; &lt;pre&gt;
      &amp;lt;asp:GridView ID=&amp;quot;gvMembers&amp;quot; runat=&amp;quot;server&amp;quot; AllowPaging=&amp;quot;True&amp;quot; 
        AllowSorting=&amp;quot;True&amp;quot; AutoGenerateDeleteButton=&amp;quot;True&amp;quot; 
        AutoGenerateEditButton=&amp;quot;True&amp;quot; AutoGenerateSelectButton=&amp;quot;True&amp;quot; CellPadding=&amp;quot;4&amp;quot; 
        DataKeyNames=&amp;quot;Code&amp;quot; DataSourceID=&amp;quot;MDS&amp;quot; EnablePersistedSelection=&amp;quot;True&amp;quot; /&amp;gt;
      
 
      &amp;lt;mds:MdsDataSource 
          ID=&amp;quot;MDS&amp;quot; 
          runat=&amp;quot;server&amp;quot;  
          ModelName=&amp;quot;ProductionManagement&amp;quot; 
          EntityName=&amp;quot;Equipment&amp;quot; 
          SearchTerm=&amp;quot;DepartmentCode&amp;lt;&amp;gt; &amp;#39;UNK&amp;#39; AND AssetCategory  =&amp;#39;CAPITAL&amp;#39;&amp;quot;
          AttributeList=&amp;quot;Code, Name&amp;quot;          
          /&amp;gt;
 
 &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CRUD SOAP Web Service Generator&lt;/b&gt;&lt;br /&gt;Code and a web page for generating WCF SOAP service wrappers on top of the MDS Web Service.  The CRUD web services are suitable for integrating with SharePoint BCS.&lt;br /&gt;So for an entity like Equipment, it generates a web service with operations like:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
  [OperationContract]
  void Equipment_Add(Equipment entity);
 
  [OperationContract]
  void Equipment_Update(Equipment entity);
 
  [OperationContract]
  void Equipment_UpdateAttribute(string code, string attributeName, string attributeValue);
 
  [OperationContract]
  string Equipment_GetAttribute(string code, string attributeName);
 
  [OperationContract]
  void Equipment_Delete(string code);
 
  [OperationContract]
  Equipment Equipment_GetByCode(String code);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetByAttributeValue(String attributeName, String attributeValue);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetAll(int skip, int top, string orderBy);
 
 &lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;The CRUD Web Service generator (DataServiceGenerator.cs) is in the MDSCustomAppUtilities.dll, and there&amp;#39;s a sample admin portal page in the MDS Data Sample web site that you can use as an admin UI to generate the web services.&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt;&lt;br /&gt;A command-line utility to import model metadata from a SQL Server database.  For customers who do their data modeling in ERWin or somesuch to get jump-started on their MDS modeling.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;Usage: MDSModelImport
 
  Qualifiers:
    [-?]                   Print this help guide.
    -Server:STRING         Source SQL Server
    -Database:STRING       Source Database Name
    -Model:STRING          Name of the MDS Model to create.  It must not exist.
    [-Schema:STRING]       Schema to use for import.  Default is all schemas.
    [-MDSEndpoint:STRING]  URL to MDS Web Service.  Default is in MDSModelImport.exe.config
-----------------------------------
Examples
MDSModelImport.exe -server (local) -database AdventureWorks -schema HumanResources -model HumanResourcesModel -MDSEndpoint http://localhost/mds/Service/Service.svc

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is the second release of sample code, so if you want to use this, be prepared to provide feedback, especially if you run into trouble.  Use the Discussions and Issue Tracker to log any problems.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be posting a series of walkthroughs about these utilities on my BLOG:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx&lt;/a&gt;.&lt;br /&gt;David&lt;br /&gt;&lt;br /&gt;dbrowne&lt;i&gt;at&lt;/i&gt;microsoft&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dbrowne</author><pubDate>Fri, 29 Jun 2012 18:51:32 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120629065132P</guid></item><item><title>Updated Wiki: Home</title><link>http://mdsutilities.codeplex.com/wikipage?version=13</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;MDS Utilities 2012 Update is Here&lt;/b&gt;&lt;br /&gt;For MDS 2012 I&amp;#39;ve updated the web service references in the code.&lt;br /&gt;I removed the mds_staging stuff, as the new Entity Based Staging feature handles that now.&lt;br /&gt;&lt;br /&gt;And I added a Custom Workflow Host and a sample IWorkflowTypeExtender to show you how to handle external workflow actions.  The Custom Workflow Host is intended primarily to help you build and debug your own custom workflow extensions (ie types implementing IWorkflowTypeExtender).  The MDS Workflow Host that ships with the project is fine, but it&amp;#39;s hard to test and debug your custom workflow using it.  With the Custom Workflow Host you can just hit F5 in Visual Studio and test and debug your custom workflow extensions.&lt;br /&gt;&lt;br /&gt;Additionally there are some minor API changes in the CustomAppUtilities project.  The ServiceClient in there is enhanced with several convenience methods to make working to the MDS web services easier.  So instead of creating a Service Reference directly to MDS, you can just use the one in the CustomAppUtiltities project.  The external workflow sample has code to connect back to MDS using the enhanced ServiceClient and read and write entity member data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A set of useful add-ons for SQL Server Master Data Services, including utilities for generating an MDS model, loading the model, writing a custom UI for model data and integrating the model with SharePoint BCS.&lt;br /&gt;&lt;br /&gt;This project is a collection of utilities I created over the course of working with customers to implement SQL Server Master Data Services.  They are intended to speed up MDS implementations and help out with some common requests we&amp;#39;ve gotten from customers.  I am not part of the Master Data Services product team and this code is provided as-is for your evaluation. &lt;br /&gt;&lt;br /&gt;These utilities help with the following scenarios:&lt;br /&gt;&lt;br /&gt;1) Importing an existing relational model into Master Data Services&lt;br /&gt;&lt;br /&gt;2) Writing custom business rule actions and invoking external workflows.&lt;br /&gt;&lt;br /&gt;3) Viewing and Editing model data from custom .NET code or from SharePoint using the Business Connectivity Services.&lt;br /&gt;&lt;br /&gt;4) Viewing and Editing model data from a custom ASP.NET UI with full data binding support.  This enables you to build custom UI&amp;#39;s for MDS with little or no coding.&lt;br /&gt;&lt;br /&gt;5) Understanding the MDS Web Services interface by providing sample code for how to interact with various parts of the API.&lt;br /&gt;&lt;br /&gt;There are four utilities included:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MDSDataSource Control&lt;/b&gt;&lt;br /&gt;&lt;b&gt;CRUD Web Service Generator&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Custom Workflow Host and Sample IWorkflowTypeExtender &lt;/b&gt;&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt; &lt;br /&gt; &lt;br /&gt;Here are some more details about the utilities:&lt;br /&gt; &lt;br /&gt;&lt;b&gt;MDSDataSourceControl&lt;/b&gt; for data binding ASP.NET UI to MDS Model Data, supporting sorting, paging CRUD eg:&lt;br /&gt; &lt;pre&gt;
      &amp;lt;asp:GridView ID=&amp;quot;gvMembers&amp;quot; runat=&amp;quot;server&amp;quot; AllowPaging=&amp;quot;True&amp;quot; 
        AllowSorting=&amp;quot;True&amp;quot; AutoGenerateDeleteButton=&amp;quot;True&amp;quot; 
        AutoGenerateEditButton=&amp;quot;True&amp;quot; AutoGenerateSelectButton=&amp;quot;True&amp;quot; CellPadding=&amp;quot;4&amp;quot; 
        DataKeyNames=&amp;quot;Code&amp;quot; DataSourceID=&amp;quot;MDS&amp;quot; EnablePersistedSelection=&amp;quot;True&amp;quot; /&amp;gt;
      
 
      &amp;lt;mds:MdsDataSource 
          ID=&amp;quot;MDS&amp;quot; 
          runat=&amp;quot;server&amp;quot;  
          ModelName=&amp;quot;ProductionManagement&amp;quot; 
          EntityName=&amp;quot;Equipment&amp;quot; 
          SearchTerm=&amp;quot;DepartmentCode&amp;lt;&amp;gt; &amp;#39;UNK&amp;#39; AND AssetCategory  =&amp;#39;CAPITAL&amp;#39;&amp;quot;
          AttributeList=&amp;quot;Code, Name&amp;quot;          
          /&amp;gt;
 
 &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CRUD SOAP Web Service Generator&lt;/b&gt;&lt;br /&gt;Code and a web page for generating WCF SOAP service wrappers on top of the MDS Web Service.  The CRUD web services are suitable for integrating with SharePoint BCS.&lt;br /&gt;So for an entity like Equipment, it generates a web service with operations like:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
  [OperationContract]
  void Equipment_Add(Equipment entity);
 
  [OperationContract]
  void Equipment_Update(Equipment entity);
 
  [OperationContract]
  void Equipment_UpdateAttribute(string code, string attributeName, string attributeValue);
 
  [OperationContract]
  string Equipment_GetAttribute(string code, string attributeName);
 
  [OperationContract]
  void Equipment_Delete(string code);
 
  [OperationContract]
  Equipment Equipment_GetByCode(String code);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetByAttributeValue(String attributeName, String attributeValue);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetAll(int skip, int top, string orderBy);
 
 &lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;The CRUD Web Service generator (DataServiceGenerator.cs) is in the MDSCustomAppUtilities.dll, and there&amp;#39;s a sample admin portal page in the MDS Data Sample web site that you can use as an admin UI to generate the web services.&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt;&lt;br /&gt;A command-line utility to import model metadata from a SQL Server database.  For customers who do their data modeling in ERWin or somesuch to get jump-started on their MDS modeling.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;Usage: MDSModelImport
 
  Qualifiers:
    [-?]                   Print this help guide.
    -Server:STRING         Source SQL Server
    -Database:STRING       Source Database Name
    -Model:STRING          Name of the MDS Model to create.  It must not exist.
    [-Schema:STRING]       Schema to use for import.  Default is all schemas.
    [-MDSEndpoint:STRING]  URL to MDS Web Service.  Default is in MDSModelImport.exe.config
-----------------------------------
Examples
MDSModelImport.exe -server (local) -database AdventureWorks -schema HumanResources -model HumanResourcesModel -MDSEndpoint http://localhost/mds/Service/Service.svc

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is the second release of sample code, so if you want to use this, be prepared to provide feedback, especially if you run into trouble.  Use the Discussions and Issue Tracker to log any problems.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be posting a series of walkthroughs about these utilities on my BLOG:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx&lt;/a&gt;.&lt;br /&gt;David&lt;br /&gt;&lt;br /&gt;dbrowne&lt;i&gt;at&lt;/i&gt;microsoft&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dbrowne</author><pubDate>Fri, 29 Jun 2012 18:39:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120629063902P</guid></item><item><title>Updated Wiki: Home</title><link>http://mdsutilities.codeplex.com/wikipage?version=12</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;A set of useful add-ons for SQL Server Master Data Services, including utilities for generating an MDS model, loading the model, writing a custom UI for model data and integrating the model with SharePoint BCS.&lt;br /&gt;&lt;br /&gt;This project is a collection of utilities I created over the course of working with customers to implement SQL Server Master Data Services.  They are intended to speed up MDS implementations and help out with some common requests we&amp;#39;ve gotten from customers.  I am not part of the Master Data Services product team and this code is provided as-is for your evaluation. &lt;br /&gt;&lt;br /&gt;These utilities help with the following scenarios:&lt;br /&gt;&lt;br /&gt;1) Importing an existing relational model into Master Data Services&lt;br /&gt;&lt;br /&gt;2) Loading data into an MDS model without having to &amp;quot;pivot&amp;quot; the attributes into seperate rows.  This enables you to load MDS data from a simple TSQL script or SSIS package.&lt;br /&gt;&lt;br /&gt;3) Viewing and Editing model data from custom .NET code or from SharePoint using the Business Connectivity Services.&lt;br /&gt;&lt;br /&gt;4) Viewing and Editing model data from a custom ASP.NET UI with full data binding support.  This enables you to build custom UI&amp;#39;s for MDS with little or no coding.&lt;br /&gt;&lt;br /&gt;5) Understanding the MDS Web Services interface by providing sample code for how to interact with various parts of the API.&lt;br /&gt;&lt;br /&gt;There are four utilities included:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MDSDataSource Control&lt;/b&gt;&lt;br /&gt;&lt;b&gt;CRUD Web Service Generator&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Mds_staging database&lt;/b&gt;&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt; &lt;br /&gt; &lt;br /&gt;Here are some more details about the utilities:&lt;br /&gt; &lt;br /&gt;&lt;b&gt;MDSDataSourceControl&lt;/b&gt; for data binding ASP.NET UI to MDS Model Data, supporting sorting, paging CRUD eg:&lt;br /&gt; &lt;pre&gt;
      &amp;lt;asp:GridView ID=&amp;quot;gvMembers&amp;quot; runat=&amp;quot;server&amp;quot; AllowPaging=&amp;quot;True&amp;quot; 
        AllowSorting=&amp;quot;True&amp;quot; AutoGenerateDeleteButton=&amp;quot;True&amp;quot; 
        AutoGenerateEditButton=&amp;quot;True&amp;quot; AutoGenerateSelectButton=&amp;quot;True&amp;quot; CellPadding=&amp;quot;4&amp;quot; 
        DataKeyNames=&amp;quot;Code&amp;quot; DataSourceID=&amp;quot;MDS&amp;quot; EnablePersistedSelection=&amp;quot;True&amp;quot; /&amp;gt;
      
 
      &amp;lt;mds:MdsDataSource 
          ID=&amp;quot;MDS&amp;quot; 
          runat=&amp;quot;server&amp;quot;  
          ModelName=&amp;quot;ProductionManagement&amp;quot; 
          EntityName=&amp;quot;Equipment&amp;quot; 
          SearchTerm=&amp;quot;DepartmentCode&amp;lt;&amp;gt; &amp;#39;UNK&amp;#39; AND AssetCategory  =&amp;#39;CAPITAL&amp;#39;&amp;quot;
          AttributeList=&amp;quot;Code, Name&amp;quot;          
          /&amp;gt;
 
 &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CRUD SOAP Web Service Generator&lt;/b&gt;&lt;br /&gt;Code and a web page for generating WCF SOAP service wrappers on top of the MDS Web Service.  The CRUD web services are suitable for integrating with SharePoint BCS.&lt;br /&gt;So for an entity like Equipment, it generates a web service with operations like:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
  [OperationContract]
  void Equipment_Add(Equipment entity);
 
  [OperationContract]
  void Equipment_Update(Equipment entity);
 
  [OperationContract]
  void Equipment_UpdateAttribute(string code, string attributeName, string attributeValue);
 
  [OperationContract]
  string Equipment_GetAttribute(string code, string attributeName);
 
  [OperationContract]
  void Equipment_Delete(string code);
 
  [OperationContract]
  Equipment Equipment_GetByCode(String code);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetByAttributeValue(String attributeName, String attributeValue);
 
  [OperationContract]
  System.Collections.Generic.List&amp;lt;Equipment&amp;gt; Equipment_GetAll(int skip, int top, string orderBy);
 
 &lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;The CRUD Web Service generator (DataServiceGenerator.cs) is in the MDSCustomAppUtilities.dll, and there&amp;#39;s a sample admin portal page in the MDS Data Sample web site that you can use as an admin UI to generate the web services.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mds_staging database&lt;/b&gt;&lt;br /&gt;Enables entity-based staging with database with a stored procedure to generate SQL Views in front of the MDS Staging tables. &lt;br /&gt; &lt;br /&gt;For each entity a view is created that PIVOT’s the staged data, and puts an INSTEAD OF INSERT trigger on each view so that data loaded against the views is UNPIVOTED and loaded into the staging tables.   To set this up, run the DDL script available in downloads on the SQL Server instance that hosts your MDS database.  It includes some Synonyms that point to objects in the MDS database, so if your MDS database isn&amp;#39;t called &amp;quot;mds&amp;quot;, then you will need to edit the script.&lt;br /&gt;&lt;br /&gt;These artifacts are generated by a stored procedure in the database called GenerateStagingObjects.  So initially, or after you make a structural change to your model, just connect to SQL Server and run:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
  use mds_staging;
  exec dbo.GenerateStagingObjects &amp;#39;MyModelName&amp;#39;;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MDSModelImport&lt;/b&gt;&lt;br /&gt;A command-line utility to import model metadata from a SQL Server database.  For customers who do their data modeling in ERWin or somesuch to get jump-started on their MDS modeling.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;Usage: MDSModelImport
 
  Qualifiers:
    [-?]                   Print this help guide.
    -Server:STRING         Source SQL Server
    -Database:STRING       Source Database Name
    -Model:STRING          Name of the MDS Model to create.  It must not exist.
    [-Schema:STRING]       Schema to use for import.  Default is all schemas.
    [-MDSEndpoint:STRING]  URL to MDS Web Service.  Default is in MDSModelImport.exe.config
-----------------------------------
Examples
MDSModelImport.exe -server (local) -database AdventureWorks -schema HumanResources -model HumanResourcesModel -MDSEndpoint http://localhost/mds/Service/Service.svc

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is an initial release of sample code, so if you want to use this, be prepared to provide feedback, especially if you run into trouble.  Use the Discussions and Issue Tracker to log any problems.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll be posting a series of walkthroughs about these utilities on my BLOG:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx" class="externalLink"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/17/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-1-creating-the-model.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx" class="externalLink"&gt;http://blogs.msdn.com/b/dbrowne/archive/2010/12/20/implementing-an-master-data-management-solution-with-sql-server-master-data-services-and-the-mds-utilities-part-2-loading-the-model.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;David&lt;br /&gt;&lt;br /&gt;dbrowne&lt;i&gt;at&lt;/i&gt;microsoft&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dbrowne</author><pubDate>Tue, 21 Dec 2010 16:02:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20101221040215P</guid></item></channel></rss>