EntityModel.edmx 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <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">
  8. <EntityContainer Name="CD67FicheCollegeStoreContainer">
  9. <EntitySet Name="TypesCollege" EntityType="CD67.FicheCollege.Store.TypesCollege" store:Type="Tables" Schema="dbo" />
  10. <EntitySet Name="Territoires" EntityType="CD67.FicheCollege.Store.Territoires" store:Type="Tables" Schema="dbo" />
  11. <EntitySet Name="Colleges" EntityType="CD67.FicheCollege.Store.Colleges" store:Type="Tables" Schema="dbo" />
  12. <EntitySet Name="Identites" EntityType="CD67.FicheCollege.Store.Identites" store:Type="Tables" Schema="dbo" />
  13. <EntitySet Name="Annees" EntityType="CD67.FicheCollege.Store.Annees" store:Type="Tables" Schema="dbo" />
  14. <EntitySet Name="ActionAxes" EntityType="CD67.FicheCollege.Store.ActionAxes" store:Type="Tables" Schema="dbo" />
  15. <EntitySet Name="ActionThematiques" EntityType="CD67.FicheCollege.Store.ActionThematiques" store:Type="Tables" Schema="dbo" />
  16. <EntitySet Name="Actions" EntityType="CD67.FicheCollege.Store.Actions" store:Type="Tables" Schema="dbo" />
  17. <AssociationSet Name="FK_Colleges_Territoires" Association="CD67.FicheCollege.Store.FK_Colleges_Territoires">
  18. <End Role="Territoire" EntitySet="Territoires" />
  19. <End Role="College" EntitySet="Colleges" />
  20. </AssociationSet>
  21. <AssociationSet Name="FK_Colleges_TypesCollege" Association="CD67.FicheCollege.Store.FK_Colleges_TypesCollege">
  22. <End Role="TypeCollege" EntitySet="TypesCollege" />
  23. <End Role="College" EntitySet="Colleges" />
  24. </AssociationSet>
  25. <AssociationSet Name="FK_FicheIdentite_College" Association="CD67.FicheCollege.Store.FK_FicheIdentite_College">
  26. <End Role="College" EntitySet="Colleges" />
  27. <End Role="Identite" EntitySet="Identites" />
  28. </AssociationSet>
  29. <AssociationSet Name="AnneeCollege" Association="CD67.FicheCollege.Store.AnneeCollege">
  30. <End Role="Annee" EntitySet="Annees" />
  31. <End Role="College" EntitySet="Colleges" />
  32. </AssociationSet>
  33. <AssociationSet Name="ActionAxeActionThematique" Association="CD67.FicheCollege.Store.ActionAxeActionThematique">
  34. <End Role="ActionAxe" EntitySet="ActionAxes" />
  35. <End Role="ActionThematique" EntitySet="ActionThematiques" />
  36. </AssociationSet>
  37. <AssociationSet Name="ActionThematiqueAction" Association="CD67.FicheCollege.Store.ActionThematiqueAction">
  38. <End Role="ActionThematique" EntitySet="ActionThematiques" />
  39. <End Role="Action" EntitySet="Actions" />
  40. </AssociationSet>
  41. </EntityContainer>
  42. <EntityType Name="TypesCollege">
  43. <Key>
  44. <PropertyRef Name="Id" />
  45. </Key>
  46. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  47. <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
  48. <Property Name="Ordre" Type="int" Nullable="false" />
  49. </EntityType>
  50. <EntityType Name="Territoires">
  51. <Key>
  52. <PropertyRef Name="Id" />
  53. </Key>
  54. <Property Name="Id" Type="nvarchar" Nullable="false" MaxLength="10" />
  55. <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
  56. <Property Name="Referent_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
  57. <Property Name="Referent_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
  58. <Property Name="Referent_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
  59. <Property Name="Referent_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
  60. <Property Name="Referent_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
  61. <Property Name="Referent_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  62. <Property Name="Ordre" Type="int" Nullable="false" />
  63. </EntityType>
  64. <EntityType Name="Colleges">
  65. <Key>
  66. <PropertyRef Name="Id" />
  67. </Key>
  68. <Property Name="Id" Type="int" Nullable="false" />
  69. <Property Name="Annee_Id" Type="int" Nullable="false" />
  70. <Property Name="CodeRne" Type="nvarchar" Nullable="false" MaxLength="10" />
  71. <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="255" />
  72. <Property Name="Adresse" Type="nvarchar" Nullable="true" MaxLength="255" />
  73. <Property Name="Code_Postal" Type="nvarchar" Nullable="true" MaxLength="5" />
  74. <Property Name="TypeCollege_Id" Type="int" Nullable="false" />
  75. <Property Name="Commune_Insee" Type="nvarchar" Nullable="true" MaxLength="5" />
  76. <Property Name="Commune" Type="nvarchar" Nullable="false" MaxLength="255" />
  77. <Property Name="Canton" Type="nvarchar" Nullable="true" MaxLength="255" />
  78. <Property Name="Territoire_Id" Type="nvarchar" Nullable="true" MaxLength="10" />
  79. <Property Name="TAD" Type="nvarchar" Nullable="true" MaxLength="255" />
  80. <Property Name="CDC" Type="nvarchar" Nullable="true" MaxLength="255" />
  81. <Property Name="Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
  82. <Property Name="Fax" Type="nvarchar" Nullable="true" MaxLength="255" />
  83. <Property Name="Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  84. </EntityType>
  85. <EntityType Name="Identites">
  86. <Key>
  87. <PropertyRef Name="College_Id" />
  88. </Key>
  89. <Property Name="College_Id" Type="int" Nullable="false" />
  90. <Property Name="Principal_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
  91. <Property Name="Principal_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
  92. <Property Name="Principal_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
  93. <Property Name="Principal_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
  94. <Property Name="Principal_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  95. <Property Name="Principal_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
  96. <Property Name="Principal_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
  97. <Property Name="Adjoint_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
  98. <Property Name="Adjoint_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
  99. <Property Name="Adjoint_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
  100. <Property Name="Adjoint_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
  101. <Property Name="Adjoint_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  102. <Property Name="Adjoint_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
  103. <Property Name="Adjoint_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
  104. <Property Name="Gestionnaire_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
  105. <Property Name="Gestionnaire_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
  106. <Property Name="Gestionnaire_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
  107. <Property Name="Gestionnaire_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
  108. <Property Name="Gestionnaire_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  109. <Property Name="Gestionnaire_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
  110. <Property Name="Gestionnaire_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
  111. <Property Name="Gestionnaire2_SID" Type="nvarchar" Nullable="true" MaxLength="64" />
  112. <Property Name="Gestionnaire2_Login" Type="nvarchar" Nullable="true" MaxLength="255" />
  113. <Property Name="Gestionnaire2_Nom" Type="nvarchar" Nullable="true" MaxLength="255" />
  114. <Property Name="Gestionnaire2_Prenom" Type="nvarchar" Nullable="true" MaxLength="255" />
  115. <Property Name="Gestionnaire2_Email" Type="nvarchar" Nullable="true" MaxLength="255" />
  116. <Property Name="Gestionnaire2_Tel" Type="nvarchar" Nullable="true" MaxLength="255" />
  117. <Property Name="Gestionnaire2_Structure" Type="nvarchar" Nullable="true" MaxLength="255" />
  118. </EntityType>
  119. <EntityType Name="Annees">
  120. <Key>
  121. <PropertyRef Name="Id" />
  122. </Key>
  123. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  124. <Property Name="Libelle" Type="nvarchar" Nullable="false" MaxLength="12" />
  125. </EntityType>
  126. <EntityType Name="ActionAxes">
  127. <Key>
  128. <PropertyRef Name="Id" />
  129. </Key>
  130. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  131. <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
  132. <Property Name="Neutralise" Type="bit" Nullable="false" DefaultValue="false" />
  133. <Property Name="Ordre" Type="int" Nullable="false" />
  134. </EntityType>
  135. <EntityType Name="ActionThematiques">
  136. <Key>
  137. <PropertyRef Name="Id" />
  138. </Key>
  139. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  140. <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
  141. <Property Name="Neutralise" Type="bit" Nullable="false" DefaultValue="false" />
  142. <Property Name="Ordre" Type="int" Nullable="false" />
  143. <Property Name="ActionAxeId" Type="int" Nullable="false" />
  144. </EntityType>
  145. <EntityType Name="Actions">
  146. <Key>
  147. <PropertyRef Name="Id" />
  148. </Key>
  149. <Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  150. <Property Name="Nom" Type="nvarchar(max)" Nullable="false" />
  151. <Property Name="Description" Type="nvarchar(max)" Nullable="false" />
  152. <Property Name="Neutralise" Type="bit" Nullable="false" />
  153. <Property Name="Ordre" Type="int" Nullable="false" />
  154. <Property Name="ActionThematiqueId" Type="int" Nullable="false" />
  155. </EntityType>
  156. <Association Name="FK_Colleges_Territoires">
  157. <End Role="Territoire" Type="CD67.FicheCollege.Store.Territoires" Multiplicity="0..1" />
  158. <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
  159. <ReferentialConstraint>
  160. <Principal Role="Territoire">
  161. <PropertyRef Name="Id" />
  162. </Principal>
  163. <Dependent Role="College">
  164. <PropertyRef Name="Territoire_Id" />
  165. </Dependent>
  166. </ReferentialConstraint>
  167. </Association>
  168. <Association Name="FK_Colleges_TypesCollege">
  169. <End Role="TypeCollege" Type="CD67.FicheCollege.Store.TypesCollege" Multiplicity="1" />
  170. <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
  171. <ReferentialConstraint>
  172. <Principal Role="TypeCollege">
  173. <PropertyRef Name="Id" />
  174. </Principal>
  175. <Dependent Role="College">
  176. <PropertyRef Name="TypeCollege_Id" />
  177. </Dependent>
  178. </ReferentialConstraint>
  179. </Association>
  180. <Association Name="FK_FicheIdentite_College">
  181. <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="1" />
  182. <End Role="Identite" Type="CD67.FicheCollege.Store.Identites" Multiplicity="0..1" />
  183. <ReferentialConstraint>
  184. <Principal Role="College">
  185. <PropertyRef Name="Id" />
  186. </Principal>
  187. <Dependent Role="Identite">
  188. <PropertyRef Name="College_Id" />
  189. </Dependent>
  190. </ReferentialConstraint>
  191. </Association>
  192. <Association Name="AnneeCollege">
  193. <End Role="Annee" Type="CD67.FicheCollege.Store.Annees" Multiplicity="1" />
  194. <End Role="College" Type="CD67.FicheCollege.Store.Colleges" Multiplicity="*" />
  195. <ReferentialConstraint>
  196. <Principal Role="Annee">
  197. <PropertyRef Name="Id" />
  198. </Principal>
  199. <Dependent Role="College">
  200. <PropertyRef Name="Annee_Id" />
  201. </Dependent>
  202. </ReferentialConstraint>
  203. </Association>
  204. <Association Name="ActionAxeActionThematique">
  205. <End Role="ActionAxe" Type="CD67.FicheCollege.Store.ActionAxes" Multiplicity="1" />
  206. <End Role="ActionThematique" Type="CD67.FicheCollege.Store.ActionThematiques" Multiplicity="*" />
  207. <ReferentialConstraint>
  208. <Principal Role="ActionAxe">
  209. <PropertyRef Name="Id" />
  210. </Principal>
  211. <Dependent Role="ActionThematique">
  212. <PropertyRef Name="ActionAxeId" />
  213. </Dependent>
  214. </ReferentialConstraint>
  215. </Association>
  216. <Association Name="ActionThematiqueAction">
  217. <End Role="ActionThematique" Type="CD67.FicheCollege.Store.ActionThematiques" Multiplicity="1" />
  218. <End Role="Action" Type="CD67.FicheCollege.Store.Actions" Multiplicity="*" />
  219. <ReferentialConstraint>
  220. <Principal Role="ActionThematique">
  221. <PropertyRef Name="Id" />
  222. </Principal>
  223. <Dependent Role="Action">
  224. <PropertyRef Name="ActionThematiqueId" />
  225. </Dependent>
  226. </ReferentialConstraint>
  227. </Association>
  228. </Schema></edmx:StorageModels>
  229. <!-- CSDL content -->
  230. <edmx:ConceptualModels>
  231. <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">
  232. <EntityContainer Name="Entities" annotation:LazyLoadingEnabled="true">
  233. <EntitySet Name="TypesCollege" EntityType="CD67.FicheCollege.TypeCollege" />
  234. <EntitySet Name="Territoires" EntityType="CD67.FicheCollege.Territoire" />
  235. <EntitySet Name="Colleges" EntityType="CD67.FicheCollege.College" />
  236. <AssociationSet Name="FK_Colleges_Territoires" Association="CD67.FicheCollege.FK_Colleges_Territoires">
  237. <End Role="Territoire" EntitySet="Territoires" />
  238. <End Role="College" EntitySet="Colleges" />
  239. </AssociationSet>
  240. <AssociationSet Name="FK_Colleges_TypesCollege" Association="CD67.FicheCollege.FK_Colleges_TypesCollege">
  241. <End Role="TypeCollege" EntitySet="TypesCollege" />
  242. <End Role="College" EntitySet="Colleges" />
  243. </AssociationSet>
  244. <EntitySet Name="Identites" EntityType="CD67.FicheCollege.Identite" />
  245. <AssociationSet Name="FK_FicheIdentite_College" Association="CD67.FicheCollege.FK_FicheIdentite_College">
  246. <End Role="College" EntitySet="Colleges" />
  247. <End Role="Identite" EntitySet="Identites" />
  248. </AssociationSet>
  249. <EntitySet Name="Annees" EntityType="CD67.FicheCollege.Annee" />
  250. <AssociationSet Name="AnneeCollege" Association="CD67.FicheCollege.AnneeCollege">
  251. <End Role="Annee" EntitySet="Annees" />
  252. <End Role="College" EntitySet="Colleges" />
  253. </AssociationSet>
  254. <EntitySet Name="ActionAxes" EntityType="CD67.FicheCollege.ActionAxe" />
  255. <EntitySet Name="ActionThematiques" EntityType="CD67.FicheCollege.ActionThematique" />
  256. <EntitySet Name="Actions" EntityType="CD67.FicheCollege.Action" />
  257. <AssociationSet Name="ActionAxeActionThematique" Association="CD67.FicheCollege.ActionAxeActionThematique">
  258. <End Role="ActionAxe" EntitySet="ActionAxes" />
  259. <End Role="ActionThematique" EntitySet="ActionThematiques" />
  260. </AssociationSet>
  261. <AssociationSet Name="ActionThematiqueAction" Association="CD67.FicheCollege.ActionThematiqueAction">
  262. <End Role="ActionThematique" EntitySet="ActionThematiques" />
  263. <End Role="Action" EntitySet="Actions" />
  264. </AssociationSet>
  265. </EntityContainer>
  266. <EntityType Name="TypeCollege">
  267. <Key>
  268. <PropertyRef Name="Id" />
  269. </Key>
  270. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  271. <Property Name="Libelle" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
  272. <Property Name="Ordre" Type="Int32" Nullable="false" />
  273. <NavigationProperty Name="Colleges" Relationship="CD67.FicheCollege.FK_Colleges_TypesCollege" FromRole="TypeCollege" ToRole="College" />
  274. </EntityType>
  275. <EntityType Name="Territoire">
  276. <Key>
  277. <PropertyRef Name="Id" />
  278. </Key>
  279. <Property Name="Id" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="true" />
  280. <Property Name="Libelle" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
  281. <Property Name="Referent_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  282. <Property Name="Referent_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  283. <Property Name="Referent_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  284. <Property Name="Referent_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  285. <Property Name="Referent_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  286. <Property Name="Referent_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  287. <Property Name="Ordre" Type="Int32" Nullable="false" />
  288. <NavigationProperty Name="Colleges" Relationship="CD67.FicheCollege.FK_Colleges_Territoires" FromRole="Territoire" ToRole="College" />
  289. </EntityType>
  290. <EntityType Name="College">
  291. <Key>
  292. <PropertyRef Name="Id" />
  293. </Key>
  294. <Property Name="Id" Type="Int32" Nullable="false" />
  295. <Property Name="Annee_Id" Type="Int32" Nullable="false" />
  296. <Property Name="CodeRne" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="true" />
  297. <Property Name="Libelle" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
  298. <Property Name="Adresse" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  299. <Property Name="Code_Postal" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
  300. <Property Name="TypeCollege_Id" Type="Int32" Nullable="false" />
  301. <Property Name="Commune_Insee" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
  302. <Property Name="Commune" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="true" />
  303. <Property Name="Canton" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  304. <Property Name="Territoire_Id" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  305. <Property Name="TAD" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  306. <Property Name="CDC" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  307. <Property Name="Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  308. <Property Name="Fax" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  309. <Property Name="Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  310. <NavigationProperty Name="Territoire" Relationship="CD67.FicheCollege.FK_Colleges_Territoires" FromRole="College" ToRole="Territoire" />
  311. <NavigationProperty Name="TypeCollege" Relationship="CD67.FicheCollege.FK_Colleges_TypesCollege" FromRole="College" ToRole="TypeCollege" />
  312. <NavigationProperty Name="Identite" Relationship="CD67.FicheCollege.FK_FicheIdentite_College" FromRole="College" ToRole="Identite" />
  313. <NavigationProperty Name="Annee" Relationship="CD67.FicheCollege.AnneeCollege" FromRole="College" ToRole="Annee" />
  314. </EntityType>
  315. <Association Name="FK_Colleges_Territoires">
  316. <End Type="CD67.FicheCollege.Territoire" Role="Territoire" Multiplicity="0..1" />
  317. <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="*" />
  318. <ReferentialConstraint>
  319. <Principal Role="Territoire">
  320. <PropertyRef Name="Id" />
  321. </Principal>
  322. <Dependent Role="College">
  323. <PropertyRef Name="Territoire_Id" />
  324. </Dependent>
  325. </ReferentialConstraint>
  326. </Association>
  327. <Association Name="FK_Colleges_TypesCollege">
  328. <End Type="CD67.FicheCollege.TypeCollege" Role="TypeCollege" Multiplicity="1" />
  329. <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="*" />
  330. <ReferentialConstraint>
  331. <Principal Role="TypeCollege">
  332. <PropertyRef Name="Id" />
  333. </Principal>
  334. <Dependent Role="College">
  335. <PropertyRef Name="TypeCollege_Id" />
  336. </Dependent>
  337. </ReferentialConstraint>
  338. </Association>
  339. <EntityType Name="Identite">
  340. <Key>
  341. <PropertyRef Name="College_Id" />
  342. </Key>
  343. <Property Name="College_Id" Type="Int32" Nullable="false" />
  344. <Property Name="Principal_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  345. <Property Name="Principal_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  346. <Property Name="Principal_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  347. <Property Name="Principal_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  348. <Property Name="Principal_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  349. <Property Name="Principal_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  350. <Property Name="Principal_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  351. <Property Name="Adjoint_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  352. <Property Name="Adjoint_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  353. <Property Name="Adjoint_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  354. <Property Name="Adjoint_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  355. <Property Name="Adjoint_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  356. <Property Name="Adjoint_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  357. <Property Name="Adjoint_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  358. <Property Name="Gestionnaire_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  359. <Property Name="Gestionnaire_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  360. <Property Name="Gestionnaire_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  361. <Property Name="Gestionnaire_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  362. <Property Name="Gestionnaire_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  363. <Property Name="Gestionnaire_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  364. <Property Name="Gestionnaire_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  365. <Property Name="Gestionnaire2_SID" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  366. <Property Name="Gestionnaire2_Login" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  367. <Property Name="Gestionnaire2_Nom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  368. <Property Name="Gestionnaire2_Prenom" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  369. <Property Name="Gestionnaire2_Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  370. <Property Name="Gestionnaire2_Tel" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  371. <Property Name="Gestionnaire2_Structure" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  372. <NavigationProperty Name="College" Relationship="CD67.FicheCollege.FK_FicheIdentite_College" FromRole="Identite" ToRole="College" />
  373. </EntityType>
  374. <Association Name="FK_FicheIdentite_College">
  375. <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="1" />
  376. <End Type="CD67.FicheCollege.Identite" Role="Identite" Multiplicity="0..1" />
  377. <ReferentialConstraint>
  378. <Principal Role="College">
  379. <PropertyRef Name="Id" />
  380. </Principal>
  381. <Dependent Role="Identite">
  382. <PropertyRef Name="College_Id" />
  383. </Dependent>
  384. </ReferentialConstraint>
  385. </Association>
  386. <EntityType Name="Annee">
  387. <Key>
  388. <PropertyRef Name="Id" />
  389. </Key>
  390. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  391. <NavigationProperty Name="Colleges" Relationship="CD67.FicheCollege.AnneeCollege" FromRole="Annee" ToRole="College" />
  392. <Property Name="Libelle" Type="String" Nullable="false" MaxLength="12" FixedLength="false" Unicode="true" />
  393. </EntityType>
  394. <Association Name="AnneeCollege">
  395. <End Type="CD67.FicheCollege.Annee" Role="Annee" Multiplicity="1" />
  396. <End Type="CD67.FicheCollege.College" Role="College" Multiplicity="*" />
  397. <ReferentialConstraint>
  398. <Principal Role="Annee">
  399. <PropertyRef Name="Id" />
  400. </Principal>
  401. <Dependent Role="College">
  402. <PropertyRef Name="Annee_Id" />
  403. </Dependent>
  404. </ReferentialConstraint>
  405. </Association>
  406. <EntityType Name="ActionAxe">
  407. <Key>
  408. <PropertyRef Name="Id" />
  409. </Key>
  410. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  411. <Property Name="Nom" Type="String" Nullable="false" />
  412. <Property Name="Neutralise" Type="Boolean" Nullable="false" DefaultValue="False" />
  413. <Property Name="Ordre" Type="Int32" Nullable="false" />
  414. <NavigationProperty Name="ActionThematiques" Relationship="CD67.FicheCollege.ActionAxeActionThematique" FromRole="ActionAxe" ToRole="ActionThematique" />
  415. </EntityType>
  416. <EntityType Name="ActionThematique">
  417. <Key>
  418. <PropertyRef Name="Id" />
  419. </Key>
  420. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  421. <Property Name="Nom" Type="String" Nullable="false" />
  422. <Property Name="Neutralise" Type="Boolean" Nullable="false" DefaultValue="False" />
  423. <Property Name="Ordre" Type="Int32" Nullable="false" />
  424. <NavigationProperty Name="ActionAxe" Relationship="CD67.FicheCollege.ActionAxeActionThematique" FromRole="ActionThematique" ToRole="ActionAxe" />
  425. <Property Name="ActionAxeId" Type="Int32" Nullable="false" />
  426. <NavigationProperty Name="Actions" Relationship="CD67.FicheCollege.ActionThematiqueAction" FromRole="ActionThematique" ToRole="Action" />
  427. </EntityType>
  428. <EntityType Name="Action">
  429. <Key>
  430. <PropertyRef Name="Id" />
  431. </Key>
  432. <Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  433. <Property Name="Nom" Type="String" Nullable="false" />
  434. <Property Name="Description" Type="String" Nullable="false" MaxLength="Max" />
  435. <Property Name="Neutralise" Type="Boolean" Nullable="false" />
  436. <Property Name="Ordre" Type="Int32" Nullable="false" />
  437. <NavigationProperty Name="ActionThematique" Relationship="CD67.FicheCollege.ActionThematiqueAction" FromRole="Action" ToRole="ActionThematique" />
  438. <Property Name="ActionThematiqueId" Type="Int32" Nullable="false" />
  439. </EntityType>
  440. <Association Name="ActionAxeActionThematique">
  441. <End Type="CD67.FicheCollege.ActionAxe" Role="ActionAxe" Multiplicity="1" />
  442. <End Type="CD67.FicheCollege.ActionThematique" Role="ActionThematique" Multiplicity="*" />
  443. <ReferentialConstraint>
  444. <Principal Role="ActionAxe">
  445. <PropertyRef Name="Id" />
  446. </Principal>
  447. <Dependent Role="ActionThematique">
  448. <PropertyRef Name="ActionAxeId" />
  449. </Dependent>
  450. </ReferentialConstraint>
  451. </Association>
  452. <Association Name="ActionThematiqueAction">
  453. <End Type="CD67.FicheCollege.ActionThematique" Role="ActionThematique" Multiplicity="1" />
  454. <End Type="CD67.FicheCollege.Action" Role="Action" Multiplicity="*" />
  455. <ReferentialConstraint>
  456. <Principal Role="ActionThematique">
  457. <PropertyRef Name="Id" />
  458. </Principal>
  459. <Dependent Role="Action">
  460. <PropertyRef Name="ActionThematiqueId" />
  461. </Dependent>
  462. </ReferentialConstraint>
  463. </Association>
  464. </Schema>
  465. </edmx:ConceptualModels>
  466. <!-- C-S mapping content -->
  467. <edmx:Mappings>
  468. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  469. <EntityContainerMapping StorageEntityContainer="CD67FicheCollegeStoreContainer" CdmEntityContainer="Entities">
  470. <EntitySetMapping Name="TypesCollege">
  471. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.TypeCollege)">
  472. <MappingFragment StoreEntitySet="TypesCollege">
  473. <ScalarProperty Name="Id" ColumnName="Id" />
  474. <ScalarProperty Name="Libelle" ColumnName="Libelle" />
  475. <ScalarProperty Name="Ordre" ColumnName="Ordre" />
  476. </MappingFragment>
  477. </EntityTypeMapping>
  478. </EntitySetMapping>
  479. <EntitySetMapping Name="Territoires">
  480. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Territoire)">
  481. <MappingFragment StoreEntitySet="Territoires">
  482. <ScalarProperty Name="Id" ColumnName="Id" />
  483. <ScalarProperty Name="Libelle" ColumnName="Libelle" />
  484. <ScalarProperty Name="Referent_SID" ColumnName="Referent_SID" />
  485. <ScalarProperty Name="Referent_Nom" ColumnName="Referent_Nom" />
  486. <ScalarProperty Name="Referent_Prenom" ColumnName="Referent_Prenom" />
  487. <ScalarProperty Name="Referent_Structure" ColumnName="Referent_Structure" />
  488. <ScalarProperty Name="Referent_Login" ColumnName="Referent_Login" />
  489. <ScalarProperty Name="Referent_Email" ColumnName="Referent_Email" />
  490. <ScalarProperty Name="Ordre" ColumnName="Ordre" />
  491. </MappingFragment>
  492. </EntityTypeMapping>
  493. </EntitySetMapping>
  494. <EntitySetMapping Name="Colleges">
  495. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.College)">
  496. <MappingFragment StoreEntitySet="Colleges">
  497. <ScalarProperty Name="Id" ColumnName="Id" />
  498. <ScalarProperty Name="Annee_Id" ColumnName="Annee_Id" />
  499. <ScalarProperty Name="CodeRne" ColumnName="CodeRne" />
  500. <ScalarProperty Name="Libelle" ColumnName="Libelle" />
  501. <ScalarProperty Name="Adresse" ColumnName="Adresse" />
  502. <ScalarProperty Name="Code_Postal" ColumnName="Code_Postal" />
  503. <ScalarProperty Name="TypeCollege_Id" ColumnName="TypeCollege_Id" />
  504. <ScalarProperty Name="Commune_Insee" ColumnName="Commune_Insee" />
  505. <ScalarProperty Name="Commune" ColumnName="Commune" />
  506. <ScalarProperty Name="Canton" ColumnName="Canton" />
  507. <ScalarProperty Name="Territoire_Id" ColumnName="Territoire_Id" />
  508. <ScalarProperty Name="TAD" ColumnName="TAD" />
  509. <ScalarProperty Name="CDC" ColumnName="CDC" />
  510. <ScalarProperty Name="Tel" ColumnName="Tel" />
  511. <ScalarProperty Name="Fax" ColumnName="Fax" />
  512. <ScalarProperty Name="Email" ColumnName="Email" />
  513. </MappingFragment>
  514. </EntityTypeMapping>
  515. </EntitySetMapping>
  516. <EntitySetMapping Name="Identites">
  517. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Identite)">
  518. <MappingFragment StoreEntitySet="Identites">
  519. <ScalarProperty Name="College_Id" ColumnName="College_Id" />
  520. <ScalarProperty Name="Principal_SID" ColumnName="Principal_SID" />
  521. <ScalarProperty Name="Principal_Login" ColumnName="Principal_Login" />
  522. <ScalarProperty Name="Principal_Nom" ColumnName="Principal_Nom" />
  523. <ScalarProperty Name="Principal_Prenom" ColumnName="Principal_Prenom" />
  524. <ScalarProperty Name="Principal_Email" ColumnName="Principal_Email" />
  525. <ScalarProperty Name="Principal_Tel" ColumnName="Principal_Tel" />
  526. <ScalarProperty Name="Principal_Structure" ColumnName="Principal_Structure" />
  527. <ScalarProperty Name="Adjoint_SID" ColumnName="Adjoint_SID" />
  528. <ScalarProperty Name="Adjoint_Login" ColumnName="Adjoint_Login" />
  529. <ScalarProperty Name="Adjoint_Nom" ColumnName="Adjoint_Nom" />
  530. <ScalarProperty Name="Adjoint_Prenom" ColumnName="Adjoint_Prenom" />
  531. <ScalarProperty Name="Adjoint_Email" ColumnName="Adjoint_Email" />
  532. <ScalarProperty Name="Adjoint_Tel" ColumnName="Adjoint_Tel" />
  533. <ScalarProperty Name="Adjoint_Structure" ColumnName="Adjoint_Structure" />
  534. <ScalarProperty Name="Gestionnaire_SID" ColumnName="Gestionnaire_SID" />
  535. <ScalarProperty Name="Gestionnaire_Login" ColumnName="Gestionnaire_Login" />
  536. <ScalarProperty Name="Gestionnaire_Nom" ColumnName="Gestionnaire_Nom" />
  537. <ScalarProperty Name="Gestionnaire_Prenom" ColumnName="Gestionnaire_Prenom" />
  538. <ScalarProperty Name="Gestionnaire_Email" ColumnName="Gestionnaire_Email" />
  539. <ScalarProperty Name="Gestionnaire_Tel" ColumnName="Gestionnaire_Tel" />
  540. <ScalarProperty Name="Gestionnaire_Structure" ColumnName="Gestionnaire_Structure" />
  541. <ScalarProperty Name="Gestionnaire2_SID" ColumnName="Gestionnaire2_SID" />
  542. <ScalarProperty Name="Gestionnaire2_Login" ColumnName="Gestionnaire2_Login" />
  543. <ScalarProperty Name="Gestionnaire2_Nom" ColumnName="Gestionnaire2_Nom" />
  544. <ScalarProperty Name="Gestionnaire2_Prenom" ColumnName="Gestionnaire2_Prenom" />
  545. <ScalarProperty Name="Gestionnaire2_Email" ColumnName="Gestionnaire2_Email" />
  546. <ScalarProperty Name="Gestionnaire2_Tel" ColumnName="Gestionnaire2_Tel" />
  547. <ScalarProperty Name="Gestionnaire2_Structure" ColumnName="Gestionnaire2_Structure" />
  548. </MappingFragment>
  549. </EntityTypeMapping>
  550. </EntitySetMapping>
  551. <EntitySetMapping Name="Annees">
  552. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Annee)">
  553. <MappingFragment StoreEntitySet="Annees">
  554. <ScalarProperty Name="Id" ColumnName="Id" />
  555. <ScalarProperty Name="Libelle" ColumnName="Libelle" />
  556. </MappingFragment>
  557. </EntityTypeMapping>
  558. </EntitySetMapping>
  559. <EntitySetMapping Name="ActionAxes">
  560. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.ActionAxe)">
  561. <MappingFragment StoreEntitySet="ActionAxes">
  562. <ScalarProperty Name="Id" ColumnName="Id" />
  563. <ScalarProperty Name="Nom" ColumnName="Nom" />
  564. <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
  565. <ScalarProperty Name="Ordre" ColumnName="Ordre" />
  566. </MappingFragment>
  567. </EntityTypeMapping>
  568. </EntitySetMapping>
  569. <EntitySetMapping Name="ActionThematiques">
  570. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.ActionThematique)">
  571. <MappingFragment StoreEntitySet="ActionThematiques">
  572. <ScalarProperty Name="Id" ColumnName="Id" />
  573. <ScalarProperty Name="Nom" ColumnName="Nom" />
  574. <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
  575. <ScalarProperty Name="Ordre" ColumnName="Ordre" />
  576. <ScalarProperty Name="ActionAxeId" ColumnName="ActionAxeId" />
  577. </MappingFragment>
  578. </EntityTypeMapping>
  579. </EntitySetMapping>
  580. <EntitySetMapping Name="Actions">
  581. <EntityTypeMapping TypeName="IsTypeOf(CD67.FicheCollege.Action)">
  582. <MappingFragment StoreEntitySet="Actions">
  583. <ScalarProperty Name="Id" ColumnName="Id" />
  584. <ScalarProperty Name="Nom" ColumnName="Nom" />
  585. <ScalarProperty Name="Description" ColumnName="Description" />
  586. <ScalarProperty Name="Neutralise" ColumnName="Neutralise" />
  587. <ScalarProperty Name="Ordre" ColumnName="Ordre" />
  588. <ScalarProperty Name="ActionThematiqueId" ColumnName="ActionThematiqueId" />
  589. </MappingFragment>
  590. </EntityTypeMapping>
  591. </EntitySetMapping>
  592. </EntityContainerMapping>
  593. </Mapping></edmx:Mappings>
  594. </edmx:Runtime>
  595. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  596. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  597. <Connection>
  598. <DesignerInfoPropertySet>
  599. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  600. </DesignerInfoPropertySet>
  601. </Connection>
  602. <Options>
  603. <DesignerInfoPropertySet>
  604. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  605. <DesignerProperty Name="EnablePluralization" Value="True" />
  606. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  607. <DesignerProperty Name="UseLegacyProvider" Value="False" />
  608. <DesignerProperty Name="CodeGenerationStrategy" Value="Aucun" />
  609. </DesignerInfoPropertySet>
  610. </Options>
  611. <!-- Diagram content (shape and connector positions) -->
  612. <Diagrams></Diagrams>
  613. </Designer>
  614. </edmx:Edmx>