|
|
@@ -9,7 +9,7 @@
|
|
|
<Key>
|
|
|
<PropertyRef Name="College_Id" />
|
|
|
</Key>
|
|
|
- <Property Name="College_Id" Type="nvarchar" MaxLength="8" Nullable="false" />
|
|
|
+ <Property Name="College_Id" Type="int" Nullable="false" />
|
|
|
<Property Name="Action" Type="bit" />
|
|
|
<Property Name="Commentaire" Type="ntext" />
|
|
|
</EntityType>
|
|
|
@@ -24,7 +24,9 @@
|
|
|
<Key>
|
|
|
<PropertyRef Name="Id" />
|
|
|
</Key>
|
|
|
- <Property Name="Id" Type="nvarchar" MaxLength="8" Nullable="false" />
|
|
|
+ <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" />
|
|
|
@@ -38,13 +40,12 @@
|
|
|
<Property Name="Tel" Type="nvarchar" MaxLength="255" />
|
|
|
<Property Name="Fax" Type="nvarchar" MaxLength="255" />
|
|
|
<Property Name="Email" Type="nvarchar" MaxLength="255" />
|
|
|
- <Property Name="Annee_Id" Type="int" Nullable="false" />
|
|
|
</EntityType>
|
|
|
<EntityType Name="Identites">
|
|
|
<Key>
|
|
|
<PropertyRef Name="College_Id" />
|
|
|
</Key>
|
|
|
- <Property Name="College_Id" Type="nvarchar" MaxLength="8" Nullable="false" />
|
|
|
+ <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" />
|
|
|
@@ -244,7 +245,9 @@
|
|
|
<Key>
|
|
|
<PropertyRef Name="Id" />
|
|
|
</Key>
|
|
|
- <Property Name="Id" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="Id" Type="Int32" Nullable="false" />
|
|
|
+ <Property Name="Annee_Id" Type="Int32" Nullable="false" />
|
|
|
+ <Property Name="CodeRne" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="true" />
|
|
|
<Property Name="Libelle" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
<Property Name="Adresse" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
|
|
|
<Property Name="Code_Postal" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
|
|
|
@@ -262,7 +265,6 @@
|
|
|
<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" />
|
|
|
- <Property Name="Annee_Id" Type="Int32" Nullable="false" />
|
|
|
<NavigationProperty Name="Actions_CLAS" Relationship="CD67.FicheCollege.FK_Actions_CLAS_College" FromRole="College" ToRole="Actions_CLAS" />
|
|
|
</EntityType>
|
|
|
<Association Name="FK_Colleges_Territoires">
|
|
|
@@ -293,7 +295,7 @@
|
|
|
<Key>
|
|
|
<PropertyRef Name="College_Id" />
|
|
|
</Key>
|
|
|
- <Property Name="College_Id" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="true" />
|
|
|
+ <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" />
|
|
|
@@ -360,7 +362,7 @@
|
|
|
<Key>
|
|
|
<PropertyRef Name="College_Id" />
|
|
|
</Key>
|
|
|
- <Property Name="College_Id" Type="String" Nullable="false" MaxLength="8" FixedLength="false" Unicode="true" />
|
|
|
+ <Property Name="College_Id" Type="Int32" Nullable="false" />
|
|
|
<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" />
|
|
|
@@ -410,7 +412,8 @@
|
|
|
<EntitySetMapping Name="Colleges">
|
|
|
<EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.College)">
|
|
|
<MappingFragment StoreEntitySet="Colleges">
|
|
|
- <ScalarProperty Name="Id" ColumnName="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" />
|