<?xml version="1.0" encoding="utf-8"?>
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" xmlns:cg="http://schemas.microsoft.com/ado/2006/04/codegeneration" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" Namespace="Model1" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" annotation:UseStrongSpatialTypes="false">
  <EntityContainer Name="Model1Container" annotation:LazyLoadingEnabled="true">
    <EntitySet Name="Processors" EntityType="Model1.Processor" />
    <EntitySet Name="Computers" EntityType="Model1.Computer" />
    <AssociationSet Name="ProcessorComputer" Association="Model1.ProcessorComputer">
      <End Role="Processor" EntitySet="Processors" />
      <End Role="Computer" EntitySet="Computers" />
    </AssociationSet>
    <EntitySet Name="Settings" EntityType="Model1.Setting" />
  </EntityContainer>
  <EntityType Name="Processor">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
    <Property Type="String" Name="ProcessorName" Nullable="false" />
    <NavigationProperty Name="Computers" Relationship="Model1.ProcessorComputer" FromRole="Processor" ToRole="Computer" />
    <Property Type="Int32" Name="Order" Nullable="true" />
  </EntityType>
  <EntityType Name="Computer">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
    <Property Type="String" Name="ComputerName" Nullable="false" />
    <Property Type="Int32" Name="HDD" Nullable="false" />
    <Property Type="DateTime" Name="UpgradeDate" Nullable="false" />
    <NavigationProperty Name="Processor" Relationship="Model1.ProcessorComputer" FromRole="Computer" ToRole="Processor" />
    <Property Type="Int32" Name="ProcessorId" Nullable="false" />
  </EntityType>
  <Association Name="ProcessorComputer">
    <End Type="Model1.Processor" Role="Processor" Multiplicity="1" />
    <End Type="Model1.Computer" Role="Computer" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Processor">
        <PropertyRef Name="Id" />
      </Principal>
      <Dependent Role="Computer">
        <PropertyRef Name="ProcessorId" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
  <EntityType Name="Setting">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Type="Int32" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
    <Property Type="String" Name="Key" Nullable="false" />
    <Property Type="String" Name="Value" Nullable="false" />
    <Property Type="String" Name="Description" Nullable="false" />
    <Property Type="String" Name="VType" Nullable="false" />
  </EntityType>
</Schema>