管理 Business Connectivity Service 应用程序Manage Business Connectivity Service Applications

在 Microsoft 365 中的 SharePoint 中,可以创建 Business Connectivity Services (BCS) 与 SharePoint 网站外部的数据源(如 SQL Azure 数据库或 Windows Communication Foundation (WCF) web 服务)的连接。In SharePoint in Microsoft 365, you can create Business Connectivity Services (BCS) connections to data sources, such as SQL Azure databases or Windows Communication Foundation (WCF) web services, that are outside the SharePoint site. 创建这些连接后,可以在 SharePoint 管理中心管理或编辑 BCS 信息。Once you've created these connections, you can manage or edit BCS information in the SharePoint admin center. Microsoft SharePoint 结合使用 BCS 和 Secure Store Service 来访问和检索来自外部数据系统的 BDC 模型等数据。Microsoft SharePoint uses BCS together with Secure Store Services to access and retrieve data such as BDC Models from external data systems. 另请参阅 在 SharePoint 中部署 Business Connectivity Services 混合解决方案See also Deploy a Business Connectivity Services hybrid solution in SharePoint.

管理 BCS 权限Manage BCS permissions

安装程序完成后,用户权限控制对连接所提供的数据的访问。After setup is complete, user permissions control access to the data that the connection provides. BCS 具有两种类型的权限:BCS has two types of permissions:

  • 对象权限Object permissions

  • 元数据存储权限Metadata Store permissions

Business Connectivity Settings 中的 "编辑功能区",显示 "BDC 模型导入" 按钮和 "权限" 设置。

对象权限Object permissions

对象权限仅适用于特定的外部系统、BDC 模型或外部内容类型 (ECT) 。Object permissions apply only to a specific External System, BDC Model, or External Content Type (ECT). 每个 ECT 都是一个安全对象。Each ECT is a securable object. 例如,如果您有一个名为 WCFBookSales 的 ECT,则对象权限仅适用于 WCFBookSales 对象,而不应用于可能定义的任何其他 ECT。For example, if you have an ECT called WCFBookSales, object permissions apply only to the WCFBookSales object, and not to any other ECT that might be defined.

若要设置对象的对象权限,请执行以下步骤。To set object permissions for an object, follow these steps.

  1. 转到新的 SharePoint 管理中心的“更多功能”页面,然后使用在组织中具有管理员权限的帐户进行登录。Go to the More features page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

备注

如果使用的是 Office 365 Germany,请登录 Microsoft 365 管理中心,然后浏览到 SharePoint 管理中心并打开“更多功能”页面。 If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
如果使用的是由世纪互联(中国)运营的 Office 365,请登录 Microsoft 365 管理中心,然后浏览到 SharePoint 管理中心并打开“更多功能”页面。If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. 在 " BCS" 下,选择 " 打开"。Under BCS, select Open.

  2. 在 " 业务数据目录 " 部分中,选择 " 管理 BDC 模型和外部内容类型"。In the business data catalog section, select Manage BDC Models and External Content Types.

  3. 选中您要管理的 ECT 或外部系统的名称旁边的复选框。Select the check box next to the name of the ECT or external system that you want to manage.

  4. 在功能区上,选择 " 设置对象权限"。On the ribbon, select Set Object Permissions.

    SharePoint 中的 Business Connectivity Services 的 "设置对象权限" 对话框的屏幕截图。

  5. 在文本框中输入用户帐户或组名称,然后选择 " 添加"。Enter a user account or group name in the text box, and then select Add. 您还可以选择 " 浏览 " 以查找所需的名称。You can also select Browse to look for the name that you want.

  6. 选择要为其设置对 ECT 或外部系统的访问权限的帐户或组的名称。Select the name of the account or group for which you want to set access to the ECT or external system. 一次只能设置一个帐户的权限。You can set permissions for only one account at a time. 如果您有多个帐户或组,则必须通过一次选择一个帐户来单独设置每个帐户的访问级别。If you have multiple accounts or groups, you have to set levels of access for each account separately, by selecting them one at a time.

    下表介绍了权限及其关联的访问级别。The following table describes the permissions and their associated access levels.

