diff options
Diffstat (limited to 'test/Microsoft.Web.Http.Data.Test/Models/Northwind.edmx')
-rw-r--r-- | test/Microsoft.Web.Http.Data.Test/Models/Northwind.edmx | 933 |
1 files changed, 933 insertions, 0 deletions
diff --git a/test/Microsoft.Web.Http.Data.Test/Models/Northwind.edmx b/test/Microsoft.Web.Http.Data.Test/Models/Northwind.edmx new file mode 100644 index 00000000..f74d16cb --- /dev/null +++ b/test/Microsoft.Web.Http.Data.Test/Models/Northwind.edmx @@ -0,0 +1,933 @@ +<?xml version="1.0" encoding="utf-8"?> +<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx"> + <!-- EF Runtime content --> + <edmx:Runtime> + <!-- SSDL content --> + <edmx:StorageModels> + <Schema Namespace="northwindModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl"> + <EntityContainer Name="northwindModelStoreContainer"> + <EntitySet Name="Categories" EntityType="northwindModel.Store.Categories" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="CustomerCustomerDemo" EntityType="northwindModel.Store.CustomerCustomerDemo" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="CustomerDemographics" EntityType="northwindModel.Store.CustomerDemographics" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Customers" EntityType="northwindModel.Store.Customers" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Employees" EntityType="northwindModel.Store.Employees" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="EmployeeTerritories" EntityType="northwindModel.Store.EmployeeTerritories" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Order Details" EntityType="northwindModel.Store.Order Details" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Orders" EntityType="northwindModel.Store.Orders" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Products" EntityType="northwindModel.Store.Products" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Region" EntityType="northwindModel.Store.Region" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Shippers" EntityType="northwindModel.Store.Shippers" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Suppliers" EntityType="northwindModel.Store.Suppliers" store:Type="Tables" Schema="dbo" /> + <EntitySet Name="Territories" EntityType="northwindModel.Store.Territories" store:Type="Tables" Schema="dbo" /> + <AssociationSet Name="FK_CustomerCustomerDemo" Association="northwindModel.Store.FK_CustomerCustomerDemo"> + <End Role="CustomerDemographics" EntitySet="CustomerDemographics" /> + <End Role="CustomerCustomerDemo" EntitySet="CustomerCustomerDemo" /> + </AssociationSet> + <AssociationSet Name="FK_CustomerCustomerDemo_Customers" Association="northwindModel.Store.FK_CustomerCustomerDemo_Customers"> + <End Role="Customers" EntitySet="Customers" /> + <End Role="CustomerCustomerDemo" EntitySet="CustomerCustomerDemo" /> + </AssociationSet> + <AssociationSet Name="FK_Employees_Employees" Association="northwindModel.Store.FK_Employees_Employees"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="Employees1" EntitySet="Employees" /> + </AssociationSet> + <AssociationSet Name="FK_EmployeeTerritories_Employees" Association="northwindModel.Store.FK_EmployeeTerritories_Employees"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="EmployeeTerritories" EntitySet="EmployeeTerritories" /> + </AssociationSet> + <AssociationSet Name="FK_EmployeeTerritories_Territories" Association="northwindModel.Store.FK_EmployeeTerritories_Territories"> + <End Role="Territories" EntitySet="Territories" /> + <End Role="EmployeeTerritories" EntitySet="EmployeeTerritories" /> + </AssociationSet> + <AssociationSet Name="FK_Order_Details_Orders" Association="northwindModel.Store.FK_Order_Details_Orders"> + <End Role="Orders" EntitySet="Orders" /> + <End Role="Order Details" EntitySet="Order Details" /> + </AssociationSet> + <AssociationSet Name="FK_Order_Details_Products" Association="northwindModel.Store.FK_Order_Details_Products"> + <End Role="Products" EntitySet="Products" /> + <End Role="Order Details" EntitySet="Order Details" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Customers" Association="northwindModel.Store.FK_Orders_Customers"> + <End Role="Customers" EntitySet="Customers" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Employees" Association="northwindModel.Store.FK_Orders_Employees"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Shippers" Association="northwindModel.Store.FK_Orders_Shippers"> + <End Role="Shippers" EntitySet="Shippers" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Products_Categories" Association="northwindModel.Store.FK_Products_Categories"> + <End Role="Categories" EntitySet="Categories" /> + <End Role="Products" EntitySet="Products" /> + </AssociationSet> + <AssociationSet Name="FK_Products_Suppliers" Association="northwindModel.Store.FK_Products_Suppliers"> + <End Role="Suppliers" EntitySet="Suppliers" /> + <End Role="Products" EntitySet="Products" /> + </AssociationSet> + <AssociationSet Name="FK_Territories_Region" Association="northwindModel.Store.FK_Territories_Region"> + <End Role="Region" EntitySet="Region" /> + <End Role="Territories" EntitySet="Territories" /> + </AssociationSet> + </EntityContainer> + <EntityType Name="Categories"> + <Key> + <PropertyRef Name="CategoryID" /> + </Key> + <Property Name="CategoryID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="CategoryName" Type="nvarchar" Nullable="false" MaxLength="15" /> + <Property Name="Description" Type="ntext" /> + <Property Name="Picture" Type="image" /> + </EntityType> + <EntityType Name="CustomerCustomerDemo"> + <Key> + <PropertyRef Name="CustomerID" /> + <PropertyRef Name="CustomerTypeID" /> + </Key> + <Property Name="CustomerID" Type="nchar" Nullable="false" MaxLength="5" /> + <Property Name="CustomerTypeID" Type="nchar" Nullable="false" MaxLength="10" /> + </EntityType> + <EntityType Name="CustomerDemographics"> + <Key> + <PropertyRef Name="CustomerTypeID" /> + </Key> + <Property Name="CustomerTypeID" Type="nchar" Nullable="false" MaxLength="10" /> + <Property Name="CustomerDesc" Type="ntext" /> + </EntityType> + <EntityType Name="Customers"> + <Key> + <PropertyRef Name="CustomerID" /> + </Key> + <Property Name="CustomerID" Type="nchar" Nullable="false" MaxLength="5" /> + <Property Name="CompanyName" Type="nvarchar" Nullable="false" MaxLength="40" /> + <Property Name="ContactName" Type="nvarchar" MaxLength="30" /> + <Property Name="ContactTitle" Type="nvarchar" MaxLength="30" /> + <Property Name="Address" Type="nvarchar" MaxLength="60" /> + <Property Name="City" Type="nvarchar" MaxLength="15" /> + <Property Name="Region" Type="nvarchar" MaxLength="15" /> + <Property Name="PostalCode" Type="nvarchar" MaxLength="10" /> + <Property Name="Country" Type="nvarchar" MaxLength="15" /> + <Property Name="Phone" Type="nvarchar" MaxLength="24" /> + <Property Name="Fax" Type="nvarchar" MaxLength="24" /> + </EntityType> + <EntityType Name="Employees"> + <Key> + <PropertyRef Name="EmployeeID" /> + </Key> + <Property Name="EmployeeID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="LastName" Type="nvarchar" Nullable="false" MaxLength="20" /> + <Property Name="FirstName" Type="nvarchar" Nullable="false" MaxLength="10" /> + <Property Name="Title" Type="nvarchar" MaxLength="30" /> + <Property Name="TitleOfCourtesy" Type="nvarchar" MaxLength="25" /> + <Property Name="BirthDate" Type="datetime" /> + <Property Name="HireDate" Type="datetime" /> + <Property Name="Address" Type="nvarchar" MaxLength="60" /> + <Property Name="City" Type="nvarchar" MaxLength="15" /> + <Property Name="Region" Type="nvarchar" MaxLength="15" /> + <Property Name="PostalCode" Type="nvarchar" MaxLength="10" /> + <Property Name="Country" Type="nvarchar" MaxLength="15" /> + <Property Name="HomePhone" Type="nvarchar" MaxLength="24" /> + <Property Name="Extension" Type="nvarchar" MaxLength="4" /> + <Property Name="Photo" Type="image" /> + <Property Name="Notes" Type="ntext" /> + <Property Name="ReportsTo" Type="int" /> + <Property Name="PhotoPath" Type="nvarchar" MaxLength="255" /> + </EntityType> + <EntityType Name="EmployeeTerritories"> + <Key> + <PropertyRef Name="EmployeeID" /> + <PropertyRef Name="TerritoryID" /> + </Key> + <Property Name="EmployeeID" Type="int" Nullable="false" /> + <Property Name="TerritoryID" Type="nvarchar" Nullable="false" MaxLength="20" /> + </EntityType> + <EntityType Name="Order Details"> + <Key> + <PropertyRef Name="OrderID" /> + <PropertyRef Name="ProductID" /> + </Key> + <Property Name="OrderID" Type="int" Nullable="false" /> + <Property Name="ProductID" Type="int" Nullable="false" /> + <Property Name="UnitPrice" Type="money" Nullable="false" /> + <Property Name="Quantity" Type="smallint" Nullable="false" /> + <Property Name="Discount" Type="real" Nullable="false" /> + </EntityType> + <EntityType Name="Orders"> + <Key> + <PropertyRef Name="OrderID" /> + </Key> + <Property Name="OrderID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="CustomerID" Type="nchar" MaxLength="5" /> + <Property Name="EmployeeID" Type="int" /> + <Property Name="OrderDate" Type="datetime" /> + <Property Name="RequiredDate" Type="datetime" /> + <Property Name="ShippedDate" Type="datetime" /> + <Property Name="ShipVia" Type="int" /> + <Property Name="Freight" Type="money" /> + <Property Name="ShipName" Type="nvarchar" MaxLength="40" /> + <Property Name="ShipAddress" Type="nvarchar" MaxLength="60" /> + <Property Name="ShipCity" Type="nvarchar" MaxLength="15" /> + <Property Name="ShipRegion" Type="nvarchar" MaxLength="15" /> + <Property Name="ShipPostalCode" Type="nvarchar" MaxLength="10" /> + <Property Name="ShipCountry" Type="nvarchar" MaxLength="15" /> + </EntityType> + <EntityType Name="Products"> + <Key> + <PropertyRef Name="ProductID" /> + </Key> + <Property Name="ProductID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="ProductName" Type="nvarchar" Nullable="false" MaxLength="40" /> + <Property Name="SupplierID" Type="int" /> + <Property Name="CategoryID" Type="int" /> + <Property Name="QuantityPerUnit" Type="nvarchar" MaxLength="20" /> + <Property Name="UnitPrice" Type="money" /> + <Property Name="UnitsInStock" Type="smallint" /> + <Property Name="UnitsOnOrder" Type="smallint" /> + <Property Name="ReorderLevel" Type="smallint" /> + <Property Name="Discontinued" Type="bit" Nullable="false" /> + </EntityType> + <EntityType Name="Region"> + <Key> + <PropertyRef Name="RegionID" /> + </Key> + <Property Name="RegionID" Type="int" Nullable="false" /> + <Property Name="RegionDescription" Type="nchar" Nullable="false" MaxLength="50" /> + </EntityType> + <EntityType Name="Shippers"> + <Key> + <PropertyRef Name="ShipperID" /> + </Key> + <Property Name="ShipperID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="CompanyName" Type="nvarchar" Nullable="false" MaxLength="40" /> + <Property Name="Phone" Type="nvarchar" MaxLength="24" /> + </EntityType> + <EntityType Name="Suppliers"> + <Key> + <PropertyRef Name="SupplierID" /> + </Key> + <Property Name="SupplierID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" /> + <Property Name="CompanyName" Type="nvarchar" Nullable="false" MaxLength="40" /> + <Property Name="ContactName" Type="nvarchar" MaxLength="30" /> + <Property Name="ContactTitle" Type="nvarchar" MaxLength="30" /> + <Property Name="Address" Type="nvarchar" MaxLength="60" /> + <Property Name="City" Type="nvarchar" MaxLength="15" /> + <Property Name="Region" Type="nvarchar" MaxLength="15" /> + <Property Name="PostalCode" Type="nvarchar" MaxLength="10" /> + <Property Name="Country" Type="nvarchar" MaxLength="15" /> + <Property Name="Phone" Type="nvarchar" MaxLength="24" /> + <Property Name="Fax" Type="nvarchar" MaxLength="24" /> + <Property Name="HomePage" Type="ntext" /> + </EntityType> + <EntityType Name="Territories"> + <Key> + <PropertyRef Name="TerritoryID" /> + </Key> + <Property Name="TerritoryID" Type="nvarchar" Nullable="false" MaxLength="20" /> + <Property Name="TerritoryDescription" Type="nchar" Nullable="false" MaxLength="50" /> + <Property Name="RegionID" Type="int" Nullable="false" /> + </EntityType> + <Association Name="FK_CustomerCustomerDemo"> + <End Role="CustomerDemographics" Type="northwindModel.Store.CustomerDemographics" Multiplicity="1" /> + <End Role="CustomerCustomerDemo" Type="northwindModel.Store.CustomerCustomerDemo" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="CustomerDemographics"> + <PropertyRef Name="CustomerTypeID" /> + </Principal> + <Dependent Role="CustomerCustomerDemo"> + <PropertyRef Name="CustomerTypeID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_CustomerCustomerDemo_Customers"> + <End Role="Customers" Type="northwindModel.Store.Customers" Multiplicity="1" /> + <End Role="CustomerCustomerDemo" Type="northwindModel.Store.CustomerCustomerDemo" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Customers"> + <PropertyRef Name="CustomerID" /> + </Principal> + <Dependent Role="CustomerCustomerDemo"> + <PropertyRef Name="CustomerID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Employees_Employees"> + <End Role="Employees" Type="northwindModel.Store.Employees" Multiplicity="0..1" /> + <End Role="Employees1" Type="northwindModel.Store.Employees" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Employees"> + <PropertyRef Name="EmployeeID" /> + </Principal> + <Dependent Role="Employees1"> + <PropertyRef Name="ReportsTo" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_EmployeeTerritories_Employees"> + <End Role="Employees" Type="northwindModel.Store.Employees" Multiplicity="1" /> + <End Role="EmployeeTerritories" Type="northwindModel.Store.EmployeeTerritories" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Employees"> + <PropertyRef Name="EmployeeID" /> + </Principal> + <Dependent Role="EmployeeTerritories"> + <PropertyRef Name="EmployeeID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_EmployeeTerritories_Territories"> + <End Role="Territories" Type="northwindModel.Store.Territories" Multiplicity="1" /> + <End Role="EmployeeTerritories" Type="northwindModel.Store.EmployeeTerritories" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Territories"> + <PropertyRef Name="TerritoryID" /> + </Principal> + <Dependent Role="EmployeeTerritories"> + <PropertyRef Name="TerritoryID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Order_Details_Orders"> + <End Role="Orders" Type="northwindModel.Store.Orders" Multiplicity="1" /> + <End Role="Order Details" Type="northwindModel.Store.Order Details" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Orders"> + <PropertyRef Name="OrderID" /> + </Principal> + <Dependent Role="Order Details"> + <PropertyRef Name="OrderID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Order_Details_Products"> + <End Role="Products" Type="northwindModel.Store.Products" Multiplicity="1" /> + <End Role="Order Details" Type="northwindModel.Store.Order Details" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Products"> + <PropertyRef Name="ProductID" /> + </Principal> + <Dependent Role="Order Details"> + <PropertyRef Name="ProductID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Customers"> + <End Role="Customers" Type="northwindModel.Store.Customers" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Store.Orders" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Customers"> + <PropertyRef Name="CustomerID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="CustomerID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Employees"> + <End Role="Employees" Type="northwindModel.Store.Employees" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Store.Orders" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Employees"> + <PropertyRef Name="EmployeeID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="EmployeeID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Shippers"> + <End Role="Shippers" Type="northwindModel.Store.Shippers" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Store.Orders" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Shippers"> + <PropertyRef Name="ShipperID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="ShipVia" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Products_Categories"> + <End Role="Categories" Type="northwindModel.Store.Categories" Multiplicity="0..1" /> + <End Role="Products" Type="northwindModel.Store.Products" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Categories"> + <PropertyRef Name="CategoryID" /> + </Principal> + <Dependent Role="Products"> + <PropertyRef Name="CategoryID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Products_Suppliers"> + <End Role="Suppliers" Type="northwindModel.Store.Suppliers" Multiplicity="0..1" /> + <End Role="Products" Type="northwindModel.Store.Products" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Suppliers"> + <PropertyRef Name="SupplierID" /> + </Principal> + <Dependent Role="Products"> + <PropertyRef Name="SupplierID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Territories_Region"> + <End Role="Region" Type="northwindModel.Store.Region" Multiplicity="1" /> + <End Role="Territories" Type="northwindModel.Store.Territories" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Region"> + <PropertyRef Name="RegionID" /> + </Principal> + <Dependent Role="Territories"> + <PropertyRef Name="RegionID" /> + </Dependent> + </ReferentialConstraint> + </Association> + </Schema> + </edmx:StorageModels> + <!-- CSDL content --> + <edmx:ConceptualModels> + <Schema Namespace="northwindModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"> + <EntityContainer Name="NorthwindEntities" annotation:LazyLoadingEnabled="true"> + <EntitySet Name="Categories" EntityType="northwindModel.Category" /> + <EntitySet Name="CustomerDemographics" EntityType="northwindModel.CustomerDemographic" /> + <EntitySet Name="Customers" EntityType="northwindModel.Customer" /> + <EntitySet Name="Employees" EntityType="northwindModel.Employee" /> + <EntitySet Name="Order_Details" EntityType="northwindModel.Order_Detail" /> + <EntitySet Name="Orders" EntityType="northwindModel.Order" /> + <EntitySet Name="Products" EntityType="northwindModel.Product" /> + <EntitySet Name="Regions" EntityType="northwindModel.Region" /> + <EntitySet Name="Shippers" EntityType="northwindModel.Shipper" /> + <EntitySet Name="Suppliers" EntityType="northwindModel.Supplier" /> + <EntitySet Name="Territories" EntityType="northwindModel.Territory" /> + <AssociationSet Name="FK_Products_Categories" Association="northwindModel.FK_Products_Categories"> + <End Role="Categories" EntitySet="Categories" /> + <End Role="Products" EntitySet="Products" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Customers" Association="northwindModel.FK_Orders_Customers"> + <End Role="Customers" EntitySet="Customers" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Employees_Employees" Association="northwindModel.FK_Employees_Employees"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="Employees1" EntitySet="Employees" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Employees" Association="northwindModel.FK_Orders_Employees"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Order_Details_Orders" Association="northwindModel.FK_Order_Details_Orders"> + <End Role="Orders" EntitySet="Orders" /> + <End Role="Order_Details" EntitySet="Order_Details" /> + </AssociationSet> + <AssociationSet Name="FK_Order_Details_Products" Association="northwindModel.FK_Order_Details_Products"> + <End Role="Products" EntitySet="Products" /> + <End Role="Order_Details" EntitySet="Order_Details" /> + </AssociationSet> + <AssociationSet Name="FK_Orders_Shippers" Association="northwindModel.FK_Orders_Shippers"> + <End Role="Shippers" EntitySet="Shippers" /> + <End Role="Orders" EntitySet="Orders" /> + </AssociationSet> + <AssociationSet Name="FK_Products_Suppliers" Association="northwindModel.FK_Products_Suppliers"> + <End Role="Suppliers" EntitySet="Suppliers" /> + <End Role="Products" EntitySet="Products" /> + </AssociationSet> + <AssociationSet Name="FK_Territories_Region" Association="northwindModel.FK_Territories_Region"> + <End Role="Region" EntitySet="Regions" /> + <End Role="Territories" EntitySet="Territories" /> + </AssociationSet> + <AssociationSet Name="CustomerCustomerDemo" Association="northwindModel.CustomerCustomerDemo"> + <End Role="CustomerDemographics" EntitySet="CustomerDemographics" /> + <End Role="Customers" EntitySet="Customers" /> + </AssociationSet> + <AssociationSet Name="EmployeeTerritories" Association="northwindModel.EmployeeTerritories"> + <End Role="Employees" EntitySet="Employees" /> + <End Role="Territories" EntitySet="Territories" /> + </AssociationSet> + </EntityContainer> + <EntityType Name="Category"> + <Key> + <PropertyRef Name="CategoryID" /> + </Key> + <Property Name="CategoryID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" ConcurrencyMode="Fixed" /> + <Property Name="CategoryName" Type="String" Nullable="false" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="None" /> + <Property Name="Description" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" ConcurrencyMode="None" /> + <Property Name="Picture" Type="Binary" MaxLength="Max" FixedLength="false" /> + <NavigationProperty Name="Products" Relationship="northwindModel.FK_Products_Categories" FromRole="Categories" ToRole="Products" /> + </EntityType> + <EntityType Name="CustomerDemographic"> + <Key> + <PropertyRef Name="CustomerTypeID" /> + </Key> + <Property Name="CustomerTypeID" Type="String" Nullable="false" MaxLength="10" Unicode="true" FixedLength="true" /> + <Property Name="CustomerDesc" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" /> + <NavigationProperty Name="Customers" Relationship="northwindModel.CustomerCustomerDemo" FromRole="CustomerDemographics" ToRole="Customers" /> + </EntityType> + <EntityType Name="Customer"> + <Key> + <PropertyRef Name="CustomerID" /> + </Key> + <Property Name="CustomerID" Type="String" Nullable="false" MaxLength="5" Unicode="true" FixedLength="true" ConcurrencyMode="Fixed" /> + <Property Name="CompanyName" Type="String" Nullable="false" MaxLength="40" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ContactName" Type="String" MaxLength="30" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ContactTitle" Type="String" MaxLength="30" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Address" Type="String" MaxLength="60" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="City" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Region" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="PostalCode" Type="String" MaxLength="10" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Country" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Phone" Type="String" MaxLength="24" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Fax" Type="String" MaxLength="24" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <NavigationProperty Name="Orders" Relationship="northwindModel.FK_Orders_Customers" FromRole="Customers" ToRole="Orders" /> + <NavigationProperty Name="CustomerDemographics" Relationship="northwindModel.CustomerCustomerDemo" FromRole="Customers" ToRole="CustomerDemographics" /> + </EntityType> + <EntityType Name="Employee"> + <Key> + <PropertyRef Name="EmployeeID" /> + </Key> + <Property Name="EmployeeID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" ConcurrencyMode="Fixed" /> + <Property Name="LastName" Type="String" Nullable="false" MaxLength="20" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="FirstName" Type="String" Nullable="false" MaxLength="10" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Title" Type="String" MaxLength="30" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="TitleOfCourtesy" Type="String" MaxLength="25" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="BirthDate" Type="DateTime" ConcurrencyMode="Fixed" /> + <Property Name="HireDate" Type="DateTime" ConcurrencyMode="Fixed" /> + <Property Name="Address" Type="String" MaxLength="60" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="City" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Region" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="PostalCode" Type="String" MaxLength="10" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Country" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="HomePhone" Type="String" MaxLength="24" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Extension" Type="String" MaxLength="4" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="Photo" Type="Binary" MaxLength="Max" FixedLength="false" /> + <Property Name="Notes" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" /> + <Property Name="ReportsTo" Type="Int32" ConcurrencyMode="Fixed" /> + <Property Name="PhotoPath" Type="String" MaxLength="255" Unicode="true" FixedLength="false" /> + <NavigationProperty Name="Employees1" Relationship="northwindModel.FK_Employees_Employees" FromRole="Employees" ToRole="Employees1" /> + <NavigationProperty Name="Employee1" Relationship="northwindModel.FK_Employees_Employees" FromRole="Employees1" ToRole="Employees" /> + <NavigationProperty Name="Orders" Relationship="northwindModel.FK_Orders_Employees" FromRole="Employees" ToRole="Orders" /> + <NavigationProperty Name="Territories" Relationship="northwindModel.EmployeeTerritories" FromRole="Employees" ToRole="Territories" /> + </EntityType> + <EntityType Name="Order_Detail"> + <Key> + <PropertyRef Name="OrderID" /> + <PropertyRef Name="ProductID" /> + </Key> + <Property Name="OrderID" Type="Int32" Nullable="false" ConcurrencyMode="Fixed" /> + <Property Name="ProductID" Type="Int32" Nullable="false" ConcurrencyMode="Fixed" /> + <Property Name="UnitPrice" Type="Decimal" Nullable="false" Precision="19" Scale="4" ConcurrencyMode="Fixed" /> + <Property Name="Quantity" Type="Int16" Nullable="false" ConcurrencyMode="Fixed" /> + <Property Name="Discount" Type="Single" Nullable="false" ConcurrencyMode="Fixed" /> + <NavigationProperty Name="Order" Relationship="northwindModel.FK_Order_Details_Orders" FromRole="Order_Details" ToRole="Orders" /> + <NavigationProperty Name="Product" Relationship="northwindModel.FK_Order_Details_Products" FromRole="Order_Details" ToRole="Products" /> + </EntityType> + <EntityType Name="Order"> + <Key> + <PropertyRef Name="OrderID" /> + </Key> + <Property Name="OrderID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" ConcurrencyMode="Fixed" /> + <Property Name="CustomerID" Type="String" MaxLength="5" Unicode="true" FixedLength="true" ConcurrencyMode="Fixed" /> + <Property Name="EmployeeID" Type="Int32" ConcurrencyMode="Fixed" /> + <Property Name="OrderDate" Type="DateTime" ConcurrencyMode="Fixed" /> + <Property Name="RequiredDate" Type="DateTime" ConcurrencyMode="Fixed" /> + <Property Name="ShippedDate" Type="DateTime" ConcurrencyMode="Fixed" /> + <Property Name="ShipVia" Type="Int32" ConcurrencyMode="Fixed" /> + <Property Name="Freight" Type="Decimal" Precision="19" Scale="4" ConcurrencyMode="Fixed" /> + <Property Name="ShipName" Type="String" MaxLength="40" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ShipAddress" Type="String" MaxLength="60" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ShipCity" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ShipRegion" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ShipPostalCode" Type="String" MaxLength="10" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="ShipCountry" Type="String" MaxLength="15" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <NavigationProperty Name="Customer" Relationship="northwindModel.FK_Orders_Customers" FromRole="Orders" ToRole="Customers" /> + <NavigationProperty Name="Employee" Relationship="northwindModel.FK_Orders_Employees" FromRole="Orders" ToRole="Employees" /> + <NavigationProperty Name="Order_Details" Relationship="northwindModel.FK_Order_Details_Orders" FromRole="Orders" ToRole="Order_Details" /> + <NavigationProperty Name="Shipper" Relationship="northwindModel.FK_Orders_Shippers" FromRole="Orders" ToRole="Shippers" /> + </EntityType> + <EntityType Name="Product"> + <Key> + <PropertyRef Name="ProductID" /> + </Key> + <Property Name="ProductID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" ConcurrencyMode="None" /> + <Property Name="ProductName" Type="String" Nullable="false" MaxLength="40" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="SupplierID" Type="Int32" ConcurrencyMode="Fixed" /> + <Property Name="CategoryID" Type="Int32" ConcurrencyMode="Fixed" /> + <Property Name="QuantityPerUnit" Type="String" MaxLength="20" Unicode="true" FixedLength="false" ConcurrencyMode="Fixed" /> + <Property Name="UnitPrice" Type="Decimal" Precision="19" Scale="4" ConcurrencyMode="Fixed" /> + <Property Name="UnitsInStock" Type="Int16" ConcurrencyMode="Fixed" /> + <Property Name="UnitsOnOrder" Type="Int16" ConcurrencyMode="Fixed" /> + <Property Name="ReorderLevel" Type="Int16" ConcurrencyMode="Fixed" /> + <Property Name="Discontinued" Type="Boolean" Nullable="false" ConcurrencyMode="Fixed" /> + <NavigationProperty Name="Category" Relationship="northwindModel.FK_Products_Categories" FromRole="Products" ToRole="Categories" /> + <NavigationProperty Name="Order_Details" Relationship="northwindModel.FK_Order_Details_Products" FromRole="Products" ToRole="Order_Details" /> + <NavigationProperty Name="Supplier" Relationship="northwindModel.FK_Products_Suppliers" FromRole="Products" ToRole="Suppliers" /> + </EntityType> + <EntityType Name="Region"> + <Key> + <PropertyRef Name="RegionID" /> + </Key> + <Property Name="RegionID" Type="Int32" Nullable="false" /> + <Property Name="RegionDescription" Type="String" Nullable="false" MaxLength="50" Unicode="true" FixedLength="true" /> + <NavigationProperty Name="Territories" Relationship="northwindModel.FK_Territories_Region" FromRole="Region" ToRole="Territories" /> + </EntityType> + <EntityType Name="Shipper"> + <Key> + <PropertyRef Name="ShipperID" /> + </Key> + <Property Name="ShipperID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> + <Property Name="CompanyName" Type="String" Nullable="false" MaxLength="40" Unicode="true" FixedLength="false" /> + <Property Name="Phone" Type="String" MaxLength="24" Unicode="true" FixedLength="false" /> + <NavigationProperty Name="Orders" Relationship="northwindModel.FK_Orders_Shippers" FromRole="Shippers" ToRole="Orders" /> + </EntityType> + <EntityType Name="Supplier"> + <Key> + <PropertyRef Name="SupplierID" /> + </Key> + <Property Name="SupplierID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /> + <Property Name="CompanyName" Type="String" Nullable="false" MaxLength="40" Unicode="true" FixedLength="false" /> + <Property Name="ContactName" Type="String" MaxLength="30" Unicode="true" FixedLength="false" /> + <Property Name="ContactTitle" Type="String" MaxLength="30" Unicode="true" FixedLength="false" /> + <Property Name="Address" Type="String" MaxLength="60" Unicode="true" FixedLength="false" /> + <Property Name="City" Type="String" MaxLength="15" Unicode="true" FixedLength="false" /> + <Property Name="Region" Type="String" MaxLength="15" Unicode="true" FixedLength="false" /> + <Property Name="PostalCode" Type="String" MaxLength="10" Unicode="true" FixedLength="false" /> + <Property Name="Country" Type="String" MaxLength="15" Unicode="true" FixedLength="false" /> + <Property Name="Phone" Type="String" MaxLength="24" Unicode="true" FixedLength="false" /> + <Property Name="Fax" Type="String" MaxLength="24" Unicode="true" FixedLength="false" /> + <Property Name="HomePage" Type="String" MaxLength="Max" Unicode="true" FixedLength="false" /> + <NavigationProperty Name="Products" Relationship="northwindModel.FK_Products_Suppliers" FromRole="Suppliers" ToRole="Products" /> + </EntityType> + <EntityType Name="Territory"> + <Key> + <PropertyRef Name="TerritoryID" /> + </Key> + <Property Name="TerritoryID" Type="String" Nullable="false" MaxLength="20" Unicode="true" FixedLength="false" /> + <Property Name="TerritoryDescription" Type="String" Nullable="false" MaxLength="50" Unicode="true" FixedLength="true" /> + <Property Name="RegionID" Type="Int32" Nullable="false" /> + <NavigationProperty Name="Region" Relationship="northwindModel.FK_Territories_Region" FromRole="Territories" ToRole="Region" /> + <NavigationProperty Name="Employees" Relationship="northwindModel.EmployeeTerritories" FromRole="Territories" ToRole="Employees" /> + </EntityType> + <Association Name="FK_Products_Categories"> + <End Role="Categories" Type="northwindModel.Category" Multiplicity="0..1" /> + <End Role="Products" Type="northwindModel.Product" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Categories"> + <PropertyRef Name="CategoryID" /> + </Principal> + <Dependent Role="Products"> + <PropertyRef Name="CategoryID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Customers"> + <End Role="Customers" Type="northwindModel.Customer" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Order" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Customers"> + <PropertyRef Name="CustomerID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="CustomerID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Employees_Employees"> + <End Role="Employees" Type="northwindModel.Employee" Multiplicity="0..1" /> + <End Role="Employees1" Type="northwindModel.Employee" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Employees"> + <PropertyRef Name="EmployeeID" /> + </Principal> + <Dependent Role="Employees1"> + <PropertyRef Name="ReportsTo" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Employees"> + <End Role="Employees" Type="northwindModel.Employee" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Order" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Employees"> + <PropertyRef Name="EmployeeID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="EmployeeID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Order_Details_Orders"> + <End Role="Orders" Type="northwindModel.Order" Multiplicity="1" /> + <End Role="Order_Details" Type="northwindModel.Order_Detail" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Orders"> + <PropertyRef Name="OrderID" /> + </Principal> + <Dependent Role="Order_Details"> + <PropertyRef Name="OrderID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Order_Details_Products"> + <End Role="Products" Type="northwindModel.Product" Multiplicity="1" /> + <End Role="Order_Details" Type="northwindModel.Order_Detail" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Products"> + <PropertyRef Name="ProductID" /> + </Principal> + <Dependent Role="Order_Details"> + <PropertyRef Name="ProductID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Orders_Shippers"> + <End Role="Shippers" Type="northwindModel.Shipper" Multiplicity="0..1" /> + <End Role="Orders" Type="northwindModel.Order" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Shippers"> + <PropertyRef Name="ShipperID" /> + </Principal> + <Dependent Role="Orders"> + <PropertyRef Name="ShipVia" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Products_Suppliers"> + <End Role="Suppliers" Type="northwindModel.Supplier" Multiplicity="0..1" /> + <End Role="Products" Type="northwindModel.Product" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Suppliers"> + <PropertyRef Name="SupplierID" /> + </Principal> + <Dependent Role="Products"> + <PropertyRef Name="SupplierID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="FK_Territories_Region"> + <End Role="Region" Type="northwindModel.Region" Multiplicity="1" /> + <End Role="Territories" Type="northwindModel.Territory" Multiplicity="*" /> + <ReferentialConstraint> + <Principal Role="Region"> + <PropertyRef Name="RegionID" /> + </Principal> + <Dependent Role="Territories"> + <PropertyRef Name="RegionID" /> + </Dependent> + </ReferentialConstraint> + </Association> + <Association Name="CustomerCustomerDemo"> + <End Role="CustomerDemographics" Type="northwindModel.CustomerDemographic" Multiplicity="*" /> + <End Role="Customers" Type="northwindModel.Customer" Multiplicity="*" /> + </Association> + <Association Name="EmployeeTerritories"> + <End Role="Employees" Type="northwindModel.Employee" Multiplicity="*" /> + <End Role="Territories" Type="northwindModel.Territory" Multiplicity="*" /> + </Association> + </Schema> + </edmx:ConceptualModels> + <!-- C-S mapping content --> + <edmx:Mappings> + <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs"> + <EntityContainerMapping StorageEntityContainer="northwindModelStoreContainer" CdmEntityContainer="NorthwindEntities"> + <EntitySetMapping Name="Categories"><EntityTypeMapping TypeName="northwindModel.Category"><MappingFragment StoreEntitySet="Categories"> + <ScalarProperty Name="CategoryID" ColumnName="CategoryID" /> + <ScalarProperty Name="CategoryName" ColumnName="CategoryName" /> + <ScalarProperty Name="Description" ColumnName="Description" /> + <ScalarProperty Name="Picture" ColumnName="Picture" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="CustomerDemographics"><EntityTypeMapping TypeName="northwindModel.CustomerDemographic"><MappingFragment StoreEntitySet="CustomerDemographics"> + <ScalarProperty Name="CustomerTypeID" ColumnName="CustomerTypeID" /> + <ScalarProperty Name="CustomerDesc" ColumnName="CustomerDesc" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Customers"><EntityTypeMapping TypeName="northwindModel.Customer"><MappingFragment StoreEntitySet="Customers"> + <ScalarProperty Name="CustomerID" ColumnName="CustomerID" /> + <ScalarProperty Name="CompanyName" ColumnName="CompanyName" /> + <ScalarProperty Name="ContactName" ColumnName="ContactName" /> + <ScalarProperty Name="ContactTitle" ColumnName="ContactTitle" /> + <ScalarProperty Name="Address" ColumnName="Address" /> + <ScalarProperty Name="City" ColumnName="City" /> + <ScalarProperty Name="Region" ColumnName="Region" /> + <ScalarProperty Name="PostalCode" ColumnName="PostalCode" /> + <ScalarProperty Name="Country" ColumnName="Country" /> + <ScalarProperty Name="Phone" ColumnName="Phone" /> + <ScalarProperty Name="Fax" ColumnName="Fax" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Employees"><EntityTypeMapping TypeName="northwindModel.Employee"><MappingFragment StoreEntitySet="Employees"> + <ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" /> + <ScalarProperty Name="LastName" ColumnName="LastName" /> + <ScalarProperty Name="FirstName" ColumnName="FirstName" /> + <ScalarProperty Name="Title" ColumnName="Title" /> + <ScalarProperty Name="TitleOfCourtesy" ColumnName="TitleOfCourtesy" /> + <ScalarProperty Name="BirthDate" ColumnName="BirthDate" /> + <ScalarProperty Name="HireDate" ColumnName="HireDate" /> + <ScalarProperty Name="Address" ColumnName="Address" /> + <ScalarProperty Name="City" ColumnName="City" /> + <ScalarProperty Name="Region" ColumnName="Region" /> + <ScalarProperty Name="PostalCode" ColumnName="PostalCode" /> + <ScalarProperty Name="Country" ColumnName="Country" /> + <ScalarProperty Name="HomePhone" ColumnName="HomePhone" /> + <ScalarProperty Name="Extension" ColumnName="Extension" /> + <ScalarProperty Name="Photo" ColumnName="Photo" /> + <ScalarProperty Name="Notes" ColumnName="Notes" /> + <ScalarProperty Name="ReportsTo" ColumnName="ReportsTo" /> + <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Order_Details"><EntityTypeMapping TypeName="northwindModel.Order_Detail"><MappingFragment StoreEntitySet="Order Details"> + <ScalarProperty Name="OrderID" ColumnName="OrderID" /> + <ScalarProperty Name="ProductID" ColumnName="ProductID" /> + <ScalarProperty Name="UnitPrice" ColumnName="UnitPrice" /> + <ScalarProperty Name="Quantity" ColumnName="Quantity" /> + <ScalarProperty Name="Discount" ColumnName="Discount" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Orders"><EntityTypeMapping TypeName="northwindModel.Order"><MappingFragment StoreEntitySet="Orders"> + <ScalarProperty Name="OrderID" ColumnName="OrderID" /> + <ScalarProperty Name="CustomerID" ColumnName="CustomerID" /> + <ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" /> + <ScalarProperty Name="OrderDate" ColumnName="OrderDate" /> + <ScalarProperty Name="RequiredDate" ColumnName="RequiredDate" /> + <ScalarProperty Name="ShippedDate" ColumnName="ShippedDate" /> + <ScalarProperty Name="ShipVia" ColumnName="ShipVia" /> + <ScalarProperty Name="Freight" ColumnName="Freight" /> + <ScalarProperty Name="ShipName" ColumnName="ShipName" /> + <ScalarProperty Name="ShipAddress" ColumnName="ShipAddress" /> + <ScalarProperty Name="ShipCity" ColumnName="ShipCity" /> + <ScalarProperty Name="ShipRegion" ColumnName="ShipRegion" /> + <ScalarProperty Name="ShipPostalCode" ColumnName="ShipPostalCode" /> + <ScalarProperty Name="ShipCountry" ColumnName="ShipCountry" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Products"><EntityTypeMapping TypeName="northwindModel.Product"><MappingFragment StoreEntitySet="Products"> + <ScalarProperty Name="ProductID" ColumnName="ProductID" /> + <ScalarProperty Name="ProductName" ColumnName="ProductName" /> + <ScalarProperty Name="SupplierID" ColumnName="SupplierID" /> + <ScalarProperty Name="CategoryID" ColumnName="CategoryID" /> + <ScalarProperty Name="QuantityPerUnit" ColumnName="QuantityPerUnit" /> + <ScalarProperty Name="UnitPrice" ColumnName="UnitPrice" /> + <ScalarProperty Name="UnitsInStock" ColumnName="UnitsInStock" /> + <ScalarProperty Name="UnitsOnOrder" ColumnName="UnitsOnOrder" /> + <ScalarProperty Name="ReorderLevel" ColumnName="ReorderLevel" /> + <ScalarProperty Name="Discontinued" ColumnName="Discontinued" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Regions"><EntityTypeMapping TypeName="northwindModel.Region"><MappingFragment StoreEntitySet="Region"> + <ScalarProperty Name="RegionID" ColumnName="RegionID" /> + <ScalarProperty Name="RegionDescription" ColumnName="RegionDescription" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Shippers"><EntityTypeMapping TypeName="northwindModel.Shipper"><MappingFragment StoreEntitySet="Shippers"> + <ScalarProperty Name="ShipperID" ColumnName="ShipperID" /> + <ScalarProperty Name="CompanyName" ColumnName="CompanyName" /> + <ScalarProperty Name="Phone" ColumnName="Phone" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Suppliers"><EntityTypeMapping TypeName="northwindModel.Supplier"><MappingFragment StoreEntitySet="Suppliers"> + <ScalarProperty Name="SupplierID" ColumnName="SupplierID" /> + <ScalarProperty Name="CompanyName" ColumnName="CompanyName" /> + <ScalarProperty Name="ContactName" ColumnName="ContactName" /> + <ScalarProperty Name="ContactTitle" ColumnName="ContactTitle" /> + <ScalarProperty Name="Address" ColumnName="Address" /> + <ScalarProperty Name="City" ColumnName="City" /> + <ScalarProperty Name="Region" ColumnName="Region" /> + <ScalarProperty Name="PostalCode" ColumnName="PostalCode" /> + <ScalarProperty Name="Country" ColumnName="Country" /> + <ScalarProperty Name="Phone" ColumnName="Phone" /> + <ScalarProperty Name="Fax" ColumnName="Fax" /> + <ScalarProperty Name="HomePage" ColumnName="HomePage" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <EntitySetMapping Name="Territories"><EntityTypeMapping TypeName="northwindModel.Territory"><MappingFragment StoreEntitySet="Territories"> + <ScalarProperty Name="TerritoryID" ColumnName="TerritoryID" /> + <ScalarProperty Name="TerritoryDescription" ColumnName="TerritoryDescription" /> + <ScalarProperty Name="RegionID" ColumnName="RegionID" /> + </MappingFragment></EntityTypeMapping></EntitySetMapping> + <AssociationSetMapping Name="CustomerCustomerDemo" TypeName="northwindModel.CustomerCustomerDemo" StoreEntitySet="CustomerCustomerDemo"> + <EndProperty Name="CustomerDemographics"> + <ScalarProperty Name="CustomerTypeID" ColumnName="CustomerTypeID" /> + </EndProperty> + <EndProperty Name="Customers"> + <ScalarProperty Name="CustomerID" ColumnName="CustomerID" /> + </EndProperty> + </AssociationSetMapping> + <AssociationSetMapping Name="EmployeeTerritories" TypeName="northwindModel.EmployeeTerritories" StoreEntitySet="EmployeeTerritories"> + <EndProperty Name="Employees"> + <ScalarProperty Name="EmployeeID" ColumnName="EmployeeID" /> + </EndProperty> + <EndProperty Name="Territories"> + <ScalarProperty Name="TerritoryID" ColumnName="TerritoryID" /> + </EndProperty> + </AssociationSetMapping> + </EntityContainerMapping> + </Mapping> + </edmx:Mappings> + </edmx:Runtime> + <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) --> + <Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx"> + <Connection> + <DesignerInfoPropertySet> + <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" /> + </DesignerInfoPropertySet> + </Connection> + <Options> + <DesignerInfoPropertySet> + <DesignerProperty Name="ValidateOnBuild" Value="true" /> + <DesignerProperty Name="EnablePluralization" Value="True" /> + <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" /> + </DesignerInfoPropertySet> + </Options> + <!-- Diagram content (shape and connector positions) --> + <Diagrams> + <Diagram Name="Northwind"> + <EntityTypeShape EntityType="northwindModel.Category" Width="1.5" PointX="3" PointY="14.5" Height="1.9802864583333317" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.CustomerDemographic" Width="1.5" PointX="0.75" PointY="2.5" Height="1.5956835937500005" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Customer" Width="1.5" PointX="3" PointY="1.5" Height="3.5186979166666661" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Employee" Width="1.5" PointX="3" PointY="8.375" Height="5.2494108072916674" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Order_Detail" Width="1.5" PointX="7.5" PointY="2.125" Height="2.3648893229166656" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Order" Width="1.5" PointX="5.25" PointY="1" Height="4.480205078125" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Product" Width="1.5" PointX="5.25" PointY="15.875" Height="3.5186979166666674" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Region" Width="1.5" PointX="5.75" PointY="7.125" Height="1.5956835937499996" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Shipper" Width="1.5" PointX="3" PointY="5.875" Height="1.7879850260416674" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Supplier" Width="1.5" PointX="3" PointY="17.25" Height="3.5186979166666674" IsExpanded="true" /> + <EntityTypeShape EntityType="northwindModel.Territory" Width="1.5" PointX="8" PointY="9.375" Height="1.9802864583333353" IsExpanded="true" /> + <AssociationConnector Association="northwindModel.FK_Products_Categories" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="16.177643229166666" /> + <ConnectorPoint PointX="5.25" PointY="16.177643229166666" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Orders_Customers" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="3.2593489583333328" /> + <ConnectorPoint PointX="5.25" PointY="3.2593489583333328" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Employees_Employees" ManuallyRouted="false"> + <ConnectorPoint PointX="3.5319230769230767" PointY="13.624410807291667" /> + <ConnectorPoint PointX="3.5319230769230767" PointY="13.874410807291667" /> + <ConnectorPoint PointX="3.9784615384615383" PointY="13.874410807291667" /> + <ConnectorPoint PointX="3.9784615384615383" PointY="13.624410807291667" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Orders_Employees" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="11.203797200520834" /> + <ConnectorPoint PointX="5.46875" PointY="11.203797200520834" /> + <ConnectorPoint PointX="5.46875" PointY="5.480205078125" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Order_Details_Orders" ManuallyRouted="false"> + <ConnectorPoint PointX="6.75" PointY="3.3074446614583328" /> + <ConnectorPoint PointX="7.5" PointY="3.3074446614583328" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Order_Details_Products" ManuallyRouted="false"> + <ConnectorPoint PointX="6.75" PointY="17.634348958333334" /> + <ConnectorPoint PointX="7.71875" PointY="17.634348958333334" /> + <ConnectorPoint PointX="7.71875" PointY="4.4898893229166656" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Orders_Shippers" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="6.46875" /> + <ConnectorPoint PointX="5.3281225" PointY="6.46875" /> + <ConnectorPoint PointX="5.3281225" PointY="5.480205078125" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Products_Suppliers" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="18.321848958333334" /> + <ConnectorPoint PointX="5.25" PointY="18.321848958333334" /></AssociationConnector> + <AssociationConnector Association="northwindModel.FK_Territories_Region" ManuallyRouted="false"> + <ConnectorPoint PointX="7.25" PointY="7.922841796875" /> + <ConnectorPoint PointX="7.635416666666667" PointY="7.9228417968749989" /> + <ConnectorPoint PointX="7.802083333333333" PointY="7.922841796875" /> + <ConnectorPoint PointX="8.75" PointY="7.922841796875" /> + <ConnectorPoint PointX="8.75" PointY="9.375" /></AssociationConnector> + <AssociationConnector Association="northwindModel.CustomerCustomerDemo" ManuallyRouted="false"> + <ConnectorPoint PointX="2.25" PointY="3.2978417968750002" /> + <ConnectorPoint PointX="3" PointY="3.2978417968750002" /></AssociationConnector> + <AssociationConnector Association="northwindModel.EmployeeTerritories" ManuallyRouted="false"> + <ConnectorPoint PointX="4.5" PointY="10.226898600260416" /> + <ConnectorPoint PointX="5.385416666666667" PointY="10.226898600260416" /> + <ConnectorPoint PointX="5.552083333333333" PointY="10.226898600260416" /> + <ConnectorPoint PointX="7.635416666666667" PointY="10.226898600260416" /> + <ConnectorPoint PointX="7.802083333333333" PointY="10.226898600260416" /> + <ConnectorPoint PointX="8" PointY="10.226898600260416" /></AssociationConnector></Diagram></Diagrams> + </Designer> +</edmx:Edmx>
\ No newline at end of file |