|
|
@@ -4,163 +4,228 @@
|
|
|
<edmx:Runtime>
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
- <Schema Namespace="CD67.FicheCollege.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="Annees">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
- <Property Name="Libelle" Type="nvarchar" MaxLength="12" Nullable="false" />
|
|
|
- </EntityType>
|
|
|
- <EntityType Name="Colleges">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
- <Property Name="Annee_Id" Type="int" Nullable="false" />
|
|
|
- <Property Name="CodeRne" Type="nvarchar" MaxLength="10" Nullable="false" />
|
|
|
- <Property Name="Libelle" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
|
- <Property Name="Adresse" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Code_Postal" Type="nvarchar" MaxLength="5" />
|
|
|
- <Property Name="TypeCollege_Id" Type="int" Nullable="false" />
|
|
|
- <Property Name="Commune_Insee" Type="nvarchar" MaxLength="5" />
|
|
|
- <Property Name="Commune" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
|
- <Property Name="Canton" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Territoire_Id" Type="nvarchar" MaxLength="10" />
|
|
|
- <Property Name="TAD" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="CDC" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Tel" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Fax" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Email" Type="nvarchar" MaxLength="255" />
|
|
|
- </EntityType>
|
|
|
- <EntityType Name="Identites">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="College_Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="College_Id" Type="int" Nullable="false" />
|
|
|
- <Property Name="Principal_SID" Type="nvarchar" MaxLength="64" />
|
|
|
- <Property Name="Principal_Login" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Principal_Nom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Principal_Prenom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Principal_Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Principal_Tel" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Principal_Structure" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_SID" Type="nvarchar" MaxLength="64" />
|
|
|
- <Property Name="Adjoint_Login" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_Nom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_Prenom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_Tel" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Adjoint_Structure" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_SID" Type="nvarchar" MaxLength="64" />
|
|
|
- <Property Name="Gestionnaire_Login" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_Nom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_Prenom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_Tel" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire_Structure" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_SID" Type="nvarchar" MaxLength="64" />
|
|
|
- <Property Name="Gestionnaire2_Login" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_Nom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_Prenom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_Tel" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Gestionnaire2_Structure" Type="nvarchar" MaxLength="255" />
|
|
|
- </EntityType>
|
|
|
- <EntityType Name="Territoires">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="Id" Type="nvarchar" MaxLength="10" Nullable="false" />
|
|
|
- <Property Name="Libelle" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
|
- <Property Name="Referent_SID" Type="nvarchar" MaxLength="64" />
|
|
|
- <Property Name="Referent_Nom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Referent_Prenom" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Referent_Structure" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Referent_Login" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Referent_Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
- </EntityType>
|
|
|
- <EntityType Name="TypesCollege">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
- <Property Name="Libelle" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
|
- <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
- </EntityType>
|
|
|
- <Association Name="FK_Annees_Colleges">
|
|
|
- <End Role="Annees" Type="Self.Annees" Multiplicity="1" />
|
|
|
- <End Role="Colleges" Type="Self.Colleges" Multiplicity="*" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="Annees">
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Colleges">
|
|
|
- <PropertyRef Name="Annee_Id" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
- <Association Name="FK_Colleges_Territoires">
|
|
|
- <End Role="Territoires" Type="Self.Territoires" Multiplicity="0..1" />
|
|
|
- <End Role="Colleges" Type="Self.Colleges" Multiplicity="*" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="Territoires">
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Colleges">
|
|
|
- <PropertyRef Name="Territoire_Id" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
- <Association Name="FK_Colleges_TypesCollege">
|
|
|
- <End Role="TypesCollege" Type="Self.TypesCollege" Multiplicity="1" />
|
|
|
- <End Role="Colleges" Type="Self.Colleges" Multiplicity="*" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="TypesCollege">
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Colleges">
|
|
|
- <PropertyRef Name="TypeCollege_Id" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
- <Association Name="FK_FicheIdentite_College">
|
|
|
- <End Role="Colleges" Type="Self.Colleges" Multiplicity="1" />
|
|
|
- <End Role="Identites" Type="Self.Identites" Multiplicity="0..1" />
|
|
|
- <ReferentialConstraint>
|
|
|
- <Principal Role="Colleges">
|
|
|
- <PropertyRef Name="Id" />
|
|
|
- </Principal>
|
|
|
- <Dependent Role="Identites">
|
|
|
- <PropertyRef Name="College_Id" />
|
|
|
- </Dependent>
|
|
|
- </ReferentialConstraint>
|
|
|
- </Association>
|
|
|
- <EntityContainer Name="CD67FicheCollegeStoreContainer">
|
|
|
- <EntitySet Name="Annees" EntityType="Self.Annees" Schema="dbo" store:Type="Tables" />
|
|
|
- <EntitySet Name="Colleges" EntityType="Self.Colleges" Schema="dbo" store:Type="Tables" />
|
|
|
- <EntitySet Name="Identites" EntityType="Self.Identites" Schema="dbo" store:Type="Tables" />
|
|
|
- <EntitySet Name="Territoires" EntityType="Self.Territoires" Schema="dbo" store:Type="Tables" />
|
|
|
- <EntitySet Name="TypesCollege" EntityType="Self.TypesCollege" Schema="dbo" store:Type="Tables" />
|
|
|
- <AssociationSet Name="FK_Annees_Colleges" Association="Self.FK_Annees_Colleges">
|
|
|
- <End Role="Annees" EntitySet="Annees" />
|
|
|
- <End Role="Colleges" EntitySet="Colleges" />
|
|
|
- </AssociationSet>
|
|
|
- <AssociationSet Name="FK_Colleges_Territoires" Association="Self.FK_Colleges_Territoires">
|
|
|
- <End Role="Territoires" EntitySet="Territoires" />
|
|
|
- <End Role="Colleges" EntitySet="Colleges" />
|
|
|
- </AssociationSet>
|
|
|
- <AssociationSet Name="FK_Colleges_TypesCollege" Association="Self.FK_Colleges_TypesCollege">
|
|
|
- <End Role="TypesCollege" EntitySet="TypesCollege" />
|
|
|
- <End Role="Colleges" EntitySet="Colleges" />
|
|
|
- </AssociationSet>
|
|
|
- <AssociationSet Name="FK_FicheIdentite_College" Association="Self.FK_FicheIdentite_College">
|
|
|
- <End Role="Colleges" EntitySet="Colleges" />
|
|
|
- <End Role="Identites" EntitySet="Identites" />
|
|
|
- </AssociationSet>
|
|
|
- </EntityContainer>
|
|
|
- </Schema></edmx:StorageModels>
|
|
|
+ <Schema Namespace="CD67.FicheCollege.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2012" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
|
|
|
+ <EntityContainer Name="CD67FicheCollegeStoreContainer">
|
|
|
+ <EntitySet Name="TypesCollege" EntityType="CD67.FicheCollege.Store.TypesCollege" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="Territoires" EntityType="CD67.FicheCollege.Store.Territoires" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="Colleges" EntityType="CD67.FicheCollege.Store.Colleges" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="Identites" EntityType="CD67.FicheCollege.Store.Identites" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="Annees" EntityType="CD67.FicheCollege.Store.Annees" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="ActionAxes" EntityType="CD67.FicheCollege.Store.ActionAxes" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="ActionThematiques" EntityType="CD67.FicheCollege.Store.ActionThematiques" store:Type="Tables" Schema="dbo" />
|
|
|
+ <EntitySet Name="Actions" EntityType="CD67.FicheCollege.Store.Actions" store:Type="Tables" Schema="dbo" />
|
|
|
+ <AssociationSet Name="FK_Colleges_Territoires" Association="CD67.FicheCollege.Store.FK_Colleges_Territoires">
|
|
|
+ <End Role="Territoire" EntitySet="Territoires" />
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="FK_Colleges_TypesCollege" Association="CD67.FicheCollege.Store.FK_Colleges_TypesCollege">
|
|
|
+ <End Role="TypeCollege" EntitySet="TypesCollege" />
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="FK_FicheIdentite_College" Association="CD67.FicheCollege.Store.FK_FicheIdentite_College">
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ <End Role="Identite" EntitySet="Identites" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="AnneeCollege" Association="CD67.FicheCollege.Store.AnneeCollege">
|
|
|
+ <End Role="Annee" EntitySet="Annees" />
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="ActionAxeActionThematique" Association="CD67.FicheCollege.Store.ActionAxeActionThematique">
|
|
|
+ <End Role="ActionAxe" EntitySet="ActionAxes" />
|
|
|
+ <End Role="ActionThematique" EntitySet="ActionThematiques" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="ActionThematiqueAction" Association="CD67.FicheCollege.Store.ActionThematiqueAction">
|
|
|
+ <End Role="ActionThematique" EntitySet="ActionThematiques" />
|
|
|
+ <End Role="Action" EntitySet="Actions" />
|
|
|
+ </AssociationSet>
|
|
|
+ </EntityContainer>
|
|
|
+ <EntityType Name="TypesCollege">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
|
|
|
+ <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Territoires">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="nvarchar" Nullable="false" MaxLength="10" />
|
|
|
+ <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
|
|
|
+ <Property Name="Referent_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
|
|
|
+ <Property Name="Referent_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Referent_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Referent_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Referent_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Referent_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Colleges">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" Nullable="false" />
|
|
|
+ <Property Name="Annee_Id" Type="int" Nullable="false" />
|
|
|
+ <Property Name="CodeRne" Type="nvarchar" Nullable="false" MaxLength="10" />
|
|
|
+ <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
|
|
|
+ <Property Name="Adresse" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Code_Postal" Type="nvarchar" Nullable="true" MaxLength="5" />
|
|
|
+ <Property Name="TypeCollege_Id" Type="int" Nullable="false" />
|
|
|
+ <Property Name="Commune_Insee" Type="nvarchar" Nullable="true" MaxLength="5" />
|
|
|
+ <Property Name="Commune" Type="nvarchar" Nullable="false" MaxLength="255" />
|
|
|
+ <Property Name="Canton" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Territoire_Id" Type="nvarchar" Nullable="true" MaxLength="10" />
|
|
|
+ <Property Name="TAD" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="CDC" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Fax" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Identites">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="College_Id" Type="int" Nullable="false" />
|
|
|
+ <Property Name="Principal_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
|
|
|
+ <Property Name="Principal_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Principal_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Principal_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Principal_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Principal_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Principal_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
|
|
|
+ <Property Name="Adjoint_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Adjoint_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
|
|
|
+ <Property Name="Gestionnaire_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
|
|
|
+ <Property Name="Gestionnaire2_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ <Property Name="Gestionnaire2_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Annees">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="12" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="ActionAxes">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
|
|
|
+ <Property Name="Neutralise" Type="bit" Nullable="false" DefaultValue="false" />
|
|
|
+ <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="ActionThematiques">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
|
|
|
+ <Property Name="Neutralise" Type="bit" Nullable="false" DefaultValue="false" />
|
|
|
+ <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
+ <Property Name="ActionAxeId" Type="int" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Actions">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
|
|
+ <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
|
|
|
+ <Property Name="Description" Type="nvarchar(max)" Nullable="false" />
|
|
|
+ <Property Name="Neutralise" Type="bit" Nullable="false" />
|
|
|
+ <Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
+ <Property Name="ActionThematiqueId" Type="int" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="FK_Colleges_Territoires">
|
|
|
+ <End Role="Territoire" Type="CD67.FicheCollege.Store.Territoires" Multiplicity="0..1" />
|
|
|
+ <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="Territoire">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="College">
|
|
|
+ <PropertyRef Name="Territoire_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="FK_Colleges_TypesCollege">
|
|
|
+ <End Role="TypeCollege" Type="CD67.FicheCollege.Store.TypesCollege" Multiplicity="1" />
|
|
|
+ <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="TypeCollege">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="College">
|
|
|
+ <PropertyRef Name="TypeCollege_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="FK_FicheIdentite_College">
|
|
|
+ <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="1" />
|
|
|
+ <End Role="Identite" Type="CD67.FicheCollege.Store.Identites" Multiplicity="0..1" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="College">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Identite">
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="AnneeCollege">
|
|
|
+ <End Role="Annee" Type="CD67.FicheCollege.Store.Annees" Multiplicity="1" />
|
|
|
+ <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="Annee">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="College">
|
|
|
+ <PropertyRef Name="Annee_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="ActionAxeActionThematique">
|
|
|
+ <End Role="ActionAxe" Type="CD67.FicheCollege.Store.ActionAxes" Multiplicity="1" />
|
|
|
+ <End Role="ActionThematique" Type="CD67.FicheCollege.Store.ActionThematiques" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="ActionAxe">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="ActionThematique">
|
|
|
+ <PropertyRef Name="ActionAxeId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="ActionThematiqueAction">
|
|
|
+ <End Role="ActionThematique" Type="CD67.FicheCollege.Store.ActionThematiques" Multiplicity="1" />
|
|
|
+ <End Role="Action" Type="CD67.FicheCollege.Store.Actions" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="ActionThematique">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Action">
|
|
|
+ <PropertyRef Name="ActionThematiqueId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+</Schema></edmx:StorageModels>
|
|
|
<!-- CSDL content -->
|
|
|
<edmx:ConceptualModels>
|
|
|
<Schema Namespace="CD67.FicheCollege" 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">
|
|
|
@@ -186,6 +251,17 @@
|
|
|
<End Role="Annee" EntitySet="Annees" />
|
|
|
<End Role="College" EntitySet="Colleges" />
|
|
|
</AssociationSet>
|
|
|
+ <EntitySet Name="ActionAxes" EntityType="CD67.FicheCollege.ActionAxe" />
|
|
|
+ <EntitySet Name="ActionThematiques" EntityType="CD67.FicheCollege.ActionThematique" />
|
|
|
+ <EntitySet Name="Actions" EntityType="CD67.FicheCollege.Action" />
|
|
|
+ <AssociationSet Name="ActionAxeActionThematique" Association="CD67.FicheCollege.ActionAxeActionThematique">
|
|
|
+ <End Role="ActionAxe" EntitySet="ActionAxes" />
|
|
|
+ <End Role="ActionThematique" EntitySet="ActionThematiques" />
|
|
|
+ </AssociationSet>
|
|
|
+ <AssociationSet Name="ActionThematiqueAction" Association="CD67.FicheCollege.ActionThematiqueAction">
|
|
|
+ <End Role="ActionThematique" EntitySet="ActionThematiques" />
|
|
|
+ <End Role="Action" EntitySet="Actions" />
|
|
|
+ </AssociationSet>
|
|
|
</EntityContainer>
|
|
|
<EntityType Name="TypeCollege">
|
|
|
<Key>
|
|
|
@@ -327,6 +403,64 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <EntityType Name="ActionAxe">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="Nom" Type="String" Nullable="false" />
|
|
|
+ <Property Name="Neutralise" Type="Boolean" Nullable="false" DefaultValue="False" />
|
|
|
+ <Property Name="Ordre" Type="Int32" Nullable="false" />
|
|
|
+ <NavigationProperty Name="ActionThematiques" Relationship="CD67.FicheCollege.ActionAxeActionThematique" FromRole="ActionAxe" ToRole="ActionThematique" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="ActionThematique">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="Nom" Type="String" Nullable="false" />
|
|
|
+ <Property Name="Neutralise" Type="Boolean" Nullable="false" DefaultValue="False" />
|
|
|
+ <Property Name="Ordre" Type="Int32" Nullable="false" />
|
|
|
+ <NavigationProperty Name="ActionAxe" Relationship="CD67.FicheCollege.ActionAxeActionThematique" FromRole="ActionThematique" ToRole="ActionAxe" />
|
|
|
+ <Property Name="ActionAxeId" Type="Int32" Nullable="false" />
|
|
|
+ <NavigationProperty Name="Actions" Relationship="CD67.FicheCollege.ActionThematiqueAction" FromRole="ActionThematique" ToRole="Action" />
|
|
|
+ </EntityType>
|
|
|
+ <EntityType Name="Action">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
+ <Property Name="Nom" Type="String" Nullable="false" />
|
|
|
+ <Property Name="Description" Type="String" Nullable="false" MaxLength="Max" />
|
|
|
+ <Property Name="Neutralise" Type="Boolean" Nullable="false" />
|
|
|
+ <Property Name="Ordre" Type="Int32" Nullable="false" />
|
|
|
+ <NavigationProperty Name="ActionThematique" Relationship="CD67.FicheCollege.ActionThematiqueAction" FromRole="Action" ToRole="ActionThematique" />
|
|
|
+ <Property Name="ActionThematiqueId" Type="Int32" Nullable="false" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="ActionAxeActionThematique">
|
|
|
+ <End Type="CD67.FicheCollege.ActionAxe" Role="ActionAxe" Multiplicity="1" />
|
|
|
+ <End Type="CD67.FicheCollege.ActionThematique" Role="ActionThematique" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="ActionAxe">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="ActionThematique">
|
|
|
+ <PropertyRef Name="ActionAxeId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
+ <Association Name="ActionThematiqueAction">
|
|
|
+ <End Type="CD67.FicheCollege.ActionThematique" Role="ActionThematique" Multiplicity="1" />
|
|
|
+ <End Type="CD67.FicheCollege.Action" Role="Action" Multiplicity="*" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="ActionThematique">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Action">
|
|
|
+ <PropertyRef Name="ActionThematiqueId" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
</Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
|
@@ -360,8 +494,9 @@
|
|
|
<EntitySetMapping Name="Colleges">
|
|
|
<EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.College)">
|
|
|
<MappingFragment StoreEntitySet="Colleges">
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ <ScalarProperty Name="Annee_Id" ColumnName="Annee_Id" />
|
|
|
<ScalarProperty Name="CodeRne" ColumnName="CodeRne" />
|
|
|
- <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="Libelle" ColumnName="Libelle" />
|
|
|
<ScalarProperty Name="Adresse" ColumnName="Adresse" />
|
|
|
<ScalarProperty Name="Code_Postal" ColumnName="Code_Postal" />
|
|
|
@@ -375,7 +510,6 @@
|
|
|
<ScalarProperty Name="Tel" ColumnName="Tel" />
|
|
|
<ScalarProperty Name="Fax" ColumnName="Fax" />
|
|
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
|
|
- <ScalarProperty Name="Annee_Id" ColumnName="Annee_Id" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
@@ -417,8 +551,41 @@
|
|
|
<EntitySetMapping Name="Annees">
|
|
|
<EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Annee)">
|
|
|
<MappingFragment StoreEntitySet="Annees">
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="Libelle" ColumnName="Libelle" />
|
|
|
- <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="ActionAxes">
|
|
|
+ <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.ActionAxe)">
|
|
|
+ <MappingFragment StoreEntitySet="ActionAxes">
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ <ScalarProperty Name="Nom" ColumnName="Nom" />
|
|
|
+ <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
|
|
|
+ <ScalarProperty Name="Ordre" ColumnName="Ordre" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="ActionThematiques">
|
|
|
+ <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.ActionThematique)">
|
|
|
+ <MappingFragment StoreEntitySet="ActionThematiques">
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ <ScalarProperty Name="Nom" ColumnName="Nom" />
|
|
|
+ <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
|
|
|
+ <ScalarProperty Name="Ordre" ColumnName="Ordre" />
|
|
|
+ <ScalarProperty Name="ActionAxeId" ColumnName="ActionAxeId" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="Actions">
|
|
|
+ <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Action)">
|
|
|
+ <MappingFragment StoreEntitySet="Actions">
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ <ScalarProperty Name="Nom" ColumnName="Nom" />
|
|
|
+ <ScalarProperty Name="Description" ColumnName="Description" />
|
|
|
+ <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
|
|
|
+ <ScalarProperty Name="Ordre" ColumnName="Ordre" />
|
|
|
+ <ScalarProperty Name="ActionThematiqueId" ColumnName="ActionThematiqueId" />
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|