PermissionPermission 备注Notes
编辑Edit
允许用户或组创建外部系统和 BDC 模型、导入 BDC 模型以及导出 BDC 模型。Allows the user or group to create External Systems and BDC Models, to import BDC Models, and to Export BDC Models. 应为具有高特权的用户保留此设置。This setting should be reserved for highly privileged users.
执行Execute
允许用户或组在 Ect 上执行 (创建、读取、更新、删除或查询) 的操作。Allows the user or group to execute operations (create, read, update, delete, or query) on ECTs.
在客户端中可选Selectable in clients
允许用户或组为任何 Ect 创建外部列表,并在外部项选取器中查看 Ect。Allows the user or group to create external lists for any ECTs, and to view the ECTs in the external item picker.
设置权限Set permissions
允许用户、组或声明设置对元数据存储的权限。Allows the user, group, or claim to set permissions on the Metadata Store.
必须至少有一个用户或组对每个 BCS 连接具有此权限,这样才能进行权限管理。At least one user or group must have this permission on every BCS connection so that permissions management can occur. 通过此权限,用户可以授予对元数据存储的 编辑 权限。With this permission, a user can grant Edit permissions to the Metadata Store. 应为具有高特权的用户保留此设置This setting should be reserved for highly privileged users

元数据存储权限Metadata Store Permissions

元数据存储权限全局应用于整个 BCS 存储。Metadata Store permissions apply globally to the whole BCS store. 也就是说,它们适用于为该外部数据系统定义的所有 BDC 模型、外部系统、Ect、方法和方法实例。That is, they apply to all BDC Models, external systems, ECTs, methods, and methods instances that are defined for that external data system. 您可以设置对元数据存储的权限,以确定哪些用户可以编辑项目并为存储区设置权限。You can set permissions on the metadata store to determine who can edit items and set permissions for the store.

元数据存储权限适用于许多对象,例如 BDC 模型、Ect 和外部系统。Metadata Store permissions apply to many objects, such as BDC Models, ECTs, and external systems. 由于元数据存储权限可以替换对象权限,因此必须仔细管理这些权限。Because Metadata Store permissions can replace object permissions, they must be managed carefully. 当应用于 forethought 时,元数据存储权限可以快速且完全地授予访问权限。When applied with forethought, Metadata Store permissions can grant access quickly and completely.

SPO 的 BCS 中的 "设置元数据存储权限" 对话框的图形。

若要设置元数据存储权限,请按照以下步骤操作。To set Metadata Store permissions, follow these steps.

  1. 在新 SharePoint 管理中心的左侧窗格中,选择 " 更多功能"。In the left pane of the new SharePoint admin center, select More features.

  2. 在 " BCS" 下,选择 " 打开"。Under BCS, select Open.

  3. 选择 " 管理 BDC 模型" 和 "外部内容类型"。Select Manage BDC Models and External Content Types.

  4. 在功能区上,选择 " 设置元数据存储权限"。On the ribbon, select Set Metadata Store Permissions.

  5. 在文本框中输入用户帐户或组,然后选择 " 添加"。Enter a user account or group into the text box, and then select Add. 您还可以选择 " 浏览 " 以查找所需的帐户。You can also select Browse to look for the account that you want.

  6. 帐户或组将显示在第二个文本框中。The account or group will appear in the second text box. 如果您有多个帐户或组,则必须一次选择一个帐户或组,以设置访问级别。If you have multiple accounts or groups, you must select them one at a time to set the level of access.

