|
|
@@ -90,40 +90,10 @@
|
|
|
<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" />
|
|
|
+ <Property Name="PrincipalSid" Type="nvarchar" MaxLength="64" />
|
|
|
+ <Property Name="AdjointSid" Type="nvarchar" MaxLength="64" />
|
|
|
+ <Property Name="Gestionnaire1Sid" Type="nvarchar" MaxLength="64" />
|
|
|
+ <Property Name="Gestionnaire2Sid" Type="nvarchar" MaxLength="64" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Territoires">
|
|
|
<Key>
|
|
|
@@ -255,18 +225,6 @@
|
|
|
</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="ActionEduAxes" EntityType="Self.ActionEduAxes" Schema="dbo" store:Type="Tables" />
|
|
|
<EntitySet Name="ActionEduMissions" EntityType="Self.ActionEduMissions" Schema="dbo" store:Type="Tables" />
|
|
|
@@ -275,7 +233,6 @@
|
|
|
<EntitySet Name="ActionsEduColleges" EntityType="Self.ActionsEduColleges" Schema="dbo" store:Type="Tables" />
|
|
|
<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_ActionEduAnnee" Association="Self.FK_ActionEduAnnee">
|
|
|
@@ -314,10 +271,6 @@
|
|
|
<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 -->
|
|
|
@@ -335,11 +288,6 @@
|
|
|
<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>
|
|
|
<EntitySet Name="Annees" EntityType="CD67.FicheCollege.Annee" />
|
|
|
<AssociationSet Name="AnneeCollege" Association="CD67.FicheCollege.AnneeCollege">
|
|
|
<End Role="Annee" EntitySet="Annees" />
|
|
|
@@ -421,9 +369,12 @@
|
|
|
<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" />
|
|
|
<NavigationProperty Name="Annee" Relationship="CD67.FicheCollege.AnneeCollege" FromRole="College" ToRole="Annee" />
|
|
|
<NavigationProperty Name="ActionsEduColleges" Relationship="CD67.FicheCollege.ActionEduCollegeCollege" FromRole="College" ToRole="ActionEduCollege" />
|
|
|
+ <Property Name="PrincipalSid" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="AdjointSid" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire1Sid" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Gestionnaire2Sid" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
|
|
|
</EntityType>
|
|
|
<Association Name="FK_Colleges_Territoires">
|
|
|
<End Type="CD67.FicheCollege.Territoire" Role="Territoire" Multiplicity="0..1" />
|
|
|
@@ -449,53 +400,6 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
- <EntityType Name="Identite">
|
|
|
- <Key>
|
|
|
- <PropertyRef Name="College_Id" />
|
|
|
- </Key>
|
|
|
- <Property Name="College_Id" Type="Int32" Nullable="false" />
|
|
|
- <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>
|
|
|
<EntityType Name="Annee">
|
|
|
<Key>
|
|
|
<PropertyRef Name="Id" />
|
|
|
@@ -546,7 +450,7 @@
|
|
|
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
|
|
<Property Name="Numero" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
|
|
|
<Property Name="Nom" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
|
|
|
- <Property Name="Montant" Type="Decimal" Nullable="false" DefaultValue="0" />
|
|
|
+ <Property Name="Montant" Type="Decimal" Nullable="false" DefaultValue="0" Precision="18" Scale="0" />
|
|
|
<Property Name="Description" Type="String" Nullable="true" MaxLength="Max" Unicode="true" FixedLength="false" />
|
|
|
<Property Name="Neutralise" Type="Boolean" Nullable="false" />
|
|
|
<Property Name="Ordre" Type="Int32" Nullable="false" />
|
|
|
@@ -690,7 +594,11 @@
|
|
|
<EntitySetMapping Name="Colleges">
|
|
|
<EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.College)">
|
|
|
<MappingFragment StoreEntitySet="Colleges">
|
|
|
- <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
+ <ScalarProperty Name="Gestionnaire2Sid" ColumnName="Gestionnaire2Sid" />
|
|
|
+ <ScalarProperty Name="Gestionnaire1Sid" ColumnName="Gestionnaire1Sid" />
|
|
|
+ <ScalarProperty Name="AdjointSid" ColumnName="AdjointSid" />
|
|
|
+ <ScalarProperty Name="PrincipalSid" ColumnName="PrincipalSid" />
|
|
|
+ <ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
<ScalarProperty Name="Annee_Id" ColumnName="Annee_Id" />
|
|
|
<ScalarProperty Name="CodeRne" ColumnName="CodeRne" />
|
|
|
<ScalarProperty Name="Libelle" ColumnName="Libelle" />
|
|
|
@@ -709,41 +617,6 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
- <EntitySetMapping Name="Identites">
|
|
|
- <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Identite)">
|
|
|
- <MappingFragment StoreEntitySet="Identites">
|
|
|
- <ScalarProperty Name="College_Id" ColumnName="College_Id" />
|
|
|
- <ScalarProperty Name="Principal_SID" ColumnName="Principal_SID" />
|
|
|
- <ScalarProperty Name="Principal_Login" ColumnName="Principal_Login" />
|
|
|
- <ScalarProperty Name="Principal_Nom" ColumnName="Principal_Nom" />
|
|
|
- <ScalarProperty Name="Principal_Prenom" ColumnName="Principal_Prenom" />
|
|
|
- <ScalarProperty Name="Principal_Email" ColumnName="Principal_Email" />
|
|
|
- <ScalarProperty Name="Principal_Tel" ColumnName="Principal_Tel" />
|
|
|
- <ScalarProperty Name="Principal_Structure" ColumnName="Principal_Structure" />
|
|
|
- <ScalarProperty Name="Adjoint_SID" ColumnName="Adjoint_SID" />
|
|
|
- <ScalarProperty Name="Adjoint_Login" ColumnName="Adjoint_Login" />
|
|
|
- <ScalarProperty Name="Adjoint_Nom" ColumnName="Adjoint_Nom" />
|
|
|
- <ScalarProperty Name="Adjoint_Prenom" ColumnName="Adjoint_Prenom" />
|
|
|
- <ScalarProperty Name="Adjoint_Email" ColumnName="Adjoint_Email" />
|
|
|
- <ScalarProperty Name="Adjoint_Tel" ColumnName="Adjoint_Tel" />
|
|
|
- <ScalarProperty Name="Adjoint_Structure" ColumnName="Adjoint_Structure" />
|
|
|
- <ScalarProperty Name="Gestionnaire_SID" ColumnName="Gestionnaire_SID" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Login" ColumnName="Gestionnaire_Login" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Nom" ColumnName="Gestionnaire_Nom" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Prenom" ColumnName="Gestionnaire_Prenom" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Email" ColumnName="Gestionnaire_Email" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Tel" ColumnName="Gestionnaire_Tel" />
|
|
|
- <ScalarProperty Name="Gestionnaire_Structure" ColumnName="Gestionnaire_Structure" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_SID" ColumnName="Gestionnaire2_SID" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Login" ColumnName="Gestionnaire2_Login" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Nom" ColumnName="Gestionnaire2_Nom" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Prenom" ColumnName="Gestionnaire2_Prenom" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Email" ColumnName="Gestionnaire2_Email" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Tel" ColumnName="Gestionnaire2_Tel" />
|
|
|
- <ScalarProperty Name="Gestionnaire2_Structure" ColumnName="Gestionnaire2_Structure" />
|
|
|
- </MappingFragment>
|
|
|
- </EntityTypeMapping>
|
|
|
- </EntitySetMapping>
|
|
|
<EntitySetMapping Name="Annees">
|
|
|
<EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Annee)">
|
|
|
<MappingFragment StoreEntitySet="Annees">
|