EducfModel.edmx 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  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="educfModel.Store" Provider="Npgsql" ProviderManifestToken="9.2.8" 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">
  8. <EntityType Name="commune">
  9. <Key>
  10. <PropertyRef Name="id" />
  11. </Key>
  12. <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="nom" Type="varchar" MaxLength="200" />
  14. <Property Name="code" Type="varchar" MaxLength="7" />
  15. <Property Name="insee" Type="varchar" MaxLength="30" />
  16. <Property Name="superficie" Type="numeric" Precision="10" Scale="0" />
  17. <Property Name="maire" Type="varchar" MaxLength="100" />
  18. <Property Name="adresse" Type="varchar" MaxLength="100" />
  19. <Property Name="tel" Type="varchar" MaxLength="100" />
  20. <Property Name="fax" Type="varchar" MaxLength="100" />
  21. <Property Name="email" Type="varchar" MaxLength="250" />
  22. <Property Name="urbanisationemail" Type="varchar" MaxLength="250" />
  23. <Property Name="urbanisationinterlocuteur" Type="varchar" MaxLength="100" />
  24. <Property Name="urbanisationtel" Type="varchar" MaxLength="100" />
  25. <Property Name="optcommunecollege" Type="numeric" Precision="1" Scale="0" />
  26. <Property Name="rpi" Type="varchar" MaxLength="50" />
  27. <Property Name="web" Type="varchar" MaxLength="100" />
  28. <Property Name="idcanton" Type="int4" />
  29. </EntityType>
  30. <EntityType Name="etabeffectifannee">
  31. <Key>
  32. <PropertyRef Name="id" />
  33. </Key>
  34. <Property Name="idetablissement" Type="int4" />
  35. <Property Name="annee" Type="float8" />
  36. <Property Name="effectif" Type="float8" />
  37. <Property Name="idniveau" Type="float8" />
  38. <Property Name="tap" Type="float8" />
  39. <Property Name="tevit" Type="float8" />
  40. <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
  41. <Property Name="nbclasses" Type="numeric" Precision="5" Scale="0" />
  42. <Property Name="effectifdp" Type="float8" />
  43. <Property Name="effectifderog" Type="float8" />
  44. <Property Name="tapsec" Type="float8" />
  45. </EntityType>
  46. <EntityType Name="etablissement">
  47. <Key>
  48. <PropertyRef Name="id" />
  49. </Key>
  50. <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
  51. <Property Name="nom" Type="varchar" MaxLength="250" />
  52. <Property Name="numero" Type="varchar" MaxLength="20" />
  53. <Property Name="idtype" Type="float8" />
  54. <Property Name="privepublic" Type="float8" />
  55. <Property Name="numadresse" Type="varchar" MaxLength="20" />
  56. <Property Name="idrue" Type="float8" />
  57. <Property Name="adresse2" Type="varchar" MaxLength="250" />
  58. <Property Name="tel" Type="varchar" MaxLength="20" />
  59. <Property Name="fax" Type="varchar" MaxLength="20" />
  60. <Property Name="tel2" Type="varchar" MaxLength="20" />
  61. <Property Name="numabrege" Type="varchar" MaxLength="10" />
  62. <Property Name="email" Type="varchar" MaxLength="250" />
  63. <Property Name="anneeconstruction" Type="float8" />
  64. <Property Name="idclassement" Type="float8" />
  65. <Property Name="web" Type="varchar" MaxLength="250" />
  66. <Property Name="surface" Type="varchar" MaxLength="20" />
  67. <Property Name="accueilhandicape" Type="numeric" Precision="1" Scale="0" />
  68. <Property Name="idelementairesecteur" Type="text" />
  69. <Property Name="horaires1" Type="varchar" MaxLength="100" />
  70. <Property Name="horaires2" Type="varchar" MaxLength="100" />
  71. <Property Name="horaires3" Type="varchar" MaxLength="100" />
  72. <Property Name="horaires4" Type="varchar" MaxLength="100" />
  73. <Property Name="optdplundi" Type="numeric" Precision="1" Scale="0" />
  74. <Property Name="optdpmardi" Type="numeric" Precision="1" Scale="0" />
  75. <Property Name="optdpmercredi" Type="numeric" Precision="1" Scale="0" />
  76. <Property Name="optdpjeudi" Type="numeric" Precision="1" Scale="0" />
  77. <Property Name="optdpvendredi" Type="numeric" Precision="1" Scale="0" />
  78. <Property Name="idregierestauration" Type="numeric" Precision="3" Scale="0" />
  79. <Property Name="idbassin" Type="numeric" Precision="5" Scale="0" />
  80. <Property Name="couleur" Type="numeric" Precision="10" Scale="0" />
  81. <Property Name="idcouleur" Type="int4" />
  82. <Property Name="optulis" Type="int4" />
  83. <Property Name="cp" Type="varchar" MaxLength="10" />
  84. <Property Name="anneerestructuration" Type="varchar" MaxLength="4" />
  85. <Property Name="libellecarte1" Type="varchar" MaxLength="200" />
  86. <Property Name="libellecarte2" Type="varchar" MaxLength="200" />
  87. </EntityType>
  88. <EntityType Name="niveau">
  89. <Key>
  90. <PropertyRef Name="id" />
  91. </Key>
  92. <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
  93. <Property Name="typeetablissement" Type="float8" />
  94. <Property Name="nom" Type="varchar" MaxLength="20" />
  95. <Property Name="ordre" Type="float8" />
  96. <Property Name="idniveaumontee" Type="numeric" Precision="5" Scale="0" />
  97. <Property Name="capacite" Type="numeric" Precision="3" Scale="0" />
  98. <Property Name="capacitezep" Type="numeric" Precision="3" Scale="0" />
  99. </EntityType>
  100. <EntityType Name="rues">
  101. <Key>
  102. <PropertyRef Name="id" />
  103. </Key>
  104. <Property Name="id" Type="int4" StoreGeneratedPattern="Identity" Nullable="false" />
  105. <Property Name="nom" Type="varchar" MaxLength="100" />
  106. <Property Name="idcommune" Type="int4" />
  107. <Property Name="typerue" Type="varchar" MaxLength="100" />
  108. <Property Name="rivoli" Type="varchar" MaxLength="10" />
  109. </EntityType>
  110. <!--Erreurs détectées durant la génération :
  111. avertissement 6002: La table/vue 'educf.educf.typeetablissement' n'a pas de clé primaire définie. La clé a été déduite et la définition a été créée en tant que table/vue en lecture seule.-->
  112. <Association Name="FK_EtabEffectifAnnee">
  113. <End Role="etablissement" Type="Self.etablissement" Multiplicity="0..1">
  114. <OnDelete Action="Cascade" />
  115. </End>
  116. <End Role="etabeffectifannee" Type="Self.etabeffectifannee" Multiplicity="*" />
  117. <ReferentialConstraint>
  118. <Principal Role="etablissement">
  119. <PropertyRef Name="id" />
  120. </Principal>
  121. <Dependent Role="etabeffectifannee">
  122. <PropertyRef Name="idetablissement" />
  123. </Dependent>
  124. </ReferentialConstraint>
  125. </Association>
  126. <Association Name="FK_RuesCommunes">
  127. <End Role="commune" Type="Self.commune" Multiplicity="0..1">
  128. <OnDelete Action="Cascade" />
  129. </End>
  130. <End Role="rues" Type="Self.rues" Multiplicity="*" />
  131. <ReferentialConstraint>
  132. <Principal Role="commune">
  133. <PropertyRef Name="id" />
  134. </Principal>
  135. <Dependent Role="rues">
  136. <PropertyRef Name="idcommune" />
  137. </Dependent>
  138. </ReferentialConstraint>
  139. </Association>
  140. <EntityContainer Name="educfModelStoreContainer">
  141. <EntitySet Name="commune" EntityType="Self.commune" Schema="educf" store:Type="Tables" />
  142. <EntitySet Name="etabeffectifannee" EntityType="Self.etabeffectifannee" Schema="educf" store:Type="Tables" />
  143. <EntitySet Name="etablissement" EntityType="Self.etablissement" Schema="educf" store:Type="Tables" />
  144. <EntitySet Name="niveau" EntityType="Self.niveau" Schema="educf" store:Type="Tables" />
  145. <EntitySet Name="rues" EntityType="Self.rues" Schema="educf" store:Type="Tables" />
  146. <AssociationSet Name="FK_EtabEffectifAnnee" Association="Self.FK_EtabEffectifAnnee">
  147. <End Role="etablissement" EntitySet="etablissement" />
  148. <End Role="etabeffectifannee" EntitySet="etabeffectifannee" />
  149. </AssociationSet>
  150. <AssociationSet Name="FK_RuesCommunes" Association="Self.FK_RuesCommunes">
  151. <End Role="commune" EntitySet="commune" />
  152. <End Role="rues" EntitySet="rues" />
  153. </AssociationSet>
  154. </EntityContainer>
  155. </Schema>
  156. </edmx:StorageModels>
  157. <!-- CSDL content -->
  158. <edmx:ConceptualModels>
  159. <Schema Namespace="educfModel" 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">
  160. <EntityType Name="commune">
  161. <Key>
  162. <PropertyRef Name="id" />
  163. </Key>
  164. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  165. <Property Name="nom" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  166. <Property Name="code" Type="String" MaxLength="7" FixedLength="false" Unicode="true" />
  167. <Property Name="insee" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
  168. <Property Name="superficie" Type="Decimal" Precision="10" Scale="0" />
  169. <Property Name="maire" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  170. <Property Name="adresse" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  171. <Property Name="tel" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  172. <Property Name="fax" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  173. <Property Name="email" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  174. <Property Name="urbanisationemail" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  175. <Property Name="urbanisationinterlocuteur" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  176. <Property Name="urbanisationtel" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  177. <Property Name="optcommunecollege" Type="Decimal" Precision="1" Scale="0" />
  178. <Property Name="rpi" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  179. <Property Name="web" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  180. <Property Name="idcanton" Type="Int32" />
  181. <NavigationProperty Name="rues" Relationship="Self.FK_RuesCommunes" FromRole="commune" ToRole="rues" />
  182. </EntityType>
  183. <EntityType Name="etabeffectifannee">
  184. <Key>
  185. <PropertyRef Name="id" />
  186. </Key>
  187. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" />
  188. <Property Name="idetablissement" Type="Int32" />
  189. <Property Name="annee" Type="Double" />
  190. <Property Name="effectif" Type="Double" />
  191. <Property Name="idniveau" Type="Int32" />
  192. <Property Name="tap" Type="Double" />
  193. <Property Name="tevit" Type="Double" />
  194. <Property Name="nbclasses" Type="Decimal" Precision="5" Scale="0" />
  195. <Property Name="effectifdp" Type="Double" />
  196. <Property Name="effectifderog" Type="Double" />
  197. <Property Name="tapsec" Type="Double" />
  198. <NavigationProperty Name="etablissement" Relationship="Self.FK_EtabEffectifAnnee" FromRole="etabeffectifannee" ToRole="etablissement" />
  199. <NavigationProperty Name="niveau" Relationship="educfModel.niveauetabeffectifannee" FromRole="etabeffectifannee" ToRole="niveau" />
  200. </EntityType>
  201. <EntityType Name="etablissement">
  202. <Key>
  203. <PropertyRef Name="id" />
  204. </Key>
  205. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  206. <Property Name="nom" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  207. <Property Name="numero" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  208. <Property Name="idtype" Type="Double" />
  209. <Property Name="privepublic" Type="Double" />
  210. <Property Name="numadresse" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  211. <Property Name="idrue" Type="Int32" />
  212. <Property Name="adresse2" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  213. <Property Name="tel" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  214. <Property Name="fax" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  215. <Property Name="tel2" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  216. <Property Name="numabrege" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  217. <Property Name="email" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  218. <Property Name="anneeconstruction" Type="Double" />
  219. <Property Name="idclassement" Type="Double" />
  220. <Property Name="web" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  221. <Property Name="surface" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  222. <Property Name="accueilhandicape" Type="Decimal" Precision="1" Scale="0" />
  223. <Property Name="idelementairesecteur" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  224. <Property Name="horaires1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  225. <Property Name="horaires2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  226. <Property Name="horaires3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  227. <Property Name="horaires4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  228. <Property Name="optdplundi" Type="Decimal" Precision="1" Scale="0" />
  229. <Property Name="optdpmardi" Type="Decimal" Precision="1" Scale="0" />
  230. <Property Name="optdpmercredi" Type="Decimal" Precision="1" Scale="0" />
  231. <Property Name="optdpjeudi" Type="Decimal" Precision="1" Scale="0" />
  232. <Property Name="optdpvendredi" Type="Decimal" Precision="1" Scale="0" />
  233. <Property Name="idregierestauration" Type="Decimal" Precision="3" Scale="0" />
  234. <Property Name="idbassin" Type="Decimal" Precision="5" Scale="0" />
  235. <Property Name="couleur" Type="Decimal" Precision="10" Scale="0" />
  236. <Property Name="idcouleur" Type="Int32" />
  237. <Property Name="optulis" Type="Int32" />
  238. <Property Name="cp" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  239. <Property Name="anneerestructuration" Type="String" MaxLength="4" FixedLength="false" Unicode="true" />
  240. <Property Name="libellecarte1" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  241. <Property Name="libellecarte2" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  242. <NavigationProperty Name="etabeffectifannees" Relationship="Self.FK_EtabEffectifAnnee" FromRole="etablissement" ToRole="etabeffectifannee" />
  243. <NavigationProperty Name="rue" Relationship="educfModel.etablissementrue" FromRole="etablissement" ToRole="rue" />
  244. </EntityType>
  245. <EntityType Name="niveau">
  246. <Key>
  247. <PropertyRef Name="id" />
  248. </Key>
  249. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  250. <Property Name="typeetablissement" Type="Double" />
  251. <Property Name="nom" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  252. <Property Name="ordre" Type="Double" />
  253. <Property Name="idniveaumontee" Type="Decimal" Precision="5" Scale="0" />
  254. <Property Name="capacite" Type="Decimal" Precision="3" Scale="0" />
  255. <Property Name="capacitezep" Type="Decimal" Precision="3" Scale="0" />
  256. <NavigationProperty Name="etabeffectifannees" Relationship="educfModel.niveauetabeffectifannee" FromRole="niveau" ToRole="etabeffectifannee" />
  257. </EntityType>
  258. <EntityType Name="rue">
  259. <Key>
  260. <PropertyRef Name="id" />
  261. </Key>
  262. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  263. <Property Name="nom" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  264. <Property Name="idcommune" Type="Int32" />
  265. <Property Name="typerue" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  266. <Property Name="rivoli" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  267. <NavigationProperty Name="commune" Relationship="Self.FK_RuesCommunes" FromRole="rues" ToRole="commune" />
  268. <NavigationProperty Name="etablissements" Relationship="educfModel.etablissementrue" FromRole="rue" ToRole="etablissement" />
  269. </EntityType>
  270. <Association Name="FK_RuesCommunes">
  271. <End Role="commune" Type="Self.commune" Multiplicity="0..1">
  272. <OnDelete Action="Cascade" />
  273. </End>
  274. <End Role="rues" Type="Self.rue" Multiplicity="*" />
  275. <ReferentialConstraint>
  276. <Principal Role="commune">
  277. <PropertyRef Name="id" />
  278. </Principal>
  279. <Dependent Role="rues">
  280. <PropertyRef Name="idcommune" />
  281. </Dependent>
  282. </ReferentialConstraint>
  283. </Association>
  284. <Association Name="FK_EtabEffectifAnnee">
  285. <End Role="etablissement" Type="Self.etablissement" Multiplicity="0..1">
  286. <OnDelete Action="Cascade" />
  287. </End>
  288. <End Role="etabeffectifannee" Type="Self.etabeffectifannee" Multiplicity="*" />
  289. <ReferentialConstraint>
  290. <Principal Role="etablissement">
  291. <PropertyRef Name="id" />
  292. </Principal>
  293. <Dependent Role="etabeffectifannee">
  294. <PropertyRef Name="idetablissement" />
  295. </Dependent>
  296. </ReferentialConstraint>
  297. </Association>
  298. <EntityContainer Name="EducfEntities" annotation:LazyLoadingEnabled="true">
  299. <EntitySet Name="communes" EntityType="Self.commune" />
  300. <EntitySet Name="etabeffectifannees" EntityType="Self.etabeffectifannee" />
  301. <EntitySet Name="etablissements" EntityType="Self.etablissement" />
  302. <EntitySet Name="niveaux" EntityType="Self.niveau" />
  303. <EntitySet Name="rues" EntityType="Self.rue" />
  304. <AssociationSet Name="FK_RuesCommunes" Association="Self.FK_RuesCommunes">
  305. <End Role="commune" EntitySet="communes" />
  306. <End Role="rues" EntitySet="rues" />
  307. </AssociationSet>
  308. <AssociationSet Name="FK_EtabEffectifAnnee" Association="Self.FK_EtabEffectifAnnee">
  309. <End Role="etablissement" EntitySet="etablissements" />
  310. <End Role="etabeffectifannee" EntitySet="etabeffectifannees" />
  311. </AssociationSet>
  312. <AssociationSet Name="etablissementrue" Association="educfModel.etablissementrue">
  313. <End Role="etablissement" EntitySet="etablissements" />
  314. <End Role="rue" EntitySet="rues" />
  315. </AssociationSet>
  316. <AssociationSet Name="niveauetabeffectifannee" Association="educfModel.niveauetabeffectifannee">
  317. <End Role="niveau" EntitySet="niveaux" />
  318. <End Role="etabeffectifannee" EntitySet="etabeffectifannees" />
  319. </AssociationSet>
  320. </EntityContainer>
  321. <Association Name="etablissementrue">
  322. <End Type="educfModel.etablissement" Role="etablissement" Multiplicity="*" />
  323. <End Type="educfModel.rue" Role="rue" Multiplicity="0..1" />
  324. <ReferentialConstraint>
  325. <Principal Role="rue">
  326. <PropertyRef Name="id" />
  327. </Principal>
  328. <Dependent Role="etablissement">
  329. <PropertyRef Name="idrue" />
  330. </Dependent>
  331. </ReferentialConstraint>
  332. </Association>
  333. <Association Name="niveauetabeffectifannee">
  334. <End Type="educfModel.niveau" Role="niveau" Multiplicity="0..1" />
  335. <End Type="educfModel.etabeffectifannee" Role="etabeffectifannee" Multiplicity="*" />
  336. <ReferentialConstraint>
  337. <Principal Role="niveau">
  338. <PropertyRef Name="id" />
  339. </Principal>
  340. <Dependent Role="etabeffectifannee">
  341. <PropertyRef Name="idniveau" />
  342. </Dependent>
  343. </ReferentialConstraint>
  344. </Association>
  345. </Schema>
  346. </edmx:ConceptualModels>
  347. <!-- C-S mapping content -->
  348. <edmx:Mappings>
  349. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  350. <EntityContainerMapping StorageEntityContainer="educfModelStoreContainer" CdmEntityContainer="EducfEntities">
  351. <EntitySetMapping Name="communes">
  352. <EntityTypeMapping TypeName="educfModel.commune">
  353. <MappingFragment StoreEntitySet="commune">
  354. <ScalarProperty Name="id" ColumnName="id" />
  355. <ScalarProperty Name="nom" ColumnName="nom" />
  356. <ScalarProperty Name="code" ColumnName="code" />
  357. <ScalarProperty Name="insee" ColumnName="insee" />
  358. <ScalarProperty Name="superficie" ColumnName="superficie" />
  359. <ScalarProperty Name="maire" ColumnName="maire" />
  360. <ScalarProperty Name="adresse" ColumnName="adresse" />
  361. <ScalarProperty Name="tel" ColumnName="tel" />
  362. <ScalarProperty Name="fax" ColumnName="fax" />
  363. <ScalarProperty Name="email" ColumnName="email" />
  364. <ScalarProperty Name="urbanisationemail" ColumnName="urbanisationemail" />
  365. <ScalarProperty Name="urbanisationinterlocuteur" ColumnName="urbanisationinterlocuteur" />
  366. <ScalarProperty Name="urbanisationtel" ColumnName="urbanisationtel" />
  367. <ScalarProperty Name="optcommunecollege" ColumnName="optcommunecollege" />
  368. <ScalarProperty Name="rpi" ColumnName="rpi" />
  369. <ScalarProperty Name="web" ColumnName="web" />
  370. <ScalarProperty Name="idcanton" ColumnName="idcanton" />
  371. </MappingFragment>
  372. </EntityTypeMapping>
  373. </EntitySetMapping>
  374. <EntitySetMapping Name="etabeffectifannees">
  375. <EntityTypeMapping TypeName="educfModel.etabeffectifannee">
  376. <MappingFragment StoreEntitySet="etabeffectifannee">
  377. <ScalarProperty Name="idetablissement" ColumnName="idetablissement" />
  378. <ScalarProperty Name="annee" ColumnName="annee" />
  379. <ScalarProperty Name="effectif" ColumnName="effectif" />
  380. <ScalarProperty Name="idniveau" ColumnName="idniveau" />
  381. <ScalarProperty Name="tap" ColumnName="tap" />
  382. <ScalarProperty Name="tevit" ColumnName="tevit" />
  383. <ScalarProperty Name="id" ColumnName="id" />
  384. <ScalarProperty Name="nbclasses" ColumnName="nbclasses" />
  385. <ScalarProperty Name="effectifdp" ColumnName="effectifdp" />
  386. <ScalarProperty Name="effectifderog" ColumnName="effectifderog" />
  387. <ScalarProperty Name="tapsec" ColumnName="tapsec" />
  388. </MappingFragment>
  389. </EntityTypeMapping>
  390. </EntitySetMapping>
  391. <EntitySetMapping Name="etablissements">
  392. <EntityTypeMapping TypeName="educfModel.etablissement">
  393. <MappingFragment StoreEntitySet="etablissement">
  394. <ScalarProperty Name="id" ColumnName="id" />
  395. <ScalarProperty Name="nom" ColumnName="nom" />
  396. <ScalarProperty Name="numero" ColumnName="numero" />
  397. <ScalarProperty Name="idtype" ColumnName="idtype" />
  398. <ScalarProperty Name="privepublic" ColumnName="privepublic" />
  399. <ScalarProperty Name="numadresse" ColumnName="numadresse" />
  400. <ScalarProperty Name="idrue" ColumnName="idrue" />
  401. <ScalarProperty Name="adresse2" ColumnName="adresse2" />
  402. <ScalarProperty Name="tel" ColumnName="tel" />
  403. <ScalarProperty Name="fax" ColumnName="fax" />
  404. <ScalarProperty Name="tel2" ColumnName="tel2" />
  405. <ScalarProperty Name="numabrege" ColumnName="numabrege" />
  406. <ScalarProperty Name="email" ColumnName="email" />
  407. <ScalarProperty Name="anneeconstruction" ColumnName="anneeconstruction" />
  408. <ScalarProperty Name="idclassement" ColumnName="idclassement" />
  409. <ScalarProperty Name="web" ColumnName="web" />
  410. <ScalarProperty Name="surface" ColumnName="surface" />
  411. <ScalarProperty Name="accueilhandicape" ColumnName="accueilhandicape" />
  412. <ScalarProperty Name="idelementairesecteur" ColumnName="idelementairesecteur" />
  413. <ScalarProperty Name="horaires1" ColumnName="horaires1" />
  414. <ScalarProperty Name="horaires2" ColumnName="horaires2" />
  415. <ScalarProperty Name="horaires3" ColumnName="horaires3" />
  416. <ScalarProperty Name="horaires4" ColumnName="horaires4" />
  417. <ScalarProperty Name="optdplundi" ColumnName="optdplundi" />
  418. <ScalarProperty Name="optdpmardi" ColumnName="optdpmardi" />
  419. <ScalarProperty Name="optdpmercredi" ColumnName="optdpmercredi" />
  420. <ScalarProperty Name="optdpjeudi" ColumnName="optdpjeudi" />
  421. <ScalarProperty Name="optdpvendredi" ColumnName="optdpvendredi" />
  422. <ScalarProperty Name="idregierestauration" ColumnName="idregierestauration" />
  423. <ScalarProperty Name="idbassin" ColumnName="idbassin" />
  424. <ScalarProperty Name="couleur" ColumnName="couleur" />
  425. <ScalarProperty Name="idcouleur" ColumnName="idcouleur" />
  426. <ScalarProperty Name="optulis" ColumnName="optulis" />
  427. <ScalarProperty Name="cp" ColumnName="cp" />
  428. <ScalarProperty Name="anneerestructuration" ColumnName="anneerestructuration" />
  429. <ScalarProperty Name="libellecarte1" ColumnName="libellecarte1" />
  430. <ScalarProperty Name="libellecarte2" ColumnName="libellecarte2" />
  431. </MappingFragment>
  432. </EntityTypeMapping>
  433. </EntitySetMapping>
  434. <EntitySetMapping Name="niveaux">
  435. <EntityTypeMapping TypeName="educfModel.niveau">
  436. <MappingFragment StoreEntitySet="niveau">
  437. <ScalarProperty Name="id" ColumnName="id" />
  438. <ScalarProperty Name="typeetablissement" ColumnName="typeetablissement" />
  439. <ScalarProperty Name="nom" ColumnName="nom" />
  440. <ScalarProperty Name="ordre" ColumnName="ordre" />
  441. <ScalarProperty Name="idniveaumontee" ColumnName="idniveaumontee" />
  442. <ScalarProperty Name="capacite" ColumnName="capacite" />
  443. <ScalarProperty Name="capacitezep" ColumnName="capacitezep" />
  444. </MappingFragment>
  445. </EntityTypeMapping>
  446. </EntitySetMapping>
  447. <EntitySetMapping Name="rues">
  448. <EntityTypeMapping TypeName="educfModel.rue">
  449. <MappingFragment StoreEntitySet="rues">
  450. <ScalarProperty Name="id" ColumnName="id" />
  451. <ScalarProperty Name="nom" ColumnName="nom" />
  452. <ScalarProperty Name="idcommune" ColumnName="idcommune" />
  453. <ScalarProperty Name="typerue" ColumnName="typerue" />
  454. <ScalarProperty Name="rivoli" ColumnName="rivoli" />
  455. </MappingFragment>
  456. </EntityTypeMapping>
  457. </EntitySetMapping>
  458. </EntityContainerMapping>
  459. </Mapping>
  460. </edmx:Mappings>
  461. </edmx:Runtime>
  462. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  463. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  464. <Connection>
  465. <DesignerInfoPropertySet>
  466. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  467. </DesignerInfoPropertySet>
  468. </Connection>
  469. <Options>
  470. <DesignerInfoPropertySet>
  471. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  472. <DesignerProperty Name="EnablePluralization" Value="true" />
  473. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  474. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  475. <DesignerProperty Name="CodeGenerationStrategy" Value="Aucun" />
  476. </DesignerInfoPropertySet>
  477. </Options>
  478. <!-- Diagram content (shape and connector positions) -->
  479. <Diagrams></Diagrams>
  480. </Designer>
  481. </edmx:Edmx>