PermissionPermission 备注Notes
编辑Edit
允许用户或组创建外部系统和 BDC 模型、导入 BDC 模型以及导出 BDC 模型。Allows the user or group to create External Systems and BDC Models, to import BDC Models, and to export BDC Models. 应为具有高特权的用户保留此设置。This setting should be reserved for highly privileged users.
执行Execute
允许用户或组在 Ect 上执行 (创建、读取、更新、删除或查询) 的操作。Allows the user or group to execute operations (create, read, update, delete, or query) on ECTs.
在客户端中可选Selectable in clients
允许用户或组为任何 Ect 创建外部列表,并在外部项选取器中查看 Ect。Allow the user or group to create external lists for any ECTs, and to view the ECTs in the external item picker.
设置权限Set Permissions
允许用户、组或声明设置对元数据存储的权限。Allows the user, group, or claim to set permissions on the Metadata Store.
必须至少有一个用户或组对每个 BCS 连接具有此权限,这样才能进行权限管理。At least one user or group must have this permission on every BCS connection so that permissions management can occur.
通过此权限,用户可以授予对元数据存储的编辑权限。With this permission, a user can grant Edit permissions to the Metadata Store. 应为具有高特权的用户保留此设置。This setting should be reserved for highly privileged users.
  1. 若要将权限传播给元数据存储区中的所有项目,请选择 "将权限传播给 Bdc 元数据存储中的所有 Bdc 模型、外部系统和外部内容类型"To propagate permissions to all items in the Metadata Store, select Propagate permissions to all BDC Models, External Systems and External content types in the BDC Metadata Store. 如果选择此选项,则会将所有现有权限替换 (包括对象权限) 您可能已在所选 BCS 应用程序中的其他位置设置了其他任何位置。If you select this option, you'll replace all existing permissions (including object permissions) that you may have set anywhere else in your selected BCS Application.

将 Business Data Connectivity (BDC) 模型中导入或导出Import or export a Business Data Connectivity (BDC) Model

通过 BDC 模型视图,用户可以导入和导出业务数据连接的基础框架。The BDC Model view allows a user to import and export the underlying framework for the business data connection. 如果必须在新环境中重新创建连接,这将非常有用。This is very useful if you have to re-create the connection in a new environment. 可以导入 BDC 模型文件,以创建与外部系统的 ECT 连接。A BDC Model file can be imported to create an ECT connection to an external system.

您可以导入或导出两种类型的模型文件:You can import or export two types of model files:

模型 导出选定系统的 XML 元数据。Model Exports the XML metadata for a selected system.

资源 导出选定系统的本地化名称、属性和权限。Resource Exports the localized names, properties, and permissions for a selected system.

备注

您可以使用 XML 代码创建 BDC 模型。You can create a BDC Model using XML code. 如果这样做,请务必知道您不能将身份验证模式 RevertToSelf 和 SharePoint 与 直通 结合使用。If you do so, it's important to know that you cannot use the authentication modes RevertToSelf and PassThrough with SharePoint. 虽然您可能能够导入以 XML 编写的 BDC 模型,但该连接将无法使用。Although you might be able to import a BDC Model that was written in XML, the connection will not be usable.

导入 BDC 模型Import a BDC Model

导入 BDC 模型时,还将导入其指定的权限。When you import a BDC Model, you also import its specified permissions. 在导入 BDC 模型之前,最好了解导入的权限与现有权限的交互方式。Before you import a BDC Model, it's a good idea to understand how imported permissions interact with existing permissions.

BDC 模型的导入权限将添加到 BDC 服务中现有权限的存储中。Imported permissions for a BDC Model are added to the store of existing permissions in the BDC service. 如果某个对象的条目已经存在于访问控制列表中,则现有值将被导入文件中的权限信息覆盖。If an entry for an object already exists in the access control list, the existing value is overwritten with the permissions information from the imported file.

