<?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="ModeloBDNotasAlumnos.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/02/edm/ssdl">
        <EntityContainer Name="ModeloBDNotasAlumnosStoreContainer">
          <EntitySet Name="alumnos" EntityType="ModeloBDNotasAlumnos.Store.alumnos" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="alums_asigs" EntityType="ModeloBDNotasAlumnos.Store.alums_asigs" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="asignaturas" EntityType="ModeloBDNotasAlumnos.Store.asignaturas" store:Type="Tables" Schema="dbo" />
          <AssociationSet Name="FK__alums_asi__id_al__08EA5793" Association="ModeloBDNotasAlumnos.Store.FK__alums_asi__id_al__08EA5793">
            <End Role="alumnos" EntitySet="alumnos" />
            <End Role="alums_asigs" EntitySet="alums_asigs" />
          </AssociationSet>
          <AssociationSet Name="FK__alums_asi__id_as__09DE7BCC" Association="ModeloBDNotasAlumnos.Store.FK__alums_asi__id_as__09DE7BCC">
            <End Role="asignaturas" EntitySet="asignaturas" />
            <End Role="alums_asigs" EntitySet="alums_asigs" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="alumnos">
          <Key>
            <PropertyRef Name="id_alumno" />
          </Key>
          <Property Name="id_alumno" Type="int" Nullable="false" />
          <Property Name="nombre" Type="varchar" Nullable="false" MaxLength="50" />
        </EntityType>
        <EntityType Name="alums_asigs">
          <Key>
            <PropertyRef Name="id_alumno" />
            <PropertyRef Name="id_asignatura" />
          </Key>
          <Property Name="id_alumno" Type="int" Nullable="false" />
          <Property Name="id_asignatura" Type="int" Nullable="false" />
          <Property Name="nota" Type="real" Nullable="false" />
        </EntityType>
        <EntityType Name="asignaturas">
          <Key>
            <PropertyRef Name="id_asignatura" />
          </Key>
          <Property Name="id_asignatura" Type="int" Nullable="false" />
          <Property Name="nombre" Type="varchar" Nullable="false" MaxLength="60" />
        </EntityType>
        <Association Name="FK__alums_asi__id_al__08EA5793">
          <End Role="alumnos" Type="ModeloBDNotasAlumnos.Store.alumnos" Multiplicity="1" />
          <End Role="alums_asigs" Type="ModeloBDNotasAlumnos.Store.alums_asigs" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="alumnos">
              <PropertyRef Name="id_alumno" />
            </Principal>
            <Dependent Role="alums_asigs">
              <PropertyRef Name="id_alumno" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK__alums_asi__id_as__09DE7BCC">
          <End Role="asignaturas" Type="ModeloBDNotasAlumnos.Store.asignaturas" Multiplicity="1" />
          <End Role="alums_asigs" Type="ModeloBDNotasAlumnos.Store.alums_asigs" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="asignaturas">
              <PropertyRef Name="id_asignatura" />
            </Principal>
            <Dependent Role="alums_asigs">
              <PropertyRef Name="id_asignatura" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
      </Schema>
    </edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="ModeloBDNotasAlumnos" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
        <EntityContainer Name="bd_notasAlumnosEntities" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="alumnos" EntityType="ModeloBDNotasAlumnos.alumno" />
          <EntitySet Name="alums_asigs" EntityType="ModeloBDNotasAlumnos.alum_asig" />
          <EntitySet Name="asignaturas" EntityType="ModeloBDNotasAlumnos.asignatura" />
          <AssociationSet Name="FK__alums_asi__id_al__08EA5793" Association="ModeloBDNotasAlumnos.FK__alums_asi__id_al__08EA5793">
            <End Role="alumnos" EntitySet="alumnos" />
            <End Role="alums_asigs" EntitySet="alums_asigs" />
          </AssociationSet>
          <AssociationSet Name="FK__alums_asi__id_as__09DE7BCC" Association="ModeloBDNotasAlumnos.FK__alums_asi__id_as__09DE7BCC">
            <End Role="asignaturas" EntitySet="asignaturas" />
            <End Role="alums_asigs" EntitySet="alums_asigs" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="alumno">
          <Key>
            <PropertyRef Name="id_alumno" />
          </Key>
          <Property Name="id_alumno" Type="Int32" Nullable="false" />
          <Property Name="nombre" Type="String" Nullable="false" MaxLength="50" Unicode="false" FixedLength="false" />
          <NavigationProperty Name="alums_asigs" Relationship="ModeloBDNotasAlumnos.FK__alums_asi__id_al__08EA5793" FromRole="alumnos" ToRole="alums_asigs" />
        </EntityType>
        <EntityType Name="alum_asig">
          <Key>
            <PropertyRef Name="id_alumno" />
            <PropertyRef Name="id_asignatura" />
          </Key>
          <Property Name="id_alumno" Type="Int32" Nullable="false" />
          <Property Name="id_asignatura" Type="Int32" Nullable="false" />
          <Property Name="nota" Type="Single" Nullable="false" />
          <NavigationProperty Name="alumno" Relationship="ModeloBDNotasAlumnos.FK__alums_asi__id_al__08EA5793" FromRole="alums_asigs" ToRole="alumnos" />
          <NavigationProperty Name="asignatura" Relationship="ModeloBDNotasAlumnos.FK__alums_asi__id_as__09DE7BCC" FromRole="alums_asigs" ToRole="asignaturas" />
        </EntityType>
        <EntityType Name="asignatura">
          <Key>
            <PropertyRef Name="id_asignatura" />
          </Key>
          <Property Name="id_asignatura" Type="Int32" Nullable="false" />
          <Property Name="nombre" Type="String" Nullable="false" MaxLength="60" Unicode="false" FixedLength="false" />
          <NavigationProperty Name="alums_asigs" Relationship="ModeloBDNotasAlumnos.FK__alums_asi__id_as__09DE7BCC" FromRole="asignaturas" ToRole="alums_asigs" />
        </EntityType>
        <Association Name="FK__alums_asi__id_al__08EA5793">
          <End Role="alumnos" Type="ModeloBDNotasAlumnos.alumno" Multiplicity="1" />
          <End Role="alums_asigs" Type="ModeloBDNotasAlumnos.alum_asig" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="alumnos">
              <PropertyRef Name="id_alumno" />
            </Principal>
            <Dependent Role="alums_asigs">
              <PropertyRef Name="id_alumno" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK__alums_asi__id_as__09DE7BCC">
          <End Role="asignaturas" Type="ModeloBDNotasAlumnos.asignatura" Multiplicity="1" />
          <End Role="alums_asigs" Type="ModeloBDNotasAlumnos.alum_asig" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="asignaturas">
              <PropertyRef Name="id_asignatura" />
            </Principal>
            <Dependent Role="alums_asigs">
              <PropertyRef Name="id_asignatura" />
            </Dependent>
          </ReferentialConstraint>
        </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="ModeloBDNotasAlumnosStoreContainer" CdmEntityContainer="bd_notasAlumnosEntities">
          <EntitySetMapping Name="alumnos"><EntityTypeMapping TypeName="ModeloBDNotasAlumnos.alumno"><MappingFragment StoreEntitySet="alumnos">
            <ScalarProperty Name="id_alumno" ColumnName="id_alumno" />
            <ScalarProperty Name="nombre" ColumnName="nombre" />
          </MappingFragment></EntityTypeMapping></EntitySetMapping>
          <EntitySetMapping Name="alums_asigs"><EntityTypeMapping TypeName="ModeloBDNotasAlumnos.alum_asig"><MappingFragment StoreEntitySet="alums_asigs">
            <ScalarProperty Name="id_alumno" ColumnName="id_alumno" />
            <ScalarProperty Name="id_asignatura" ColumnName="id_asignatura" />
            <ScalarProperty Name="nota" ColumnName="nota" />
          </MappingFragment></EntityTypeMapping></EntitySetMapping>
          <EntitySetMapping Name="asignaturas"><EntityTypeMapping TypeName="ModeloBDNotasAlumnos.asignatura"><MappingFragment StoreEntitySet="asignaturas">
            <ScalarProperty Name="id_asignatura" ColumnName="id_asignatura" />
            <ScalarProperty Name="nombre" ColumnName="nombre" />
          </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/2008/10/edmx">
    <Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </Connection>
    <Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="False" />
        <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams>
      <Diagram Name="MDEBDNotasAlums">
        <EntityTypeShape EntityType="ModeloBDNotasAlumnos.alumno" Width="1.5" PointX="0.75" PointY="1.125" Height="1.6138209593296051" IsExpanded="true" />
        <EntityTypeShape EntityType="ModeloBDNotasAlumnos.alum_asig" Width="1.5" PointX="3" PointY="0.875" Height="2.0044696124394736" IsExpanded="true" />
        <EntityTypeShape EntityType="ModeloBDNotasAlumnos.asignatura" Width="1.5" PointX="5.375" PointY="1.125" Height="1.6138209593296047" IsExpanded="true" />
        <AssociationConnector Association="ModeloBDNotasAlumnos.FK__alums_asi__id_al__08EA5793" ManuallyRouted="false">
          <ConnectorPoint PointX="2.25" PointY="1.9319104796648026" />
          <ConnectorPoint PointX="3" PointY="1.9319104796648026" />
        </AssociationConnector>
        <AssociationConnector Association="ModeloBDNotasAlumnos.FK__alums_asi__id_as__09DE7BCC" ManuallyRouted="false">
          <ConnectorPoint PointX="5.375" PointY="1.9319104796648023" />
          <ConnectorPoint PointX="4.5" PointY="1.9319104796648023" />
        </AssociationConnector>
      </Diagram>
    </Diagrams>
  </Designer>
</edmx:Edmx>