Artefact de solution : Metadata.xml
Dernière modification : lundi 19 avril 2010
S’applique à : SharePoint Server 2010
Cette rubrique présente le contenu du fichier BDC Metadata.xml utilisé dans la solution déclarative Outlook Customer Orders.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schemas.microsoft.com/windows/2007/BusinessDataCatalog BDCMetadata.xsd" Name="AWContosoModel" xmlns="https://schemas.microsoft.com/windows/2007/BusinessDataCatalog">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<LobSystems>
<LobSystem Type="Wcf" Name="AdventureWorksContosoLOB">
<Properties>
<Property Name="WcfMexDiscoMode" Type="System.String">Disco</Property>
<Property Name="WcfMexDocumentUrl" Type="System.String">Enter Web service WCF endpoint URL</Property>
<Property Name="WcfProxyNamespace" Type="System.String">BCSServiceProxy</Property>
<Property Name="WildcardCharacter" Type="System.String">*</Property>
<Property Name="WsdlFetchAuthenticationMode" Type="System.String">PassThrough</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Proxy />
<LobSystemInstances>
<LobSystemInstance Name="AdventureWorksContosoLOBInstance">
<Properties>
<Property Name="ShowInSearchUI" Type="System.String"></Property>
<Property Name="WcfAuthenticationMode" Type="System.String">PassThrough</Property>
<Property Name="WcfEndpointAddress" Type="System.String">Enter Web service URL</Property>
</Properties>
</LobSystemInstance>
</LobSystemInstances>
<Entities>
<Entity Namespace="AdventureWorksContoso" Version="1.0.0.0" EstimatedInstanceCount="10000" Name="Customer" DefaultDisplayName="Customer">
<Properties>
<Property Name="OutlookItemType" Type="System.String">Contact</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Identifiers>
<Identifier TypeName="System.Int32" Name="customerId" />
</Identifiers>
<Methods>
<Method IsStatic="false" Name="UpdateCustomer">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="customer">
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer, AdventureWorksContosoLOB" Name="customer">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" IdentifierName="customerId" Name="CustomerId" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="Title" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="FirstName" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="MiddleName" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="LastName" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="EmailAddress" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="Phone" />
<TypeDescriptor TypeName="System.DateTime" UpdaterField="true" Name="ModifiedDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Updater" Name="UpdateCustomer" DefaultDisplayName="Update Customer">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="CreateCustomer">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="customer">
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer, AdventureWorksContosoLOB" Name="customer">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" CreatorField="true" IdentifierName="customerId" Name="CustomerId" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="Title" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="FirstName" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="MiddleName" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="LastName" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="EmailAddress" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="Phone" />
<TypeDescriptor TypeName="System.DateTime" CreatorField="true" Name="ModifiedDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
<Parameter Direction="Return" Name="CreateCustomer">
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer, AdventureWorksContosoLOB" Name="CreateCustomer">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" IdentifierName="customerId" Name="CustomerId" />
<TypeDescriptor TypeName="System.String" Name="Title" />
<TypeDescriptor TypeName="System.String" Name="FirstName" />
<TypeDescriptor TypeName="System.String" Name="MiddleName" />
<TypeDescriptor TypeName="System.String" Name="LastName" />
<TypeDescriptor TypeName="System.String" Name="EmailAddress" />
<TypeDescriptor TypeName="System.String" Name="Phone" />
<TypeDescriptor TypeName="System.DateTime" Name="ModifiedDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Creator" ReturnParameterName="CreateCustomer" Default="true" Name="CreateCustomer" DefaultDisplayName="Create Customer">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="GetCustomerById">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="customerId">
<TypeDescriptor TypeName="System.Int32" IdentifierName="customerId" Name="customerId" />
</Parameter>
<Parameter Direction="Return" Name="GetCustomerById">
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer, AdventureWorksContosoLOB" Name="GetCustomerById">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" ReadOnly="true" IdentifierName="customerId" Name="CustomerId" />
<TypeDescriptor TypeName="System.String" Name="Title">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Title</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="FirstName">
<Properties>
<Property Name="OfficeProperty" Type="System.String">FirstName</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="MiddleName">
<Properties>
<Property Name="OfficeProperty" Type="System.String">MiddleName</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="LastName">
<Properties>
<Property Name="OfficeProperty" Type="System.String">LastName</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="EmailAddress">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Email1Address</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="Phone">
<Properties>
<Property Name="OfficeProperty" Type="System.String">BusinessTelephoneNumber</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.DateTime" Name="ModifiedDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="SpecificFinder" ReturnParameterName="GetCustomerById" Default="true" Name="GetCustomerById" DefaultDisplayName="Read Item Customer">
<Properties>
<Property Name="LastDesignedOfficeItemType" Type="System.String">Contact</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="GetCustomers">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="Return" Name="GetCustomers">
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer[], AdventureWorksContosoLOB" IsCollection="true" Name="GetCustomers">
<TypeDescriptors>
<TypeDescriptor TypeName="BCSServiceProxy.SalesCustomer, AdventureWorksContosoLOB" Name="GetCustomersElement">
<TypeDescriptors>
<TypeDescriptor TypeName="System.Int32" ReadOnly="true" IdentifierName="customerId" Name="CustomerId" />
<TypeDescriptor TypeName="System.String" Name="Title" />
<TypeDescriptor TypeName="System.String" Name="FirstName">
<Properties>
<Property Name="ShowInPicker" Type="System.Boolean">true</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="MiddleName" />
<TypeDescriptor TypeName="System.String" Name="LastName">
<Properties>
<Property Name="ShowInPicker" Type="System.Boolean">true</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="EmailAddress">
<Properties>
<Property Name="ShowInPicker" Type="System.Boolean">true</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="Phone" />
<TypeDescriptor TypeName="System.DateTime" Name="ModifiedDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Finder" ReturnParameterName="GetCustomers" Default="true" Name="GetCustomers" DefaultDisplayName="Customer Read List">
<Properties>
<Property Name="RootFinder" Type="System.String"></Property>
<Property Name="UseClientCachingForSearch" Type="System.String"></Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
</Methods>
</Entity>
<Entity Namespace="AdventureWorksContoso" Version="1.0.0.0" EstimatedInstanceCount="10000" Name="OrderHeader" DefaultDisplayName="OrderHeader">
<Properties>
<Property Name="OutlookItemType" Type="System.String">Task</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Identifiers>
<Identifier TypeName="System.Int32" Name="salesOrderHeaderId" />
</Identifiers>
<Methods>
<Method IsStatic="false" Name="GetSalesOrderHeaders">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="Return" Name="GetSalesOrderHeaders">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader[], AdventureWorksContosoLOB" IsCollection="true" Name="GetSalesOrderHeaders">
<TypeDescriptors>
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="GetSalesOrderHeadersElement">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" Name="Comment" />
<TypeDescriptor TypeName="System.Int32" Name="ContactID" />
<TypeDescriptor TypeName="System.String" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CreditCardID" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CurrencyRateID" />
<TypeDescriptor TypeName="System.Int32" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" Name="DueDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="Freight">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Boolean" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" Name="OrderDate">
<Properties>
<Property Name="ShowInPicker" Type="System.Boolean">true</Property>
</Properties>
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" ReadOnly="true" IdentifierName="salesOrderHeaderId" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" Name="SalesOrderNumber">
<Properties>
<Property Name="ShowInPicker" Type="System.Boolean">true</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.DateTime" Name="ShipDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="SalesPersonID" />
<TypeDescriptor TypeName="System.Decimal" Name="SubTotal">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="TaxAmt">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="TerritoryID" />
<TypeDescriptor TypeName="System.Decimal" Name="TotalDue">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Finder" ReturnParameterName="GetSalesOrderHeaders" Default="true" Name="GetSalesOrderHeaders" DefaultDisplayName="OrderHeader Read List">
<Properties>
<Property Name="RootFinder" Type="System.String"></Property>
<Property Name="UseClientCachingForSearch" Type="System.String"></Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="UpdateSalesOrderHeader">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="salesOrderHeader">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="salesOrderHeader">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="Comment" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="ContactID" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UpdaterField="true" Name="CreditCardID" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UpdaterField="true" Name="CurrencyRateID" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" UpdaterField="true" Name="DueDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" UpdaterField="true" Name="Freight">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Boolean" UpdaterField="true" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" UpdaterField="true" Name="OrderDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" IdentifierName="salesOrderHeaderId" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" UpdaterField="true" Name="SalesOrderNumber" />
<TypeDescriptor TypeName="System.DateTime" UpdaterField="true" Name="ShipDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" UpdaterField="true" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UpdaterField="true" Name="SalesPersonID" />
<TypeDescriptor TypeName="System.Decimal" UpdaterField="true" Name="SubTotal">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" UpdaterField="true" Name="TaxAmt">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UpdaterField="true" Name="TerritoryID" />
<TypeDescriptor TypeName="System.Decimal" UpdaterField="true" Name="TotalDue">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Updater" Name="UpdateSalesOrderHeader" DefaultDisplayName="Update OrderHeader">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="GetOrdersForCustomer">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="customerId">
<TypeDescriptor TypeName="System.Int32" IdentifierName="customerId" IdentifierEntityName="Customer" IdentifierEntityNamespace="AdventureWorksContoso" ForeignIdentifierAssociationName="GetOrdersForCustomer" Name="customerId" />
</Parameter>
<Parameter Direction="Return" Name="GetOrdersForCustomer">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader[], AdventureWorksContosoLOB" IsCollection="true" Name="GetOrdersForCustomer">
<TypeDescriptors>
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="GetOrdersForCustomerElement">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" Name="Comment" />
<TypeDescriptor TypeName="System.Int32" Name="ContactID" />
<TypeDescriptor TypeName="System.String" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CreditCardID" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CurrencyRateID" />
<TypeDescriptor TypeName="System.Int32" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" Name="DueDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="Freight">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Boolean" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" Name="OrderDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" ReadOnly="true" IdentifierName="salesOrderHeaderId" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" Name="SalesOrderNumber" />
<TypeDescriptor TypeName="System.DateTime" Name="ShipDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="SalesPersonID" />
<TypeDescriptor TypeName="System.Decimal" Name="SubTotal">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="TaxAmt">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="TerritoryID" />
<TypeDescriptor TypeName="System.Decimal" Name="TotalDue">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<Association Name="GetOrdersForCustomer" Type="AssociationNavigator" ReturnParameterName="GetOrdersForCustomer" DefaultDisplayName="OrderHeader Navigate Association">
<Properties>
<Property Name="ForeignFieldMappings" Type="System.String">
<?xml version="1.0" encoding="utf-8"?>
<ForeignFieldMappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ForeignFieldMappingsList>
<ForeignFieldMapping ForeignIdentifierName="customerId" ForeignIdentifierEntityName="Customer" ForeignIdentifierEntityNamespace="AdventureWorksContoso" FieldName="CustomerID" />
</ForeignFieldMappingsList>
</ForeignFieldMappings>
</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<SourceEntity Namespace="AdventureWorksContoso" Name="Customer" />
<DestinationEntity Namespace="AdventureWorksContoso" Name="OrderHeader" />
</Association>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="CreateSalesOrderHeader">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="salesOrderHeader">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="salesOrderHeader">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="Comment" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="ContactID" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" CreatorField="true" Name="CreditCardID" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" CreatorField="true" Name="CurrencyRateID" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" CreatorField="true" Name="DueDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" CreatorField="true" Name="Freight">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Boolean" CreatorField="true" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" CreatorField="true" Name="OrderDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" IdentifierName="salesOrderHeaderId" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" CreatorField="true" Name="SalesOrderNumber" />
<TypeDescriptor TypeName="System.DateTime" CreatorField="true" Name="ShipDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" CreatorField="true" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" CreatorField="true" Name="SalesPersonID" />
<TypeDescriptor TypeName="System.Decimal" CreatorField="true" Name="SubTotal">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" CreatorField="true" Name="TaxAmt">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" CreatorField="true" Name="TerritoryID" />
<TypeDescriptor TypeName="System.Decimal" CreatorField="true" Name="TotalDue">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
<Parameter Direction="Return" Name="CreateSalesOrderHeader">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="CreateSalesOrderHeader">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" Name="Comment" />
<TypeDescriptor TypeName="System.Int32" Name="ContactID" />
<TypeDescriptor TypeName="System.String" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CreditCardID" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CurrencyRateID" />
<TypeDescriptor TypeName="System.Int32" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" Name="DueDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="Freight" />
<TypeDescriptor TypeName="System.Boolean" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" Name="OrderDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" Name="SalesOrderNumber" />
<TypeDescriptor TypeName="System.DateTime" Name="ShipDate">
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="SalesPersonID" />
<TypeDescriptor TypeName="System.Decimal" Name="SubTotal" />
<TypeDescriptor TypeName="System.Decimal" Name="TaxAmt" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="TerritoryID" />
<TypeDescriptor TypeName="System.Decimal" Name="TotalDue" />
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="Creator" Name="CreateSalesOrderHeader" DefaultDisplayName="Create OrderHeader">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
<Method IsStatic="false" Name="GetSalesOrderHeaderById">
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
<Parameters>
<Parameter Direction="In" Name="salesOrderHeaderId">
<TypeDescriptor TypeName="System.Int32" IdentifierName="salesOrderHeaderId" Name="salesOrderHeaderId" />
</Parameter>
<Parameter Direction="Return" Name="GetSalesOrderHeaderById">
<TypeDescriptor TypeName="BCSServiceProxy.SalesOrderHeader, AdventureWorksContosoLOB" Name="GetSalesOrderHeaderById">
<TypeDescriptors>
<TypeDescriptor TypeName="System.String" Name="AccountNumber" />
<TypeDescriptor TypeName="System.Int32" Name="BillToAddressID" />
<TypeDescriptor TypeName="System.String" Name="Comment">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Body</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="ContactID" />
<TypeDescriptor TypeName="System.String" Name="CreditCardApprovalCode" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CreditCardID">
<Properties>
<Property Name="NullEquivalentValueInForms" Type="System.Int32">0</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CurrencyRateID">
<Properties>
<Property Name="NullEquivalentValueInForms" Type="System.Int32">0</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="CustomerID" />
<TypeDescriptor TypeName="System.DateTime" Name="DueDate">
<Properties>
<Property Name="OfficeProperty" Type="System.String">DueDate</Property>
</Properties>
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="Freight">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Boolean" Name="OnlineOrderFlag" />
<TypeDescriptor TypeName="System.DateTime" Name="OrderDate">
<Properties>
<Property Name="OfficeProperty" Type="System.String">StartDate</Property>
</Properties>
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.String" Name="PurchaseOrderNumber" />
<TypeDescriptor TypeName="System.Int32" Name="RevisionNumber" />
<TypeDescriptor TypeName="System.Int32" ReadOnly="true" IdentifierName="salesOrderHeaderId" Name="SalesOrderID" />
<TypeDescriptor TypeName="System.String" Name="SalesOrderNumber">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Subject</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.DateTime" Name="ShipDate">
<Properties>
<Property Name="OfficeProperty" Type="System.String">DateCompleted</Property>
</Properties>
<Interpretation>
<NormalizeDateTime LobDateTimeMode="UTC" />
</Interpretation>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Int32" Name="ShipMethodID" />
<TypeDescriptor TypeName="System.Int32" Name="ShipToAddressID" />
<TypeDescriptor TypeName="System.Int32" Name="Status" />
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="SalesPersonID">
<Properties>
<Property Name="NullEquivalentValueInForms" Type="System.Int32">0</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="SubTotal">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="TaxAmt">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="TerritoryID">
<Properties>
<Property Name="NullEquivalentValueInForms" Type="System.Int32">0</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor TypeName="System.Decimal" Name="TotalDue">
<Properties>
<Property Name="Decimal Digits" Type="System.Int32">9</Property>
</Properties>
</TypeDescriptor>
</TypeDescriptors>
</TypeDescriptor>
</Parameter>
</Parameters>
<MethodInstances>
<MethodInstance Type="SpecificFinder" ReturnParameterName="GetSalesOrderHeaderById" Default="true" Name="GetSalesOrderHeaderById" DefaultDisplayName="Read Item OrderHeader">
<Properties>
<Property Name="LastDesignedOfficeItemType" Type="System.String">Task</Property>
</Properties>
<AccessControlList>
<AccessControlEntry Principal="NT Authority\Authenticated Users">
<Right BdcRight="Edit" />
<Right BdcRight="Execute" />
<Right BdcRight="SetPermissions" />
<Right BdcRight="SelectableInClients" />
</AccessControlEntry>
</AccessControlList>
</MethodInstance>
</MethodInstances>
</Method>
</Methods>
<AssociationGroups>
<AssociationGroup Name="OrderHeader-Customer">
<AssociationReference AssociationName="GetOrdersForCustomer" Reverse="false" EntityNamespace="AdventureWorksContoso" EntityName="OrderHeader" />
</AssociationGroup>
</AssociationGroups>
</Entity>
</Entities>
</LobSystem>
</LobSystems>
</Model>