若要导入 BDC 模型,请按照以下步骤操作:To import a BDC Model, follow these steps:

  1. 在新 SharePoint 管理中心的左侧窗格中,选择 " 更多功能"。In the left pane of the new SharePoint admin center, select More features.

  2. 在 " BCS" 下,选择 " 打开"。Under BCS, select Open.

  3. 在 "business connectivity services" 部分中,选择 " 管理 BDC 模型和外部内容类型"。In the business connectivity services section, select Manage BDC Models and External Content Types.

  4. 在功能区上,选择 " 导入"。On the ribbon, select Import.

  5. 在 " BDC 模型 " 部分,输入 BDC 模型文件的名称。In the BDC Model section, enter the name of the BDC Model File. 模型名称不能包含任何特殊字符,如 ~ "#% & * : < > ?"The Model name must not include any special characters, such as ~ " # % & * : < > ? \ {|} 或字符0x7f。\ { | } or the character 0x7f. 您还可以选择 " 浏览 " 找到 * BDC 模型的 bdcm 文件。You can also select Browse to locate the *.bdcm file for a BDC Model.

    BCS 模型视图的屏幕截图。

  6. 在 " 文件类型 " 部分,选择 " 模型 " 或 " 资源 " 作为要导入的文件类型。In the File Type section, select Model or Resource as the file type that you want to import.

  7. 在 " 高级设置 " 部分中,选择要导入的以下一个或多个资源:In the Advanced Settings section, select one or more of the following resources to import:

  8. 本地化名称 ,以便为特定区域设置中的 ect 导入本地化名称。Localized names to import localized names for the ECTs in a particular locale. 导入的本地化名称将按业务数据连接与现有的本地化名称合并。Imported localized names are merged with the existing localized names by Business Data Connectivity.

  9. 要为 Ect 导入属性的属性Properties to import properties for ECTs. 导入的属性与现有的属性描述(按业务数据连接)合并。Imported properties are merged with the existing property descriptions by Business Data Connectivity.

  10. 在模型中导入 Ect 和其他安全对象的权限的权限Permissions to import permissions for ECTs and other securable objects in the model.

  11. (可选) 若要将资源设置保存在文件中供以后使用,请在 " 使用自定义环境设置 " 文本框中键入资源文件的名称。(Optional) To save the resource settings in a file for later use, type a name for the resource file in the Use Custom Environment Settings text box.

  12. 选择“导入”。Select Import.

导出 BDC 模型Export a BDC Model

您可以导出 BDC 模型,然后阅读其内容以确定连接之间的差异。You can export a BDC Model and then read its contents to determine differences between connections. 如果您正在进行故障排除,这可能很有用。This can be useful if you are troubleshooting. 您还可以将导出的 BDC 模型文件导入到另一个环境中以供测试或重复使用。You can also import an exported BDC Model file into another environment for testing or reuse.

