<?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="zzzModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
        <EntityType Name="Author">
          <Key>
            <PropertyRef Name="IDAuthor" />
          </Key>
          <Property Name="IDAuthor" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
        </EntityType>
        <EntityType Name="Book">
          <Key>
            <PropertyRef Name="IDBook" />
          </Key>
          <Property Name="IDBook" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="IDAuthor" Type="int" Nullable="false" />
          <Property Name="Name" Type="nvarchar" MaxLength="1000" Nullable="false" />
          <Property Name="Amount" Type="int" Nullable="false" />
          <Property Name="Price" Type="money" Nullable="false" />
        </EntityType>
        <Association Name="FK__Book__IDAuthor__1273C1CD">
          <End Role="Author" Type="Self.Author" Multiplicity="1" />
          <End Role="Book" Type="Self.Book" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Author">
              <PropertyRef Name="IDAuthor" />
            </Principal>
            <Dependent Role="Book">
              <PropertyRef Name="IDAuthor" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityContainer Name="zzzModelStoreContainer">
          <EntitySet Name="Author" EntityType="Self.Author" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="Book" EntityType="Self.Book" Schema="dbo" store:Type="Tables" />
          <AssociationSet Name="FK__Book__IDAuthor__1273C1CD" Association="Self.FK__Book__IDAuthor__1273C1CD">
            <End Role="Author" EntitySet="Author" />
            <End Role="Book" EntitySet="Book" />
          </AssociationSet>
        </EntityContainer>
      </Schema>
    </edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="zzzModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
        <EntityType Name="Author">
          <Key>
            <PropertyRef Name="IDAuthor" />
          </Key>
          <Property Name="IDAuthor" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
          <NavigationProperty Name="Books" Relationship="Self.FK__Book__IDAuthor__1273C1CD" FromRole="Author" ToRole="Book" />
        </EntityType>
        <EntityType Name="Book">
          <Key>
            <PropertyRef Name="IDBook" />
          </Key>
          <Property Name="IDBook" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="IDAuthor" Type="Int32" Nullable="false" />
          <Property Name="Name" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="Amount" Type="Int32" Nullable="false" />
          <Property Name="Price" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
          <NavigationProperty Name="Author" Relationship="Self.FK__Book__IDAuthor__1273C1CD" FromRole="Book" ToRole="Author" />
        </EntityType>
        <Association Name="FK__Book__IDAuthor__1273C1CD">
          <End Role="Author" Type="Self.Author" Multiplicity="1" />
          <End Role="Book" Type="Self.Book" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Author">
              <PropertyRef Name="IDAuthor" />
            </Principal>
            <Dependent Role="Book">
              <PropertyRef Name="IDAuthor" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <EntityContainer Name="zzzEntities" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="Authors" EntityType="Self.Author" />
          <EntitySet Name="Books" EntityType="Self.Book" />
          <AssociationSet Name="FK__Book__IDAuthor__1273C1CD" Association="Self.FK__Book__IDAuthor__1273C1CD">
            <End Role="Author" EntitySet="Authors" />
            <End Role="Book" EntitySet="Books" />
          </AssociationSet>
        </EntityContainer>
      </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="zzzModelStoreContainer" CdmEntityContainer="zzzEntities">
          <EntitySetMapping Name="Authors">
            <EntityTypeMapping TypeName="zzzModel.Author">
              <MappingFragment StoreEntitySet="Author">
                <ScalarProperty Name="IDAuthor" ColumnName="IDAuthor" />
                <ScalarProperty Name="Name" ColumnName="Name" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Books">
            <EntityTypeMapping TypeName="zzzModel.Book">
              <MappingFragment StoreEntitySet="Book">
                <ScalarProperty Name="IDBook" ColumnName="IDBook" />
                <ScalarProperty Name="IDAuthor" ColumnName="IDAuthor" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="Amount" ColumnName="Amount" />
                <ScalarProperty Name="Price" ColumnName="Price" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
        </EntityContainerMapping>
      </Mapping>
    </edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/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" />
        <DesignerProperty Name="UseLegacyProvider" Value="false" />
        <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams></Diagrams>
  </Designer>
</edmx:Edmx>