<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
    <Schema Namespace="Model1.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
  <EntityContainer Name="Model1StoreContainer">
    <EntitySet Name="Processors" EntityType="Model1.Store.Processors" store:Type="Tables" Schema="dbo" />
    <EntitySet Name="Computers" EntityType="Model1.Store.Computers" store:Type="Tables" Schema="dbo" />
    <EntitySet Name="Settings" EntityType="Model1.Store.Settings" store:Type="Tables" Schema="dbo" />
    <AssociationSet Name="ProcessorComputer" Association="Model1.Store.ProcessorComputer">
      <End Role="Processor" EntitySet="Processors" />
      <End Role="Computer" EntitySet="Computers" />
    </AssociationSet>
  </EntityContainer>
  <EntityType Name="Processors">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="ProcessorName" Type="nvarchar(max)" Nullable="false" />
    <Property Name="Order" Type="int" Nullable="true" />
  </EntityType>
  <EntityType Name="Computers">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="ComputerName" Type="nvarchar(max)" Nullable="false" />
    <Property Name="HDD" Type="int" Nullable="false" />
    <Property Name="UpgradeDate" Type="datetime" Nullable="false" />
    <Property Name="ProcessorId" Type="int" Nullable="false" />
  </EntityType>
  <EntityType Name="Settings">
    <Key>
      <PropertyRef Name="Id" />
    </Key>
    <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
    <Property Name="Key" Type="nvarchar(max)" Nullable="false" />
    <Property Name="Value" Type="nvarchar(max)" Nullable="false" />
    <Property Name="Description" Type="nvarchar(max)" Nullable="false" />
    <Property Name="VType" Type="nvarchar(max)" Nullable="false" />
  </EntityType>
  <Association Name="ProcessorComputer">
    <End Role="Processor" Type="Model1.Store.Processors" Multiplicity="1" />
    <End Role="Computer" Type="Model1.Store.Computers" Multiplicity="*" />
    <ReferentialConstraint>
      <Principal Role="Processor">
        <PropertyRef Name="Id" />
      </Principal>
      <Dependent Role="Computer">
        <PropertyRef Name="ProcessorId" />
      </Dependent>
    </ReferentialConstraint>
  </Association>
</Schema></edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <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>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
    <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="Model1StoreContainer" CdmEntityContainer="Model1Container">
    <EntitySetMapping Name="Processors">
      <EntityTypeMapping TypeName="IsTypeOf(Model1.Processor)">
        <MappingFragment StoreEntitySet="Processors">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="ProcessorName" ColumnName="ProcessorName" />
          <ScalarProperty Name="Order" ColumnName="Order" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Computers">
      <EntityTypeMapping TypeName="IsTypeOf(Model1.Computer)">
        <MappingFragment StoreEntitySet="Computers">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="ComputerName" ColumnName="ComputerName" />
          <ScalarProperty Name="HDD" ColumnName="HDD" />
          <ScalarProperty Name="UpgradeDate" ColumnName="UpgradeDate" />
          <ScalarProperty Name="ProcessorId" ColumnName="ProcessorId" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Settings">
      <EntityTypeMapping TypeName="IsTypeOf(Model1.Setting)">
        <MappingFragment StoreEntitySet="Settings">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="Key" ColumnName="Key" />
          <ScalarProperty Name="Value" ColumnName="Value" />
          <ScalarProperty Name="Description" ColumnName="Description" />
          <ScalarProperty Name="VType" ColumnName="VType" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
  </EntityContainerMapping>
</Mapping></edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
    <edmx:Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </edmx:Connection>
    <edmx:Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="True" />
        <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
      </DesignerInfoPropertySet>
    </edmx:Options>
    <!-- Diagram content (shape and connector positions) -->
    <edmx:Diagrams>
    </edmx:Diagrams>
  </edmx:Designer>
</edmx:Edmx>
