282 lines
15 KiB
XML
282 lines
15 KiB
XML
<?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="EntitiesModel.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="carreras">
|
|
<Key>
|
|
<PropertyRef Name="cod_carrera" />
|
|
</Key>
|
|
<Property Name="cod_carrera" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="des_carrera" Type="varchar" MaxLength="90" Nullable="false" />
|
|
<Property Name="cod_universidad" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="participantes">
|
|
<Key>
|
|
<PropertyRef Name="cod_participante" />
|
|
</Key>
|
|
<Property Name="cod_participante" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="nombre_completo" Type="varchar" MaxLength="80" Nullable="false" />
|
|
<Property Name="fecha_inscripcion" Type="date" Nullable="false" />
|
|
<Property Name="pga" Type="float" Nullable="false" />
|
|
<Property Name="cod_carrera" Type="int" Nullable="false" />
|
|
<Property Name="cod_seminario" Type="int" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="seminarios">
|
|
<Key>
|
|
<PropertyRef Name="cod_seminario" />
|
|
</Key>
|
|
<Property Name="cod_seminario" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="des_seminario" Type="varchar" MaxLength="50" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="universidades">
|
|
<Key>
|
|
<PropertyRef Name="cod_universidad" />
|
|
</Key>
|
|
<Property Name="cod_universidad" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
<Property Name="des_universidad" Type="varchar" MaxLength="60" Nullable="false" />
|
|
</EntityType>
|
|
<EntityType Name="usuarios">
|
|
<Key>
|
|
<PropertyRef Name="nombre_usuario" />
|
|
</Key>
|
|
<Property Name="nombre_usuario" Type="varchar" MaxLength="15" Nullable="false" />
|
|
<Property Name="clave_usuario" Type="varchar" MaxLength="15" Nullable="false" />
|
|
</EntityType>
|
|
<Association Name="FK_carreras_universidades">
|
|
<End Role="universidades" Type="Self.universidades" Multiplicity="1" />
|
|
<End Role="carreras" Type="Self.carreras" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="universidades">
|
|
<PropertyRef Name="cod_universidad" />
|
|
</Principal>
|
|
<Dependent Role="carreras">
|
|
<PropertyRef Name="cod_universidad" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_participantes_carreras">
|
|
<End Role="carreras" Type="Self.carreras" Multiplicity="1" />
|
|
<End Role="participantes" Type="Self.participantes" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="carreras">
|
|
<PropertyRef Name="cod_carrera" />
|
|
</Principal>
|
|
<Dependent Role="participantes">
|
|
<PropertyRef Name="cod_carrera" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_participantes_seminarios">
|
|
<End Role="seminarios" Type="Self.seminarios" Multiplicity="1" />
|
|
<End Role="participantes" Type="Self.participantes" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="seminarios">
|
|
<PropertyRef Name="cod_seminario" />
|
|
</Principal>
|
|
<Dependent Role="participantes">
|
|
<PropertyRef Name="cod_seminario" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityContainer Name="EntitiesModelStoreContainer">
|
|
<EntitySet Name="carreras" EntityType="Self.carreras" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="participantes" EntityType="Self.participantes" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="seminarios" EntityType="Self.seminarios" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="universidades" EntityType="Self.universidades" Schema="dbo" store:Type="Tables" />
|
|
<EntitySet Name="usuarios" EntityType="Self.usuarios" Schema="dbo" store:Type="Tables" />
|
|
<AssociationSet Name="FK_carreras_universidades" Association="Self.FK_carreras_universidades">
|
|
<End Role="universidades" EntitySet="universidades" />
|
|
<End Role="carreras" EntitySet="carreras" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_participantes_carreras" Association="Self.FK_participantes_carreras">
|
|
<End Role="carreras" EntitySet="carreras" />
|
|
<End Role="participantes" EntitySet="participantes" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_participantes_seminarios" Association="Self.FK_participantes_seminarios">
|
|
<End Role="seminarios" EntitySet="seminarios" />
|
|
<End Role="participantes" EntitySet="participantes" />
|
|
</AssociationSet>
|
|
</EntityContainer>
|
|
</Schema></edmx:StorageModels>
|
|
<!-- CSDL content -->
|
|
<edmx:ConceptualModels>
|
|
<Schema Namespace="EntitiesModel" 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="Carrera">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="nombre" Type="String" MaxLength="90" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="idUniversidad" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="universidad" Relationship="Self.FK_carreras_universidades" FromRole="carreras" ToRole="universidades" />
|
|
<NavigationProperty Name="participantes" Relationship="Self.FK_participantes_carreras" FromRole="carreras" ToRole="participantes" />
|
|
</EntityType>
|
|
<EntityType Name="Participante">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" />
|
|
<Property Name="nombre" Type="String" MaxLength="80" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="fechaInscripcion" Type="DateTime" Nullable="false" Precision="0" />
|
|
<Property Name="pga" Type="Double" Nullable="false" />
|
|
<Property Name="idCarrera" Type="Int32" Nullable="false" />
|
|
<Property Name="idSeminario" Type="Int32" Nullable="false" />
|
|
<NavigationProperty Name="carrera" Relationship="Self.FK_participantes_carreras" FromRole="participantes" ToRole="carreras" />
|
|
<NavigationProperty Name="seminario" Relationship="Self.FK_participantes_seminarios" FromRole="participantes" ToRole="seminarios" />
|
|
</EntityType>
|
|
<EntityType Name="Seminario">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="nombre" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<NavigationProperty Name="participantes" Relationship="Self.FK_participantes_seminarios" FromRole="seminarios" ToRole="participantes" />
|
|
</EntityType>
|
|
<EntityType Name="Universidad">
|
|
<Key>
|
|
<PropertyRef Name="id" />
|
|
</Key>
|
|
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
<Property Name="nombre" Type="String" MaxLength="60" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<NavigationProperty Name="carreras" Relationship="Self.FK_carreras_universidades" FromRole="universidades" ToRole="carreras" />
|
|
</EntityType>
|
|
<EntityType Name="Usuario">
|
|
<Key>
|
|
<PropertyRef Name="nombre" />
|
|
</Key>
|
|
<Property Name="nombre" Type="String" MaxLength="15" FixedLength="false" Unicode="false" Nullable="false" />
|
|
<Property Name="password" Type="String" MaxLength="15" FixedLength="false" Unicode="false" Nullable="false" />
|
|
</EntityType>
|
|
<Association Name="FK_carreras_universidades">
|
|
<End Role="universidades" Type="EntitiesModel.Universidad" Multiplicity="1" />
|
|
<End Role="carreras" Type="EntitiesModel.Carrera" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="universidades">
|
|
<PropertyRef Name="id" />
|
|
</Principal>
|
|
<Dependent Role="carreras">
|
|
<PropertyRef Name="idUniversidad" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_participantes_carreras">
|
|
<End Role="carreras" Type="EntitiesModel.Carrera" Multiplicity="1" />
|
|
<End Role="participantes" Type="EntitiesModel.Participante" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="carreras">
|
|
<PropertyRef Name="id" />
|
|
</Principal>
|
|
<Dependent Role="participantes">
|
|
<PropertyRef Name="idCarrera" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<Association Name="FK_participantes_seminarios">
|
|
<End Role="seminarios" Type="EntitiesModel.Seminario" Multiplicity="1" />
|
|
<End Role="participantes" Type="EntitiesModel.Participante" Multiplicity="*" />
|
|
<ReferentialConstraint>
|
|
<Principal Role="seminarios">
|
|
<PropertyRef Name="id" />
|
|
</Principal>
|
|
<Dependent Role="participantes">
|
|
<PropertyRef Name="idSeminario" />
|
|
</Dependent>
|
|
</ReferentialConstraint>
|
|
</Association>
|
|
<EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
|
|
<EntitySet Name="Carreras" EntityType="EntitiesModel.Carrera" />
|
|
<EntitySet Name="Participantes" EntityType="EntitiesModel.Participante" />
|
|
<EntitySet Name="Seminarios" EntityType="EntitiesModel.Seminario" />
|
|
<EntitySet Name="Universidades" EntityType="EntitiesModel.Universidad" />
|
|
<EntitySet Name="Usuarios" EntityType="EntitiesModel.Usuario" />
|
|
<AssociationSet Name="FK_carreras_universidades" Association="Self.FK_carreras_universidades">
|
|
<End Role="universidades" EntitySet="Universidades" />
|
|
<End Role="carreras" EntitySet="Carreras" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_participantes_carreras" Association="Self.FK_participantes_carreras">
|
|
<End Role="carreras" EntitySet="Carreras" />
|
|
<End Role="participantes" EntitySet="Participantes" />
|
|
</AssociationSet>
|
|
<AssociationSet Name="FK_participantes_seminarios" Association="Self.FK_participantes_seminarios">
|
|
<End Role="seminarios" EntitySet="Seminarios" />
|
|
<End Role="participantes" EntitySet="Participantes" />
|
|
</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="EntitiesModelStoreContainer" CdmEntityContainer="Entities">
|
|
<EntitySetMapping Name="Carreras">
|
|
<EntityTypeMapping TypeName="EntitiesModel.Carrera">
|
|
<MappingFragment StoreEntitySet="carreras">
|
|
<ScalarProperty Name="id" ColumnName="cod_carrera" />
|
|
<ScalarProperty Name="nombre" ColumnName="des_carrera" />
|
|
<ScalarProperty Name="idUniversidad" ColumnName="cod_universidad" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Participantes">
|
|
<EntityTypeMapping TypeName="EntitiesModel.Participante">
|
|
<MappingFragment StoreEntitySet="participantes">
|
|
<ScalarProperty Name="id" ColumnName="cod_participante" />
|
|
<ScalarProperty Name="nombre" ColumnName="nombre_completo" />
|
|
<ScalarProperty Name="fechaInscripcion" ColumnName="fecha_inscripcion" />
|
|
<ScalarProperty Name="pga" ColumnName="pga" />
|
|
<ScalarProperty Name="idCarrera" ColumnName="cod_carrera" />
|
|
<ScalarProperty Name="idSeminario" ColumnName="cod_seminario" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Seminarios">
|
|
<EntityTypeMapping TypeName="EntitiesModel.Seminario">
|
|
<MappingFragment StoreEntitySet="seminarios">
|
|
<ScalarProperty Name="id" ColumnName="cod_seminario" />
|
|
<ScalarProperty Name="nombre" ColumnName="des_seminario" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Universidades">
|
|
<EntityTypeMapping TypeName="EntitiesModel.Universidad">
|
|
<MappingFragment StoreEntitySet="universidades">
|
|
<ScalarProperty Name="id" ColumnName="cod_universidad" />
|
|
<ScalarProperty Name="nombre" ColumnName="des_universidad" />
|
|
</MappingFragment>
|
|
</EntityTypeMapping>
|
|
</EntitySetMapping>
|
|
<EntitySetMapping Name="Usuarios">
|
|
<EntityTypeMapping TypeName="EntitiesModel.Usuario">
|
|
<MappingFragment StoreEntitySet="usuarios">
|
|
<ScalarProperty Name="nombre" ColumnName="nombre_usuario" />
|
|
<ScalarProperty Name="password" ColumnName="clave_usuario" />
|
|
</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="Ninguno" />
|
|
</DesignerInfoPropertySet>
|
|
</Options>
|
|
<!-- Diagram content (shape and connector positions) -->
|
|
<Diagrams></Diagrams>
|
|
</Designer>
|
|
</edmx:Edmx> |