xml version="1.0" encoding="utf-8" ?>
- <LobSystem xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog" Type="Database" Version="1.0.0.01" Name="CRM">
-
- <AccessControlList>
- <AccessControlEntry Principal="MyDomain\MyAccountAdmin">
  <Right BdcRight="Execute" />
  <Right BdcRight="Edit" />
  <Right BdcRight="SetPermissions" />
  <Right BdcRight="SelectableInClients" />
  AccessControlEntry>
- <AccessControlEntry Principal="MyDomain\MyAccount">
  <Right BdcRight="Execute" />
  <Right BdcRight="SelectableInClients" />
  AccessControlEntry>
  AccessControlList>
-
- <LobSystemInstances>
- <LobSystemInstance Name="CRMDB">
- <Properties>
  <Property Name="AuthenticationMode" Type="System.String">PassThroughProperty>
  <Property Name="DatabaseAccessProvider" Type="System.String">SqlServerProperty>
  <Property Name="RdbConnection Data Source" Type="System.String">MySQLServerProperty>
  <Property Name="RdbConnection Initial Catalog" Type="System.String">MyDatabaseProperty>
  <Property Name="RdbConnection Integrated Security" Type="System.String">SSPIProperty>
  Properties>
  LobSystemInstance>
  LobSystemInstances>
- <Entities>
- <Entity Name="Customer">
- <Properties>
-
  <Property Name="Title" Type="System.String">NameProperty>
  Properties>
- <Identifiers>
-
  <Identifier Name="CustomerID" TypeName="System.Int32" />
  Identifiers>
- <Methods>
- <Method Name="GetCustomers">
- <Properties>
-
  <Property Name="RdbCommandText" Type="System.String">SELECT customerID, LastName + ', ' + FirstName as Name, Phone, EmailAddress FROM dbo.vIndividualCustomer WHERE (customerID > @minCustomerID and customerID < @maxCustomerID)Property>
  <Property Name="RdbCommandType" Type="System.String">TextProperty>
  Properties>
- <Parameters>
-
- <Parameter Direction="In" Name="@minCustomerID">
- <TypeDescriptor TypeName="System.Int32" Name="customerID" IdentifierName="CustomerID">
- <DefaultValues>
  <DefaultValue MethodInstanceName="CustomerFinderInstance" Type="System.Int32">0DefaultValue>
  <DefaultValue MethodInstanceName="CustomerSpecificFinderInstance" Type="System.Int32">0DefaultValue>
  DefaultValues>
  TypeDescriptor>
  Parameter>
- <Parameter Direction="In" Name="@maxCustomerID">
- <TypeDescriptor TypeName="System.Int32" Name="customerID" IdentifierName="CustomerID">
- <DefaultValues>
  <DefaultValue MethodInstanceName="CustomerFinderInstance" Type="System.Int32">9999999DefaultValue>
  <DefaultValue MethodInstanceName="CustomerSpecificFinderInstance" Type="System.Int32">9999999DefaultValue>
  DefaultValues>
  TypeDescriptor>
  Parameter>
- <Parameter Direction="Return" Name="Customers">
- <TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="CustomerDataReader">
- <TypeDescriptors>
- <TypeDescriptor TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Name="CustomerDataRecord">
- <TypeDescriptors>
  <TypeDescriptor TypeName="System.Int32" IdentifierName="CustomerID" Name="customerID" />
  <TypeDescriptor TypeName="System.String" Name="Name" />
  <TypeDescriptor TypeName="System.String" Name="Phone" />
- <TypeDescriptor TypeName="System.String" Name="EmailAddress">
- <LocalizedDisplayNames>
  <LocalizedDisplayName LCID="1033">Email AddressLocalizedDisplayName>
  LocalizedDisplayNames>
  TypeDescriptor>
  TypeDescriptors>
  TypeDescriptor>
  TypeDescriptors>
  TypeDescriptor>
  Parameter>
  Parameters>
- <MethodInstances>
-
  <MethodInstance Name="CustomerFinderInstance" Type="Finder" ReturnParameterName="Customers" ReturnTypeDescriptorName="CustomerDataReader" />
  <MethodInstance Name="CustomerSpecificFinderInstance" Type="SpecificFinder" ReturnParameterName="Customers" ReturnTypeDescriptorName="CustomerDataReader" />
  MethodInstances>
  Method>
  Methods>
  Entity>
  Entities>
  LobSystem>