|
|
@@ -85,6 +85,44 @@
|
|
|
<Property Name="libellecarte1" Type="varchar" MaxLength="200" />
|
|
|
<Property Name="libellecarte2" Type="varchar" MaxLength="200" />
|
|
|
</EntityType>
|
|
|
+ <EntityType Name="etaboptionsannee">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="idetablissement" Type="int4" />
|
|
|
+ <Property Name="idoption" Type="numeric" Precision="5" Scale="0" />
|
|
|
+ <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="filiere">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="nom" Type="varchar" MaxLength="60" />
|
|
|
+ <Property Name="libelle" Type="varchar" MaxLength="100" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="matiereoption">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="code" Type="varchar" MaxLength="20" />
|
|
|
+ <Property Name="nom" Type="varchar" MaxLength="100" />
|
|
|
+ <Property Name="nomcourt" Type="varchar" MaxLength="50" />
|
|
|
+ <Property Name="nomlong" Type="varchar" MaxLength="200" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="mef">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="code" Type="varchar" MaxLength="11" />
|
|
|
+ <Property Name="mefst11" Type="varchar" MaxLength="11" />
|
|
|
+ <Property Name="nomcourt" Type="varchar" MaxLength="6" />
|
|
|
+ <Property Name="nomlong" Type="varchar" MaxLength="40" />
|
|
|
+ <Property Name="idniveau" Type="numeric" Precision="5" Scale="0" />
|
|
|
+ <Property Name="idfiliere" Type="numeric" Precision="5" Scale="0" />
|
|
|
+ </EntityType>
|
|
|
<EntityType Name="niveau">
|
|
|
<Key>
|
|
|
<PropertyRef Name="id" />
|
|
|
@@ -121,6 +159,20 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <Association Name="FK_EtabOptionsAnnee">
|
|
|
+ <End Role="etablissement" Type="Self.etablissement" Multiplicity="0..1">
|
|
|
+ <OnDelete Action="Cascade" />
|
|
|
+ </End>
|
|
|
+ <End Role="etaboptionsannee" Type="Self.etaboptionsannee" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="etablissement">
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="etaboptionsannee">
|
|
|
+ <PropertyRef Name="idetablissement" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
<Association Name="FK_RuesCommunes">
|
|
|
<End Role="commune" Type="Self.commune" Multiplicity="0..1">
|
|
|
<OnDelete Action="Cascade" />
|
|
|
@@ -139,12 +191,20 @@
|
|
|
<EntitySet Name="commune" EntityType="Self.commune" Schema="educf" store:Type="Tables" />
|
|
|
<EntitySet Name="etabeffectifannee" EntityType="Self.etabeffectifannee" Schema="educf" store:Type="Tables" />
|
|
|
<EntitySet Name="etablissement" EntityType="Self.etablissement" Schema="educf" store:Type="Tables" />
|
|
|
+ <EntitySet Name="etaboptionsannee" EntityType="Self.etaboptionsannee" Schema="educf" store:Type="Tables" />
|
|
|
+ <EntitySet Name="filiere" EntityType="Self.filiere" Schema="educf" store:Type="Tables" />
|
|
|
+ <EntitySet Name="matiereoption" EntityType="Self.matiereoption" Schema="educf" store:Type="Tables" />
|
|
|
+ <EntitySet Name="mef" EntityType="Self.mef" Schema="educf" store:Type="Tables" />
|
|
|
<EntitySet Name="niveau" EntityType="Self.niveau" Schema="educf" store:Type="Tables" />
|
|
|
<EntitySet Name="rues" EntityType="Self.rues" Schema="educf" store:Type="Tables" />
|
|
|
<AssociationSet Name="FK_EtabEffectifAnnee" Association="Self.FK_EtabEffectifAnnee">
|
|
|
<End Role="etablissement" EntitySet="etablissement" />
|
|
|
<End Role="etabeffectifannee" EntitySet="etabeffectifannee" />
|
|
|
</AssociationSet>
|
|
|
+ <AssociationSet Name="FK_EtabOptionsAnnee" Association="Self.FK_EtabOptionsAnnee">
|
|
|
+ <End Role="etablissement" EntitySet="etablissement" />
|
|
|
+ <End Role="etaboptionsannee" EntitySet="etaboptionsannee" />
|
|
|
+ </AssociationSet>
|
|
|
<AssociationSet Name="FK_RuesCommunes" Association="Self.FK_RuesCommunes">
|
|
|
<End Role="commune" EntitySet="commune" />
|
|
|
<End Role="rues" EntitySet="rues" />
|
|
|
@@ -238,6 +298,7 @@
|
|
|
<Property Name="libellecarte2" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
|
<NavigationProperty Name="etabeffectifannees" Relationship="Self.FK_EtabEffectifAnnee" FromRole="etablissement" ToRole="etabeffectifannee" />
|
|
|
<NavigationProperty Name="rue" Relationship="educfModel.etablissementrue" FromRole="etablissement" ToRole="rue" />
|
|
|
+ <NavigationProperty Name="etaboptionsannees" Relationship="educfModel.FK_EtabOptionsAnnee" FromRole="etablissement" ToRole="etaboptionsannee" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="niveau">
|
|
|
<Key>
|
|
|
@@ -314,6 +375,22 @@
|
|
|
<End Role="niveau" EntitySet="niveaux" />
|
|
|
<End Role="etabeffectifannee" EntitySet="etabeffectifannees" />
|
|
|
</AssociationSet>
|
|
|
+ <EntitySet Name="filieres" EntityType="educfModel.filiere" />
|
|
|
+ <EntitySet Name="mefs" EntityType="educfModel.mef" />
|
|
|
+ <AssociationSet Name="filieremef" Association="educfModel.filieremef">
|
|
|
+ <End Role="filiere" EntitySet="filieres" />
|
|
|
+ <End Role="mef" EntitySet="mefs" />
|
|
|
+ </AssociationSet>
|
|
|
+ <EntitySet Name="etaboptionsannees" EntityType="educfModel.etaboptionsannee" />
|
|
|
+ <EntitySet Name="matiereoptions" EntityType="educfModel.matiereoption" />
|
|
|
+ <AssociationSet Name="FK_EtabOptionsAnnee" Association="educfModel.FK_EtabOptionsAnnee">
|
|
|
+ <End Role="etablissement" EntitySet="etablissements" />
|
|
|
+ <End Role="etaboptionsannee" EntitySet="etaboptionsannees" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="matiereoptionetaboptionsannee" Association="educfModel.matiereoptionetaboptionsannee">
|
|
|
+ <End Role="etaboptionsannee" EntitySet="etaboptionsannees" />
|
|
|
+ <End Role="matiereoption" EntitySet="matiereoptions" />
|
|
|
+ </AssociationSet>
|
|
|
</EntityContainer>
|
|
|
<Association Name="etablissementrue">
|
|
|
<End Type="educfModel.etablissement" Role="etablissement" Multiplicity="*" />
|
|
|
@@ -339,6 +416,87 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <EntityType Name="filiere">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="nom" Type="String" MaxLength="60" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="libelle" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
+ <NavigationProperty Name="mefs" Relationship="educfModel.filieremef" FromRole="filiere" ToRole="mef" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="mef">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="code" Type="String" MaxLength="11" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="mefst11" Type="String" MaxLength="11" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="nomcourt" Type="String" MaxLength="6" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="nomlong" Type="String" MaxLength="40" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="idniveau" Type="Int32" />
|
|
|
+ <Property Name="idfiliere" Type="Int32" />
|
|
|
+ <NavigationProperty Name="filiere" Relationship="educfModel.filieremef" FromRole="mef" ToRole="filiere" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="filieremef">
|
|
|
+ <End Type="educfModel.filiere" Role="filiere" Multiplicity="0..1" />
|
|
|
+ <End Type="educfModel.mef" Role="mef" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="filiere">
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="mef">
|
|
|
+ <PropertyRef Name="idfiliere" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <EntityType Name="etaboptionsannee">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="idetablissement" Type="Int32" />
|
|
|
+ <Property Name="idoption" Type="Int32" />
|
|
|
+ <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <NavigationProperty Name="etablissement" Relationship="educfModel.FK_EtabOptionsAnnee" FromRole="etaboptionsannee" ToRole="etablissement" />
|
|
|
+ <NavigationProperty Name="matiereoption" Relationship="educfModel.matiereoptionetaboptionsannee" FromRole="etaboptionsannee" ToRole="matiereoption" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="matiereoption">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="code" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="nom" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="nomcourt" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="nomlong" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
|
+ <NavigationProperty Name="etaboptionsannees" Relationship="educfModel.matiereoptionetaboptionsannee" FromRole="matiereoption" ToRole="etaboptionsannee" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="FK_EtabOptionsAnnee">
|
|
|
+ <End Type="educfModel.etablissement" Role="etablissement" Multiplicity="0..1">
|
|
|
+ <OnDelete Action="Cascade" />
|
|
|
+ </End>
|
|
|
+ <End Type="educfModel.etaboptionsannee" Role="etaboptionsannee" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="etablissement">
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="etaboptionsannee">
|
|
|
+ <PropertyRef Name="idetablissement" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="matiereoptionetaboptionsannee">
|
|
|
+ <End Type="educfModel.etaboptionsannee" Role="etaboptionsannee" Multiplicity="*" />
|
|
|
+ <End Type="educfModel.matiereoption" Role="matiereoption" Multiplicity="0..1" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="matiereoption">
|
|
|
+ <PropertyRef Name="id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="etaboptionsannee">
|
|
|
+ <PropertyRef Name="idoption" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
</Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
|
@@ -452,6 +610,48 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="filieres">
|
|
|
+ <EntityTypeMapping TypeName="educfModel.filiere">
|
|
|
+ <MappingFragment StoreEntitySet="filiere">
|
|
|
+ <ScalarProperty Name="libelle" ColumnName="libelle" />
|
|
|
+ <ScalarProperty Name="nom" ColumnName="nom" />
|
|
|
+ <ScalarProperty Name="id" ColumnName="id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="mefs">
|
|
|
+ <EntityTypeMapping TypeName="educfModel.mef">
|
|
|
+ <MappingFragment StoreEntitySet="mef">
|
|
|
+ <ScalarProperty Name="idfiliere" ColumnName="idfiliere" />
|
|
|
+ <ScalarProperty Name="idniveau" ColumnName="idniveau" />
|
|
|
+ <ScalarProperty Name="nomlong" ColumnName="nomlong" />
|
|
|
+ <ScalarProperty Name="nomcourt" ColumnName="nomcourt" />
|
|
|
+ <ScalarProperty Name="mefst11" ColumnName="mefst11" />
|
|
|
+ <ScalarProperty Name="code" ColumnName="code" />
|
|
|
+ <ScalarProperty Name="id" ColumnName="id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="etaboptionsannees">
|
|
|
+ <EntityTypeMapping TypeName="educfModel.etaboptionsannee">
|
|
|
+ <MappingFragment StoreEntitySet="etaboptionsannee">
|
|
|
+ <ScalarProperty Name="id" ColumnName="id" />
|
|
|
+ <ScalarProperty Name="idoption" ColumnName="idoption" />
|
|
|
+ <ScalarProperty Name="idetablissement" ColumnName="idetablissement" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="matiereoptions">
|
|
|
+ <EntityTypeMapping TypeName="educfModel.matiereoption">
|
|
|
+ <MappingFragment StoreEntitySet="matiereoption">
|
|
|
+ <ScalarProperty Name="nomlong" ColumnName="nomlong" />
|
|
|
+ <ScalarProperty Name="nomcourt" ColumnName="nomcourt" />
|
|
|
+ <ScalarProperty Name="nom" ColumnName="nom" />
|
|
|
+ <ScalarProperty Name="code" ColumnName="code" />
|
|
|
+ <ScalarProperty Name="id" ColumnName="id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
</EntityContainerMapping>
|
|
|
</Mapping>
|
|
|
</edmx:Mappings>
|