SQL Server 示例:模型部署包 (MDS)SQL Server Examples: Model Deployment Packages (MDS)
适用于:Applies to: SQL ServerSQL Server(所有支持的版本)
SQL ServerSQL Server (all supported versions)
Azure SQL 托管实例Azure SQL Managed Instance
Azure SQL 托管实例Azure SQL Managed Instance
SQL ServerSQL Server(所有支持的版本)
SQL ServerSQL Server (all supported versions)
Azure SQL 托管实例Azure SQL Managed Instance
Azure SQL 托管实例Azure SQL Managed Instance
安装 Master Data ServicesMaster Data Services时,包含使用数据的示例模型包。Sample model packages with data are included when you install Master Data ServicesMaster Data Services. 这些包文件的默认位置为 <drive> \Program FILES\MICROSOFT SQL Server\130\Master Data services\samples\packages。The default location for these package files is <drive>\Program Files\Microsoft SQL Server\130\Master Data Services\Samples\Packages.
有关如何部署示例模型包的说明,请参阅 部署示例模型和数据。For instructions on how to deploy the sample model packages, see Deploying Sample Models and Data. 可以使用 MDSModelDeploy 工具部署示例模型包。You deploy the sample model packages by using the MDSModelDeploy tool.
重要
中的示例更新 SQL Server 2019 (15.x)SQL Server 2019 (15.x)Sample Updates in SQL Server 2019 (15.x)SQL Server 2019 (15.x)
示例包已更新为支持以下新功能。The sample packages were updated to support the following new capabilities.
显示多对多关系。Show Many-to-Many Relationships.
有关详细信息,请参阅 示例模型中的 M2M 关系。For more information, see M2M Relationship in Sample Model.
限制基于域的属性的允许值。Constrain Allowed Values for Domain-based Attributes.
有关详细信息,请参阅创建基于域的属性 (Master Data Services)。For more information, see Create a Domain-Based Attribute (Master Data Services).
针对实体更改的需要批准。Require Approval for Entity Changes.
有关详细信息,请参阅 (Master Data Services)所需的批准 。For more information, see Approval Required (Master Data Services).
在业务规则中使用 Not 和 Else 运算符Use Not and Else Operators in Business Rules
有关详细信息,请参阅 业务规则示例。For more information, see Business Rule Examples.
实现自定义索引Implement Custom Index
有关详细信息,请参阅自定义索引 (Master Data Services)。For more information, see Custom Index (Master Data Services).
在 Master Data Services 中,包是包含可部署模型结构以及来自模型的数据(可选)的 XML 文件。In Master Data Services, a package is an XML file that contains a deployable model structure, and optionally, data from the model. 使用模型包可以将模型的副本从一个 MDS 环境移到另一个环境,或者在现有的 Master Data ServicesMaster Data Services 环境中创建新模型。Use model packages to move copies of models from one MDS environment to another, or to create new models in your existing Master Data ServicesMaster Data Services environment.
另请参阅See Also
使用 MDSModelDeploy 部署模型部署包Deploy a Model Deployment Package by Using MDSModelDeploy