模型 (Master Data Services)Models (Master Data Services)

本主題適用於: 是SQL Server (僅限 Windows)否Azure SQL Database否Azure SQL 資料倉儲否平行處理資料倉儲 THIS TOPIC APPLIES TO: yesSQL Server (Windows only)noAzure SQL DatabasenoAzure SQL Data WarehousenoParallel Data Warehouse

模型是 Master Data ServicesMaster Data Services中最高層級的資料組織。Models are the highest level of data organization in Master Data ServicesMaster Data Services. 模型定義主要資料管理方案中的資料結構。A model defines the structure of data in your master data management solution. 模型包含下列物件:A model contains the following objects:

  • 實體Entities

  • 屬性和屬性群組Attributes and attribute groups

  • 明確和衍生階層Explicit and derived hierarchies

  • 集合Collections

    模型組織主要資料的結構。Models organize the structure of your master data. 您的 Master Data ServicesMaster Data Services 實作可以有一個或多個模型,其中每個模型都會將類似資料分組在一起。Your Master Data ServicesMaster Data Services implementation can have one or many models that each group similar kinds of data. 主要資料通常以四種方式分類:人員、位置、東西或概念。In general, master data can be categorized in one of four ways: people, places, things, or concepts. 例如,您可以建立一個 Product 模型來容納產品相關的資料,或是建立一個 Customer 模型來容納客戶相關的資料。For example, you can create a Product model to contain product-related data or a Customer model to contain customer-related data.

    您可以指派使用者和群組權限來檢視及更新模型內的物件。You can assign users and groups permission to view and update objects within the model. 如果您未提供模型的權限,就不會顯示權限。If you do not give permission to the model, it is not displayed.

    您可以在任何給定的時刻,於模型內建立主資料的複本。At any given time, you can create copies of the master data within a model. 這些複本稱為版本。These copies are called versions.

    當您在測試環境中定義模型時,不論有沒有對應的資料,您都可以從測試環境到實際執行環境來部署此模型。When you have defined a model in a test environment, you can deploy it, with or without the corresponding data, from the test environment to a production environment. 這樣就不需要在實際執行環境內重建模型。This eliminates the need to recreate your models in your production environment.

模型如何與其他物件相關聯How Models Relate to Other Objects

模型包含實體。A model contains entities. 實體包含屬性、明確階層和集合。Entities contain attributes, explicit hierarchies, and collections. 屬性可以包含在屬性群組中。Attributes can be contained in attribute groups. 當實體做為另一個實體的屬性時,就會有網域屬性。Domain-based attributes exist when an entity is used as an attribute for another entity.

下圖顯示模型中物件之間的關聯性。This image shows the relationships among the objects in a model.

Master Data Services 模型中的物件Objects in a Master Data Services Model

注意

衍生階層也是模型物件,但在上圖中未顯示。Derived hierarchies are also model objects, but they are not shown in the image. 衍生階層衍生自實體之間存在的網域屬性關聯性。Derived hierarchies are derived from the domain-based attribute relationships that exist between entities. 如需詳細資訊,請參閱衍生階層 (Master Data Services)See Derived Hierarchies (Master Data Services) for more information.

主要資料是模型物件中包含的資料。Master data is the data that is contained in the model objects. Master Data ServicesMaster Data Services中,主要資料是儲存為實體中的成員。In Master Data ServicesMaster Data Services, master data is stored as members in an entity.

模型物件是在 使用者介面的 [系統管理] 主資料管理員Master Data Manager 功能區域中進行維護。Model objects are maintained in the System Administration functional area of the 主資料管理員Master Data Manager user interface.

模型範例Model Example

在下列範例中,Product 模型中的物件以邏輯方式分組產品相關資料。In the following example, the objects in the Product model logically group product-related data.

產品模型主要資料範例Product Model Master Data Example

其他常見的模型如下:Other common models are:

  • 帳戶,可能包括類似資產負債表帳戶、損益表帳戶、統計資料及帳戶類型等實體。Accounts, which could include entities such as balance sheet accounts, income statement accounts, statistics, and account type.

  • 客戶,可能包括類似性別、教育、職業及婚姻狀態等實體。Customer, which could include entities such as gender, education, occupation, and marital status.

  • 地理位置,可能包括類似郵遞區號、城市、縣市、州、省、區域、領域、國家/地區及大陸等實體。Geography, which could include entities such as postal codes, cities, counties, states, provinces, regions, territories, countries, and continents.

工作描述Task Description 主題Topic
建立模型來組織您的主要資料。Create a model to organize your master data. 建立模型 (Master Data Services)Create a Model (Master Data Services)
變更現有模型的名稱。Change the name of an existing model. 編輯模型 (Master Data Services)Edit Model (Master Data Services)
刪除現有模型。Delete an existing model. 刪除模型 (Master Data Services)Delete a Model (Master Data Services)