|
|
@@ -5,6 +5,14 @@
|
|
|
<!-- SSDL content -->
|
|
|
<edmx:StorageModels>
|
|
|
<Schema Namespace="ModeleMVC.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="Actions-CLAS">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="College_Id" Type="nvarchar" MaxLength="8" Nullable="false" />
|
|
|
+ <Property Name="Action" Type="bit" />
|
|
|
+ <Property Name="Commentaire" Type="ntext" />
|
|
|
+ </EntityType>
|
|
|
<EntityType Name="Colleges">
|
|
|
<Key>
|
|
|
<PropertyRef Name="Id" />
|
|
|
@@ -80,6 +88,18 @@
|
|
|
<Property Name="Libelle" Type="nvarchar" MaxLength="255" Nullable="false" />
|
|
|
<Property Name="Ordre" Type="int" Nullable="false" />
|
|
|
</EntityType>
|
|
|
+ <Association Name="FK_Actions-CLAS_College">
|
|
|
+ <End Role="Colleges" Type="Self.Colleges" Multiplicity="1" />
|
|
|
+ <End Role="Actions-CLAS" Type="Self.Actions-CLAS" Multiplicity="0..1" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="Colleges">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Actions-CLAS">
|
|
|
+ <PropertyRef Name="College_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="*" />
|
|
|
@@ -117,10 +137,15 @@
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
<EntityContainer Name="ModeleMVCStoreContainer">
|
|
|
+ <EntitySet Name="Actions-CLAS" EntityType="Self.Actions-CLAS" 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_Actions-CLAS_College" Association="Self.FK_Actions-CLAS_College">
|
|
|
+ <End Role="Colleges" EntitySet="Colleges" />
|
|
|
+ <End Role="Actions-CLAS" EntitySet="Actions-CLAS" />
|
|
|
+ </AssociationSet>
|
|
|
<AssociationSet Name="FK_Colleges_Territoires" Association="Self.FK_Colleges_Territoires">
|
|
|
<End Role="Territoires" EntitySet="Territoires" />
|
|
|
<End Role="Colleges" EntitySet="Colleges" />
|
|
|
@@ -155,6 +180,11 @@
|
|
|
<End Role="College" EntitySet="Colleges" />
|
|
|
<End Role="Identite" EntitySet="Identites" />
|
|
|
</AssociationSet>
|
|
|
+ <EntitySet Name="ActionsCLAS" EntityType="CD67.FicheCollege.ActionCLAS" />
|
|
|
+ <AssociationSet Name="FK_Actions_CLAS_College" Association="CD67.FicheCollege.FK_Actions_CLAS_College">
|
|
|
+ <End Role="College" EntitySet="Colleges" />
|
|
|
+ <End Role="Actions_CLAS" EntitySet="ActionsCLAS" />
|
|
|
+ </AssociationSet>
|
|
|
</EntityContainer>
|
|
|
<EntityType Name="TypeCollege">
|
|
|
<Key>
|
|
|
@@ -201,6 +231,7 @@
|
|
|
<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="Actions_CLAS" Relationship="CD67.FicheCollege.FK_Actions_CLAS_College" FromRole="College" ToRole="Actions_CLAS" />
|
|
|
</EntityType>
|
|
|
<Association Name="FK_Colleges_Territoires">
|
|
|
<End Type="CD67.FicheCollege.Territoire" Role="Territoire" Multiplicity="0..1" />
|
|
|
@@ -273,6 +304,27 @@
|
|
|
</Dependent>
|
|
|
</ReferentialConstraint>
|
|
|
</Association>
|
|
|
+ <EntityType Name="ActionCLAS">
|
|
|
+ <Key>
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Key>
|
|
|
+ <Property Name="College_Id" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Action" Type="Boolean" />
|
|
|
+ <Property Name="Commentaire" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
|
|
+ <NavigationProperty Name="College" Relationship="CD67.FicheCollege.FK_Actions_CLAS_College" FromRole="Actions_CLAS" ToRole="College" />
|
|
|
+ </EntityType>
|
|
|
+ <Association Name="FK_Actions_CLAS_College">
|
|
|
+ <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="1" />
|
|
|
+ <End Type="CD67.FicheCollege.ActionCLAS" Role="Actions_CLAS" Multiplicity="0..1" />
|
|
|
+ <ReferentialConstraint>
|
|
|
+ <Principal Role="College">
|
|
|
+ <PropertyRef Name="Id" />
|
|
|
+ </Principal>
|
|
|
+ <Dependent Role="Actions_CLAS">
|
|
|
+ <PropertyRef Name="College_Id" />
|
|
|
+ </Dependent>
|
|
|
+ </ReferentialConstraint>
|
|
|
+ </Association>
|
|
|
</Schema>
|
|
|
</edmx:ConceptualModels>
|
|
|
<!-- C-S mapping content -->
|
|
|
@@ -358,6 +410,15 @@
|
|
|
</MappingFragment>
|
|
|
</EntityTypeMapping>
|
|
|
</EntitySetMapping>
|
|
|
+ <EntitySetMapping Name="ActionsCLAS">
|
|
|
+ <EntityTypeMapping TypeName="CD67.FicheCollege.ActionCLAS">
|
|
|
+ <MappingFragment StoreEntitySet="Actions-CLAS">
|
|
|
+ <ScalarProperty Name="Commentaire" ColumnName="Commentaire" />
|
|
|
+ <ScalarProperty Name="Action" ColumnName="Action" />
|
|
|
+ <ScalarProperty Name="College_Id" ColumnName="College_Id" />
|
|
|
+ </MappingFragment>
|
|
|
+ </EntityTypeMapping>
|
|
|
+ </EntitySetMapping>
|
|
|
</EntityContainerMapping>
|
|
|
</Mapping></edmx:Mappings>
|
|
|
</edmx:Runtime>
|