|
|
@@ -24,6 +24,40 @@
|
|
|
<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="nvarchar" MaxLength="8" 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" />
|
|
|
@@ -70,8 +104,21 @@
|
|
|
</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="ModeleMVCStoreContainer">
|
|
|
<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_Colleges_Territoires" Association="Self.FK_Colleges_Territoires">
|
|
|
@@ -82,6 +129,10 @@
|
|
|
<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>
|
|
|
<!-- CSDL content -->
|
|
|
@@ -99,6 +150,11 @@
|
|
|
<End Role="TypeCollege" EntitySet="TypesCollege" />
|
|
|
<End Role="College" EntitySet="Colleges" />
|
|
|
</AssociationSet>
|
|
|
+ <EntitySet Name="Identites" EntityType="CD67.FicheCollege.Identite" />
|
|
|
+ <AssociationSet Name="FK_FicheIdentite_College" Association="CD67.FicheCollege.FK_FicheIdentite_College">
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ <End Role="Identite" EntitySet="Identites" />
|
|
|
+ </AssociationSet>
|
|
|
</EntityContainer>
|
|
|
<EntityType Name="TypeCollege">
|
|
|
<Key>
|
|
|
@@ -144,6 +200,7 @@
|
|
|
<Property Name="Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
<NavigationProperty Name="Territoire" Relationship="CD67.FicheCollege.FK_Colleges_Territoires" FromRole="College" ToRole="Territoire" />
|
|
|
<NavigationProperty Name="TypeCollege" Relationship="CD67.FicheCollege.FK_Colleges_TypesCollege" FromRole="College" ToRole="TypeCollege" />
|
|
|
+ <NavigationProperty Name="Identite" Relationship="CD67.FicheCollege.FK_FicheIdentite_College" FromRole="College" ToRole="Identite" />
|
|
|
</EntityType>
|
|
|
<Association Name="FK_Colleges_Territoires">
|
|
|
<End Type="CD67.FicheCollege.Territoire" Role="Territoire" Multiplicity="0..1" />
|
|
|
@@ -169,6 +226,53 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <EntityType Name="Identite">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="College_Id" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Principal_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Adjoint_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
+ <NavigationProperty Name="College" Relationship="CD67.FicheCollege.FK_FicheIdentite_College" FromRole="Identite" ToRole="College" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="FK_FicheIdentite_College">
|
|
|
+ <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="1" />
|
|
|
+ <End Type="CD67.FicheCollege.Identite" Role="Identite" Multiplicity="0..1" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="College">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Identite">
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
</Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
|
@@ -219,6 +323,41 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="Identites">
|
|
|
+ <EntityTypeMapping TypeName="CD67.FicheCollege.Identite">
|
|
|
+ <MappingFragment StoreEntitySet="Identites">
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Structure" ColumnName="Gestionnaire2_Structure" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Tel" ColumnName="Gestionnaire2_Tel" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Email" ColumnName="Gestionnaire2_Email" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Prenom" ColumnName="Gestionnaire2_Prenom" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Nom" ColumnName="Gestionnaire2_Nom" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_Login" ColumnName="Gestionnaire2_Login" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2_SID" ColumnName="Gestionnaire2_SID" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Structure" ColumnName="Gestionnaire_Structure" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Tel" ColumnName="Gestionnaire_Tel" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Email" ColumnName="Gestionnaire_Email" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Prenom" ColumnName="Gestionnaire_Prenom" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Nom" ColumnName="Gestionnaire_Nom" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_Login" ColumnName="Gestionnaire_Login" />
|
|
|
+ <ScalarProperty Name="Gestionnaire_SID" ColumnName="Gestionnaire_SID" />
|
|
|
+ <ScalarProperty Name="Adjoint_Structure" ColumnName="Adjoint_Structure" />
|
|
|
+ <ScalarProperty Name="Adjoint_Tel" ColumnName="Adjoint_Tel" />
|
|
|
+ <ScalarProperty Name="Adjoint_Email" ColumnName="Adjoint_Email" />
|
|
|
+ <ScalarProperty Name="Adjoint_Prenom" ColumnName="Adjoint_Prenom" />
|
|
|
+ <ScalarProperty Name="Adjoint_Nom" ColumnName="Adjoint_Nom" />
|
|
|
+ <ScalarProperty Name="Adjoint_Login" ColumnName="Adjoint_Login" />
|
|
|
+ <ScalarProperty Name="Adjoint_SID" ColumnName="Adjoint_SID" />
|
|
|
+ <ScalarProperty Name="Principal_Structure" ColumnName="Principal_Structure" />
|
|
|
+ <ScalarProperty Name="Principal_Tel" ColumnName="Principal_Tel" />
|
|
|
+ <ScalarProperty Name="Principal_Email" ColumnName="Principal_Email" />
|
|
|
+ <ScalarProperty Name="Principal_Prenom" ColumnName="Principal_Prenom" />
|
|
|
+ <ScalarProperty Name="Principal_Nom" ColumnName="Principal_Nom" />
|
|
|
+ <ScalarProperty Name="Principal_Login" ColumnName="Principal_Login" />
|
|
|
+ <ScalarProperty Name="Principal_SID" ColumnName="Principal_SID" />
|
|
|
+ <ScalarProperty Name="College_Id" ColumnName="College_Id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
</EntityContainerMapping>
|
|
|
</Mapping></edmx:Mappings>
|
|
|
</edmx:Runtime>
|