若要导出 BDC 模型或资源文件,请按照以下步骤操作:To export a BDC Model or Resource file, follow these steps:

  1. 在新 SharePoint 管理中心的左侧窗格中,选择 " 更多功能"。In the left pane of the new SharePoint admin center, select More features.

  2. 在 " BCS" 下,选择 " 打开"。Under BCS, select Open.

  3. 选择 " 管理 BDC 模型" 和 "外部内容类型"。Select Manage BDC Models and External Content Types.

  4. 选择下拉列表,并在 " 视图 " 组中选择 " BDC 模型"。Select the dropdown, and in the View group, select BDC Model.

  5. 选择要导出的 BDC 模型的名称,在功能区上,选择 " 导出"。Select the name of the BDC Model that you want to export, on the ribbon, select Export.

  6. 在 "业务数据连接模型" 页上,选择要导出的模型或资源文件。On the Business Data Connectivity Models page, select the model or resource file to export.

  7. 在 "导出" 页上的 " 文件类型 " 部分中,若要指定要导出的文件的类型,请选择 " 模型 " 或 " 资源"。On the Export page, in the File Type section, to specify the type of file that you want to export, select Model or Resource.

  8. 在 " 高级设置 " 部分中,若要进一步优化数据导出,请选择以下一个或多个选项:In the Advanced Settings section, to further refine the data export, select one or more of the following:

  • 若要在特定区域设置中导出 Ect 的本地化名称,请选择 "本地化名称"。To export localized names for the ECTs in a particular locale, selectLocalized names.

  • 若要导出 Ect 的属性,请选择 " 属性"。To export properties for ECTs, select Properties.

  • 若要导出 Ect 的权限,请选择 " 权限"。To export permissions for ECTs, select Permissions.

  • 若要导出用于连接到外部系统的特定于实现的代理,请选择 " 代理"。To export an implementation-specific proxy that is used to connect to the external system, select Proxies. ..

  1. 如果保存了资源设置的文件供以后使用,请在 " 使用自定义环境设置 " 字段中输入要导出的文件的名称。If you saved a file of resource settings for later use, enter the name of the file to export in the Use Custom Environment Settings field.

  2. 选择 " 导出 " 以启动一个对话框,通过该对话框可以将 * . bdcm 文件保存到本地驱动器。Select Export to start a dialog that enables you to save a *.bdcm file to your local drive. 您可以 * 在文本编辑器中打开 ". bdcm" 文件。You can open the *.bdcm file in a text editor.

向外部内容类型添加操作Add actions to external content types

通过向 Ect 添加操作,管理员可以将统一资源定位器与 ECT (URL) 相关联。By adding actions to ECTs, administrators associate a uniform resource locator (URL) with an ECT. 这将自动启动一个指定的程序或打开一个指定的网页。This automatically starts a specified program or opens a specified web page.

操作可以指定基于 ECT 中的一个或多个字段的参数。Actions can specify parameters that are based on one or more fields in an ECT. 例如,您可以为指定搜索页 URL 的 ECT 创建操作。For example, you can create an action for an ECT that specifies a Search page URL. 此操作的参数可能是外部数据源中项的 ID。The parameter for this action might be the ID of an item in the external data source. 这将允许您为 ECT 指定自动搜索此项的自定义操作。This would allow you to specify a custom action for the ECT that automates search for this item.

备注

向 ECT 添加新操作时,该操作不会添加到该 ECT 的现有外部列表中。When you add a new action to an ECT, that action is not added to existing external lists for that ECT. 该操作仅适用于 ECT 的新外部列表。The action is only available in new external lists for the ECT.

若要向 ECT 添加操作,请按照以下步骤操作。To add an action to an ECT, follow these steps.

  1. 在新 SharePoint 管理中心的左侧窗格中,选择 " 更多功能"。In the left pane of the new SharePoint admin center, select More features.

  2. 在 " BCS" 下,选择 " 打开"。Under BCS, select Open.

  3. 选择 " 管理 BDC 模型" 和 "外部内容类型"。Select Manage BDC Models and External Content Types.

  4. 指向要向其添加操作的 ECT 的名称,然后选择出现的箭头。Point to the name of the ECT to which you want to add an action, and then select the arrow that appears. 从菜单中,要打开 " 添加操作 " 页,请选择 " 添加操作"。From the menu, to open the Add Action page, select Add Action.

  5. 在 " 名称 " 字段中,为操作提供有意义的名称。In the Name field, give the action a meaningful name.

  6. 在 "URL" 字段中,对于要打开的操作,请输入 URL。In the URL field, for the action you want to open, enter the URL.

    备注

    在控件下,可以找到示例 URL。Under the control, you can find an example URL. 该示例演示如何添加一个 (或多个) 参数占位符(如 {0} ),或 {1} (http://www.adventure-works.com/sample.aspx?p0={0}&amp ;p 1 = {1} ) 。The example shows how to add one (or more) parameter place-holders such as {0}, or {1} (http://www.adventure-works.com/sample.aspx?p0={0}&p1={1} ).

  7. 如果您希望网站上的 web 部件能够使用此新操作,请选择下列选项之一:If you want web parts on the site to be able to use this new action, select one of the following options:

CommandCommand ActionAction
Yes
在新的浏览器窗口中启动操作, (将页面上下文保留) 。Starts the action in a new browser window (preserves the page context).
No
在同一个浏览器窗口中启动操作。Starts the action in the same browser window.
  1. 在 " URL 参数 " 字段中,指定 URL 所需的任何参数。In the URL Parameters field, specify any parameters that are required by the URL. 它们在接口中的编号从0开始。These are numbered in the interface starting at 0.

  2. 决定是否要使用 图标Decide if you want to use an Icon or not. 此字段还允许您使用标准图标。This field also allows you to use Standard icons.

  3. 如果您希望操作成为默认操作,请选中 " 默认操作 " 复选框。If you want the action to be the default action, select the Default Action check box.

    重要

    参数可以包含标识信息,如姓名和社会保险号码。Parameters can contain personally identifying information such as names and Social Security numbers. 在设计操作时,请注意不要使用显示标识个人身份信息的字段。When you design an action, be careful not to use fields that display personally identifying information.

查看外部数据和外部数据设置View external data and external data settings

您可以使用功能区的 " 视图 " 部分选择 BCS 连接的不同视图。You use the View section of the ribbon to choose different views of BCS connections. 这三个视图以不同的方式显示有关 BCS 连接的信息,并为您提供了对不同操作的访问权限。The three views display information about the BCS connection in different ways, and give you access to different actions. 一定要熟悉这些视图,因为某些任务仅在特定视图中可用。It is important to become familiar with these views because some tasks are available only in specific views.

这三个视图选项为 BDC 模型、外部系统和外部内容类型,如下图所示。The three view options are BDC Models, External Systems, and External Content Types, as shown in the following illustration.

用于 BCS 数据目录视图的视图选择的屏幕截图。

有关如何使用这些视图来帮助管理 BCS 的详细信息,请参阅以下各节。For more information about how you can use these views to help manage BCS, see the sections that follow.

外部内容类型视图External Content Types view

默认情况下,BCS 连接使用 " 外部内容类型 " 视图。By default, the BCS connection uses the External Content Types view. 此视图显示了服务应用程序信息,并列出了以下信息:This view shows Service Application Information, and lists the following information:

  • ECT 名称ECT name

  • ECT 显示名称ECT display name

  • ECT 类型命名空间ECT type namespace

  • 命名空间版本Namespace version

  • 外部系统名称External system name

标准 BCS 外部内容类型视图中功能区的屏幕截图。

对于 BCS 中的大多数进程,此视图已足够。For most processes in BCS, this view is sufficient. 但是,如果有很多 Ect,则此视图很难导航。However, if there are many ECTs, this view can be difficult to navigate.

外部系统视图External Systems view

" 外部系统 " 视图根据其源系统显示 BCS 连接。The External Systems view shows a BCS connection in terms of its system of origin. 如果想要在创建 BCS 之后知道 BCS 连接信息,则此视图很有用。This view is useful if you want to know the BCS connection information after you create the BCS. 在此视图中,可以看到命名的外部系统的属性设置。In this view, you can see the property settings for a named External System. 此外,还可以配置一些属性设置。In addition, you can configure some of the property settings.

在 SPO 的 BCS 的外部视图中时功能区的 AQ 屏幕截图。

查看属性设置View property settings

外部系统的名称在此页上显示为可选择的链接 (导向性 URL) 。The name of the External System appears on this page as a selectable link (a navigable URL). 您可以选择该 URL 打开一个窗口,其中显示该存储的原始属性设置。You can select the URL to open a window that shows the original property settings for that store. 此外,如果您已连接到 SQL Azure,则可以在此视图中查看数据库服务器名称和数据库。In addition, if you are connected to SQL Azure, you can see the database server name and database, in this view.

根据 BCS 连接的类型,属性设置可以包含以下项的任意组合:Depending on the type of BCS connection, the property settings can include any combination of the following items:

  • 访问提供程序 (例如 WCF 服务) Access Provider (such as WCF Service)

  • 身份验证模式 (例如用户的标识) Authentication Mode (such as User's Identity)

  • 数据库服务器Database Server

  • 模拟级别 (例如,无、匿名、标识、模拟、委派) Impersonation Level (such as None, Anonymous, Identification, Impersonation, Delegation)

  • 初始数据库名称Initial Database name

  • 集成安全 (如 SSPI) Integrated Security (such as SSPI)

  • 安全存储实现Secure Store Implementation

  • 安全存储目标应用程序 ID (作为在安全存储中输入的 ID) Secure Store Target Application ID (as the ID entered in Secure Store)

  • 服务终结点地址 (如指向 SomeWCFService 的 URL) Service EndPoint Address (such as the URL pointing to SomeWCFService.svc)

  • 连接池 (活动/非活动) Connection Pooling (Active/Inactive)

  • 辅助安全存储目标应用程序 IDSecondary Secure Store Target Application ID

  • 安全存储实现Secure Store Implementation

配置属性设置Configure property settings

如果指向外部系统名称,则可以打开包含 " 设置 " 命令的快捷菜单。If you point to an External System Name, you can open a shortcut menu that includes a Settings command. 这对于使用 Windows Communication Foundation (WCF) Web 服务的 SharePoint 连接很有用。This is useful for SharePoint connections that use Windows Communication Foundation (WCF) Web Services. 通过从菜单中选择 " 设置 " 选项,可以配置以下任何设置:By selecting the Settings option from the menu, you can configure any of the following settings:

  • 元数据交换 URLMetadata Exchange URL

  • 元数据交换发现模式Metadata Exchange Discovery Mode

  • Web Services 描述语言 (WDSL) 身份验证模式Web Services Description Language (WDSL) Authentication Mode

  • WSDL 安全存储目标应用程序 IdWSDL Secure Store Target Application Id

  • 安全存储实现。Secure Store Implementation.

BDC 模型视图BDC Model view

BDC 模型视图提供允许您导入或导出 BDC 模型的功能区命令。The BDC Model view offers ribbon commands that enable you to import or export BDC Models. 此外,BDC 模型视图可更轻松地在非常大的 Ect 集合中移动。In addition, the BDC Model view can make it easier to move around in a very large collection of ECTs. 由于 BDC 模型显示每个不同连接的超链接,而不是显示每个连接的所有 Ect,因此它可以创建更易于管理的列表。Because the BDC Model shows hyperlinks for each distinct connection, rather than showing all ECTs for each connection, it can make a more manageable list.

SPO 的 BCS 中的 BDC 模型视图功能区的图形。

如果要查看 BDC 模型的所有 Ect,请选择模型的名称。If you want to see all the ECTs for a BDC Model, select the name of the Model. 如果选择 ECT 的名称,则打开一个表,其中显示为 ECT 定义的字段。If you select the name of an ECT, open a table that shows the fields that are defined for the ECT. 它与下表类似。It resembles the following table.

名称Name 类型Type 默认显示Display by Default
订单 IdOrder Id
System.StringSystem.String
No
员工 IdEmployee Id
System.StringSystem.String
No
运费Freight
可以为 Null 的 ' 1 [[System.object ... .。。System.Nullable '1[[System.Decimal, ....
No

此显示可以与通过 ECT 连接的数据源的布局进行密切镜像,从而更好地深入了解基础数据的结构。This display can closely mirror the layout of the data source connected via an ECT, and give better insight into the structure of the underlying data.

此外,还会在页面底部显示此 ECT 的任何关联、操作或筛选器。Also, at the bottom of the page, any Associations, Actions, or Filters for this ECT appear.