Model1.edmx 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077
  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="Хранилище KURSACH1Model" 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">
  8. <EntityType Name="Books">
  9. <Key>
  10. <PropertyRef Name="id" />
  11. </Key>
  12. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="Name" Type="nvarchar(max)" Nullable="false" />
  14. <Property Name="Price" Type="money" Nullable="false" />
  15. <Property Name="Category" Type="nvarchar(max)" Nullable="false" />
  16. <Property Name="Author" Type="nvarchar(max)" />
  17. </EntityType>
  18. <EntityType Name="corpus">
  19. <Key>
  20. <PropertyRef Name="id" />
  21. </Key>
  22. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  23. <Property Name="corpus" Type="nvarchar" MaxLength="50" Nullable="false" />
  24. </EntityType>
  25. <EntityType Name="den_nedeli">
  26. <Key>
  27. <PropertyRef Name="id" />
  28. </Key>
  29. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  30. <Property Name="dennedeli" Type="nvarchar" MaxLength="20" Nullable="false" />
  31. </EntityType>
  32. <EntityType Name="disciplina">
  33. <Key>
  34. <PropertyRef Name="id" />
  35. </Key>
  36. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  37. <Property Name="disciplina" Type="nvarchar" MaxLength="50" Nullable="false" />
  38. </EntityType>
  39. <EntityType Name="gruppa">
  40. <Key>
  41. <PropertyRef Name="id" />
  42. </Key>
  43. <Property Name="id" Type="int" Nullable="false" />
  44. <Property Name="gruppa" Type="nvarchar" MaxLength="50" Nullable="false" />
  45. </EntityType>
  46. <EntityType Name="infoadmin">
  47. <Key>
  48. <PropertyRef Name="idAdmin" />
  49. </Key>
  50. <Property Name="idAdmin" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  51. <Property Name="imyaAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  52. <Property Name="familiyaAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  53. <Property Name="dataAdmin" Type="date" Nullable="false" />
  54. <Property Name="otchestvoAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  55. <Property Name="telephonenumAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  56. <Property Name="emailAdmin" Type="nvarchar" MaxLength="200" />
  57. <Property Name="loginAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  58. <Property Name="passAdmin" Type="nvarchar" MaxLength="200" Nullable="false" />
  59. </EntityType>
  60. <EntityType Name="infotrener">
  61. <Key>
  62. <PropertyRef Name="id" />
  63. </Key>
  64. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  65. <Property Name="familiyaTrener" Type="nvarchar" MaxLength="200" Nullable="false" />
  66. <Property Name="imyaTrener" Type="nvarchar" MaxLength="200" Nullable="false" />
  67. <Property Name="otchestvoTrener" Type="nvarchar" MaxLength="200" Nullable="false" />
  68. <Property Name="dataTrener" Type="date" Nullable="false" />
  69. <Property Name="telephonenumTrener" Type="nvarchar" MaxLength="200" Nullable="false" />
  70. <Property Name="fk_disciplina_id" Type="int" Nullable="false" />
  71. <Property Name="categoryTrener" Type="nvarchar" MaxLength="200" Nullable="false" />
  72. <Property Name="fk_pol_id" Type="int" Nullable="false" />
  73. </EntityType>
  74. <EntityType Name="infouchenik">
  75. <Key>
  76. <PropertyRef Name="id" />
  77. </Key>
  78. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  79. <Property Name="familiya" Type="nvarchar" MaxLength="50" Nullable="false" />
  80. <Property Name="imya" Type="nvarchar" MaxLength="50" Nullable="false" />
  81. <Property Name="otchestvo" Type="nvarchar" MaxLength="50" />
  82. <Property Name="dataUchenik" Type="date" Nullable="false" />
  83. <Property Name="fk_disciplina_id" Type="int" Nullable="false" />
  84. <Property Name="fk_gruppa_id" Type="int" Nullable="false" />
  85. <Property Name="fk_pol_id" Type="int" Nullable="false" />
  86. <Property Name="telephonenumUchenik" Type="nvarchar" MaxLength="12" Nullable="false" />
  87. </EntityType>
  88. <EntityType Name="pol">
  89. <Key>
  90. <PropertyRef Name="id" />
  91. </Key>
  92. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  93. <Property Name="pol_name" Type="nvarchar" MaxLength="10" />
  94. </EntityType>
  95. <EntityType Name="RASPISANIYE">
  96. <Key>
  97. <PropertyRef Name="id" />
  98. </Key>
  99. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  100. <Property Name="fk_den_nedeli_id" Type="int" Nullable="false" />
  101. <Property Name="fk_vremya_zanyatiya_id" Type="int" Nullable="false" />
  102. <Property Name="fk_gruppi_id" Type="int" Nullable="false" />
  103. <Property Name="fk_disciplina_id" Type="int" Nullable="false" />
  104. <Property Name="fk_zal_trenirovki_id" Type="int" Nullable="false" />
  105. <Property Name="fk_trener_id" Type="int" Nullable="false" />
  106. <Property Name="fk_corpus_id" Type="int" Nullable="false" />
  107. </EntityType>
  108. <EntityType Name="sorevnovaniya">
  109. <Key>
  110. <PropertyRef Name="id" />
  111. </Key>
  112. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  113. <Property Name="name_tournment" Type="nvarchar" MaxLength="50" Nullable="false" />
  114. <Property Name="mesto_provedeniya" Type="nvarchar" MaxLength="100" Nullable="false" />
  115. <Property Name="fk_disciplina_id" Type="int" Nullable="false" />
  116. <Property Name="fk_gruppa_id" Type="int" Nullable="false" />
  117. <Property Name="fk_infotrener_id" Type="int" Nullable="false" />
  118. </EntityType>
  119. <EntityType Name="sysdiagrams">
  120. <Key>
  121. <PropertyRef Name="diagram_id" />
  122. </Key>
  123. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  124. <Property Name="principal_id" Type="int" Nullable="false" />
  125. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  126. <Property Name="version" Type="int" />
  127. <Property Name="definition" Type="varbinary(max)" />
  128. </EntityType>
  129. <EntityType Name="vremya_zanyatiya">
  130. <Key>
  131. <PropertyRef Name="id" />
  132. </Key>
  133. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  134. <Property Name="nomer" Type="int" Nullable="false" />
  135. <Property Name="nachalo" Type="time" Precision="0" Nullable="false" />
  136. <Property Name="konec" Type="time" Precision="0" Nullable="false" />
  137. </EntityType>
  138. <EntityType Name="zal_trenerovki">
  139. <Key>
  140. <PropertyRef Name="id" />
  141. </Key>
  142. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  143. <Property Name="zal" Type="nvarchar" MaxLength="50" Nullable="false" />
  144. </EntityType>
  145. <Association Name="FK__infotrene__fk_di__3864608B">
  146. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  147. <End Role="infotrener" Type="Self.infotrener" Multiplicity="*" />
  148. <ReferentialConstraint>
  149. <Principal Role="disciplina">
  150. <PropertyRef Name="id" />
  151. </Principal>
  152. <Dependent Role="infotrener">
  153. <PropertyRef Name="fk_disciplina_id" />
  154. </Dependent>
  155. </ReferentialConstraint>
  156. </Association>
  157. <Association Name="FK__infotrene__fk_po__367C1819">
  158. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  159. <End Role="infotrener" Type="Self.infotrener" Multiplicity="*" />
  160. <ReferentialConstraint>
  161. <Principal Role="pol">
  162. <PropertyRef Name="id" />
  163. </Principal>
  164. <Dependent Role="infotrener">
  165. <PropertyRef Name="fk_pol_id" />
  166. </Dependent>
  167. </ReferentialConstraint>
  168. </Association>
  169. <Association Name="FK__infouchen__fk_di__2A164134">
  170. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  171. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  172. <ReferentialConstraint>
  173. <Principal Role="disciplina">
  174. <PropertyRef Name="id" />
  175. </Principal>
  176. <Dependent Role="infouchenik">
  177. <PropertyRef Name="fk_disciplina_id" />
  178. </Dependent>
  179. </ReferentialConstraint>
  180. </Association>
  181. <Association Name="FK__infouchen__fk_gr__282DF8C2">
  182. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  183. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  184. <ReferentialConstraint>
  185. <Principal Role="gruppa">
  186. <PropertyRef Name="id" />
  187. </Principal>
  188. <Dependent Role="infouchenik">
  189. <PropertyRef Name="fk_gruppa_id" />
  190. </Dependent>
  191. </ReferentialConstraint>
  192. </Association>
  193. <Association Name="FK__infouchen__fk_gr__2BFE89A6">
  194. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  195. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  196. <ReferentialConstraint>
  197. <Principal Role="gruppa">
  198. <PropertyRef Name="id" />
  199. </Principal>
  200. <Dependent Role="infouchenik">
  201. <PropertyRef Name="fk_gruppa_id" />
  202. </Dependent>
  203. </ReferentialConstraint>
  204. </Association>
  205. <Association Name="FK__infouchen__fk_po__29221CFB">
  206. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  207. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  208. <ReferentialConstraint>
  209. <Principal Role="pol">
  210. <PropertyRef Name="id" />
  211. </Principal>
  212. <Dependent Role="infouchenik">
  213. <PropertyRef Name="fk_pol_id" />
  214. </Dependent>
  215. </ReferentialConstraint>
  216. </Association>
  217. <Association Name="FK__infouchen__fk_po__2B0A656D">
  218. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  219. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  220. <ReferentialConstraint>
  221. <Principal Role="pol">
  222. <PropertyRef Name="id" />
  223. </Principal>
  224. <Dependent Role="infouchenik">
  225. <PropertyRef Name="fk_pol_id" />
  226. </Dependent>
  227. </ReferentialConstraint>
  228. </Association>
  229. <Association Name="FK__RASPISANI__fk_co__47A6A41B">
  230. <End Role="corpus" Type="Self.corpus" Multiplicity="1" />
  231. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  232. <ReferentialConstraint>
  233. <Principal Role="corpus">
  234. <PropertyRef Name="id" />
  235. </Principal>
  236. <Dependent Role="RASPISANIYE">
  237. <PropertyRef Name="fk_corpus_id" />
  238. </Dependent>
  239. </ReferentialConstraint>
  240. </Association>
  241. <Association Name="FK__RASPISANI__fk_de__489AC854">
  242. <End Role="den_nedeli" Type="Self.den_nedeli" Multiplicity="1" />
  243. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  244. <ReferentialConstraint>
  245. <Principal Role="den_nedeli">
  246. <PropertyRef Name="id" />
  247. </Principal>
  248. <Dependent Role="RASPISANIYE">
  249. <PropertyRef Name="fk_den_nedeli_id" />
  250. </Dependent>
  251. </ReferentialConstraint>
  252. </Association>
  253. <Association Name="FK__RASPISANI__fk_di__498EEC8D">
  254. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  255. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  256. <ReferentialConstraint>
  257. <Principal Role="disciplina">
  258. <PropertyRef Name="id" />
  259. </Principal>
  260. <Dependent Role="RASPISANIYE">
  261. <PropertyRef Name="fk_disciplina_id" />
  262. </Dependent>
  263. </ReferentialConstraint>
  264. </Association>
  265. <Association Name="FK__RASPISANI__fk_gr__4A8310C6">
  266. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  267. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  268. <ReferentialConstraint>
  269. <Principal Role="gruppa">
  270. <PropertyRef Name="id" />
  271. </Principal>
  272. <Dependent Role="RASPISANIYE">
  273. <PropertyRef Name="fk_gruppi_id" />
  274. </Dependent>
  275. </ReferentialConstraint>
  276. </Association>
  277. <Association Name="FK__RASPISANI__fk_tr__4D5F7D71">
  278. <End Role="infotrener" Type="Self.infotrener" Multiplicity="1" />
  279. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  280. <ReferentialConstraint>
  281. <Principal Role="infotrener">
  282. <PropertyRef Name="id" />
  283. </Principal>
  284. <Dependent Role="RASPISANIYE">
  285. <PropertyRef Name="fk_trener_id" />
  286. </Dependent>
  287. </ReferentialConstraint>
  288. </Association>
  289. <Association Name="FK__RASPISANI__fk_vr__4B7734FF">
  290. <End Role="vremya_zanyatiya" Type="Self.vremya_zanyatiya" Multiplicity="1" />
  291. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  292. <ReferentialConstraint>
  293. <Principal Role="vremya_zanyatiya">
  294. <PropertyRef Name="id" />
  295. </Principal>
  296. <Dependent Role="RASPISANIYE">
  297. <PropertyRef Name="fk_vremya_zanyatiya_id" />
  298. </Dependent>
  299. </ReferentialConstraint>
  300. </Association>
  301. <Association Name="FK__RASPISANI__fk_za__4C6B5938">
  302. <End Role="zal_trenerovki" Type="Self.zal_trenerovki" Multiplicity="1" />
  303. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  304. <ReferentialConstraint>
  305. <Principal Role="zal_trenerovki">
  306. <PropertyRef Name="id" />
  307. </Principal>
  308. <Dependent Role="RASPISANIYE">
  309. <PropertyRef Name="fk_zal_trenirovki_id" />
  310. </Dependent>
  311. </ReferentialConstraint>
  312. </Association>
  313. <Association Name="FK__sorevnova__fk_di__51300E55">
  314. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  315. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  316. <ReferentialConstraint>
  317. <Principal Role="disciplina">
  318. <PropertyRef Name="id" />
  319. </Principal>
  320. <Dependent Role="sorevnovaniya">
  321. <PropertyRef Name="fk_disciplina_id" />
  322. </Dependent>
  323. </ReferentialConstraint>
  324. </Association>
  325. <Association Name="FK__sorevnova__fk_gr__5224328E">
  326. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  327. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  328. <ReferentialConstraint>
  329. <Principal Role="gruppa">
  330. <PropertyRef Name="id" />
  331. </Principal>
  332. <Dependent Role="sorevnovaniya">
  333. <PropertyRef Name="fk_gruppa_id" />
  334. </Dependent>
  335. </ReferentialConstraint>
  336. </Association>
  337. <Association Name="FK__sorevnova__fk_in__531856C7">
  338. <End Role="infotrener" Type="Self.infotrener" Multiplicity="1" />
  339. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  340. <ReferentialConstraint>
  341. <Principal Role="infotrener">
  342. <PropertyRef Name="id" />
  343. </Principal>
  344. <Dependent Role="sorevnovaniya">
  345. <PropertyRef Name="fk_infotrener_id" />
  346. </Dependent>
  347. </ReferentialConstraint>
  348. </Association>
  349. <EntityContainer Name="Хранилище KURSACH1ModelContainer">
  350. <EntitySet Name="Books" EntityType="Self.Books" Schema="dbo" store:Type="Tables" />
  351. <EntitySet Name="corpus" EntityType="Self.corpus" Schema="dbo" store:Type="Tables" />
  352. <EntitySet Name="den_nedeli" EntityType="Self.den_nedeli" Schema="dbo" store:Type="Tables" />
  353. <EntitySet Name="disciplina" EntityType="Self.disciplina" Schema="dbo" store:Type="Tables" />
  354. <EntitySet Name="gruppa" EntityType="Self.gruppa" Schema="dbo" store:Type="Tables" />
  355. <EntitySet Name="infoadmin" EntityType="Self.infoadmin" Schema="dbo" store:Type="Tables" />
  356. <EntitySet Name="infotrener" EntityType="Self.infotrener" Schema="dbo" store:Type="Tables" />
  357. <EntitySet Name="infouchenik" EntityType="Self.infouchenik" Schema="dbo" store:Type="Tables" />
  358. <EntitySet Name="pol" EntityType="Self.pol" Schema="dbo" store:Type="Tables" />
  359. <EntitySet Name="RASPISANIYE" EntityType="Self.RASPISANIYE" Schema="dbo" store:Type="Tables" />
  360. <EntitySet Name="sorevnovaniya" EntityType="Self.sorevnovaniya" Schema="dbo" store:Type="Tables" />
  361. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  362. <EntitySet Name="vremya_zanyatiya" EntityType="Self.vremya_zanyatiya" Schema="dbo" store:Type="Tables" />
  363. <EntitySet Name="zal_trenerovki" EntityType="Self.zal_trenerovki" Schema="dbo" store:Type="Tables" />
  364. <AssociationSet Name="FK__infotrene__fk_di__3864608B" Association="Self.FK__infotrene__fk_di__3864608B">
  365. <End Role="disciplina" EntitySet="disciplina" />
  366. <End Role="infotrener" EntitySet="infotrener" />
  367. </AssociationSet>
  368. <AssociationSet Name="FK__infotrene__fk_po__367C1819" Association="Self.FK__infotrene__fk_po__367C1819">
  369. <End Role="pol" EntitySet="pol" />
  370. <End Role="infotrener" EntitySet="infotrener" />
  371. </AssociationSet>
  372. <AssociationSet Name="FK__infouchen__fk_di__2A164134" Association="Self.FK__infouchen__fk_di__2A164134">
  373. <End Role="disciplina" EntitySet="disciplina" />
  374. <End Role="infouchenik" EntitySet="infouchenik" />
  375. </AssociationSet>
  376. <AssociationSet Name="FK__infouchen__fk_gr__282DF8C2" Association="Self.FK__infouchen__fk_gr__282DF8C2">
  377. <End Role="gruppa" EntitySet="gruppa" />
  378. <End Role="infouchenik" EntitySet="infouchenik" />
  379. </AssociationSet>
  380. <AssociationSet Name="FK__infouchen__fk_gr__2BFE89A6" Association="Self.FK__infouchen__fk_gr__2BFE89A6">
  381. <End Role="gruppa" EntitySet="gruppa" />
  382. <End Role="infouchenik" EntitySet="infouchenik" />
  383. </AssociationSet>
  384. <AssociationSet Name="FK__infouchen__fk_po__29221CFB" Association="Self.FK__infouchen__fk_po__29221CFB">
  385. <End Role="pol" EntitySet="pol" />
  386. <End Role="infouchenik" EntitySet="infouchenik" />
  387. </AssociationSet>
  388. <AssociationSet Name="FK__infouchen__fk_po__2B0A656D" Association="Self.FK__infouchen__fk_po__2B0A656D">
  389. <End Role="pol" EntitySet="pol" />
  390. <End Role="infouchenik" EntitySet="infouchenik" />
  391. </AssociationSet>
  392. <AssociationSet Name="FK__RASPISANI__fk_co__47A6A41B" Association="Self.FK__RASPISANI__fk_co__47A6A41B">
  393. <End Role="corpus" EntitySet="corpus" />
  394. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  395. </AssociationSet>
  396. <AssociationSet Name="FK__RASPISANI__fk_de__489AC854" Association="Self.FK__RASPISANI__fk_de__489AC854">
  397. <End Role="den_nedeli" EntitySet="den_nedeli" />
  398. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  399. </AssociationSet>
  400. <AssociationSet Name="FK__RASPISANI__fk_di__498EEC8D" Association="Self.FK__RASPISANI__fk_di__498EEC8D">
  401. <End Role="disciplina" EntitySet="disciplina" />
  402. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  403. </AssociationSet>
  404. <AssociationSet Name="FK__RASPISANI__fk_gr__4A8310C6" Association="Self.FK__RASPISANI__fk_gr__4A8310C6">
  405. <End Role="gruppa" EntitySet="gruppa" />
  406. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  407. </AssociationSet>
  408. <AssociationSet Name="FK__RASPISANI__fk_tr__4D5F7D71" Association="Self.FK__RASPISANI__fk_tr__4D5F7D71">
  409. <End Role="infotrener" EntitySet="infotrener" />
  410. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  411. </AssociationSet>
  412. <AssociationSet Name="FK__RASPISANI__fk_vr__4B7734FF" Association="Self.FK__RASPISANI__fk_vr__4B7734FF">
  413. <End Role="vremya_zanyatiya" EntitySet="vremya_zanyatiya" />
  414. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  415. </AssociationSet>
  416. <AssociationSet Name="FK__RASPISANI__fk_za__4C6B5938" Association="Self.FK__RASPISANI__fk_za__4C6B5938">
  417. <End Role="zal_trenerovki" EntitySet="zal_trenerovki" />
  418. <End Role="RASPISANIYE" EntitySet="RASPISANIYE" />
  419. </AssociationSet>
  420. <AssociationSet Name="FK__sorevnova__fk_di__51300E55" Association="Self.FK__sorevnova__fk_di__51300E55">
  421. <End Role="disciplina" EntitySet="disciplina" />
  422. <End Role="sorevnovaniya" EntitySet="sorevnovaniya" />
  423. </AssociationSet>
  424. <AssociationSet Name="FK__sorevnova__fk_gr__5224328E" Association="Self.FK__sorevnova__fk_gr__5224328E">
  425. <End Role="gruppa" EntitySet="gruppa" />
  426. <End Role="sorevnovaniya" EntitySet="sorevnovaniya" />
  427. </AssociationSet>
  428. <AssociationSet Name="FK__sorevnova__fk_in__531856C7" Association="Self.FK__sorevnova__fk_in__531856C7">
  429. <End Role="infotrener" EntitySet="infotrener" />
  430. <End Role="sorevnovaniya" EntitySet="sorevnovaniya" />
  431. </AssociationSet>
  432. </EntityContainer>
  433. </Schema>
  434. </edmx:StorageModels>
  435. <!-- CSDL content -->
  436. <edmx:ConceptualModels>
  437. <Schema Namespace="KURSACH1Model" 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">
  438. <EntityType Name="Book">
  439. <Key>
  440. <PropertyRef Name="id" />
  441. </Key>
  442. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  443. <Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
  444. <Property Name="Price" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
  445. <Property Name="Category" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
  446. <Property Name="Author" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  447. </EntityType>
  448. <EntityType Name="corpus">
  449. <Key>
  450. <PropertyRef Name="id" />
  451. </Key>
  452. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  453. <Property Name="corpus1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  454. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_co__47A6A41B" FromRole="corpus" ToRole="RASPISANIYE" />
  455. </EntityType>
  456. <EntityType Name="den_nedeli">
  457. <Key>
  458. <PropertyRef Name="id" />
  459. </Key>
  460. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  461. <Property Name="dennedeli" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" />
  462. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_de__489AC854" FromRole="den_nedeli" ToRole="RASPISANIYE" />
  463. </EntityType>
  464. <EntityType Name="disciplina">
  465. <Key>
  466. <PropertyRef Name="id" />
  467. </Key>
  468. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  469. <Property Name="disciplina1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  470. <NavigationProperty Name="infotreners" Relationship="Self.FK__infotrene__fk_di__3864608B" FromRole="disciplina" ToRole="infotrener" />
  471. <NavigationProperty Name="infoucheniks" Relationship="Self.FK__infouchen__fk_di__2A164134" FromRole="disciplina" ToRole="infouchenik" />
  472. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_di__498EEC8D" FromRole="disciplina" ToRole="RASPISANIYE" />
  473. <NavigationProperty Name="sorevnovaniyas" Relationship="Self.FK__sorevnova__fk_di__51300E55" FromRole="disciplina" ToRole="sorevnovaniya" />
  474. </EntityType>
  475. <EntityType Name="gruppa">
  476. <Key>
  477. <PropertyRef Name="id" />
  478. </Key>
  479. <Property Name="id" Type="Int32" Nullable="false" />
  480. <Property Name="gruppa1" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  481. <NavigationProperty Name="infoucheniks" Relationship="Self.FK__infouchen__fk_gr__282DF8C2" FromRole="gruppa" ToRole="infouchenik" />
  482. <NavigationProperty Name="infoucheniks1" Relationship="Self.FK__infouchen__fk_gr__2BFE89A6" FromRole="gruppa" ToRole="infouchenik" />
  483. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_gr__4A8310C6" FromRole="gruppa" ToRole="RASPISANIYE" />
  484. <NavigationProperty Name="sorevnovaniyas" Relationship="Self.FK__sorevnova__fk_gr__5224328E" FromRole="gruppa" ToRole="sorevnovaniya" />
  485. </EntityType>
  486. <EntityType Name="infoadmin">
  487. <Key>
  488. <PropertyRef Name="idAdmin" />
  489. </Key>
  490. <Property Name="idAdmin" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  491. <Property Name="imyaAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  492. <Property Name="familiyaAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  493. <Property Name="dataAdmin" Type="DateTime" Nullable="false" Precision="0" />
  494. <Property Name="otchestvoAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  495. <Property Name="telephonenumAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  496. <Property Name="emailAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  497. <Property Name="loginAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  498. <Property Name="passAdmin" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  499. </EntityType>
  500. <EntityType Name="infotrener">
  501. <Key>
  502. <PropertyRef Name="id" />
  503. </Key>
  504. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  505. <Property Name="familiyaTrener" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  506. <Property Name="imyaTrener" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  507. <Property Name="otchestvoTrener" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  508. <Property Name="dataTrener" Type="DateTime" Nullable="false" Precision="0" />
  509. <Property Name="telephonenumTrener" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  510. <Property Name="fk_disciplina_id" Type="Int32" Nullable="false" />
  511. <Property Name="categoryTrener" Type="String" MaxLength="200" FixedLength="false" Unicode="true" Nullable="false" />
  512. <Property Name="fk_pol_id" Type="Int32" Nullable="false" />
  513. <NavigationProperty Name="disciplina" Relationship="Self.FK__infotrene__fk_di__3864608B" FromRole="infotrener" ToRole="disciplina" />
  514. <NavigationProperty Name="pol" Relationship="Self.FK__infotrene__fk_po__367C1819" FromRole="infotrener" ToRole="pol" />
  515. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_tr__4D5F7D71" FromRole="infotrener" ToRole="RASPISANIYE" />
  516. <NavigationProperty Name="sorevnovaniyas" Relationship="Self.FK__sorevnova__fk_in__531856C7" FromRole="infotrener" ToRole="sorevnovaniya" />
  517. </EntityType>
  518. <EntityType Name="infouchenik">
  519. <Key>
  520. <PropertyRef Name="id" />
  521. </Key>
  522. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  523. <Property Name="familiya" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  524. <Property Name="imya" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  525. <Property Name="otchestvo" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  526. <Property Name="dataUchenik" Type="DateTime" Nullable="false" Precision="0" />
  527. <Property Name="fk_disciplina_id" Type="Int32" Nullable="false" />
  528. <Property Name="fk_gruppa_id" Type="Int32" Nullable="false" />
  529. <Property Name="fk_pol_id" Type="Int32" Nullable="false" />
  530. <Property Name="telephonenumUchenik" Type="String" MaxLength="12" FixedLength="false" Unicode="true" Nullable="false" />
  531. <NavigationProperty Name="disciplina" Relationship="Self.FK__infouchen__fk_di__2A164134" FromRole="infouchenik" ToRole="disciplina" />
  532. <NavigationProperty Name="gruppa" Relationship="Self.FK__infouchen__fk_gr__282DF8C2" FromRole="infouchenik" ToRole="gruppa" />
  533. <NavigationProperty Name="gruppa1" Relationship="Self.FK__infouchen__fk_gr__2BFE89A6" FromRole="infouchenik" ToRole="gruppa" />
  534. <NavigationProperty Name="pol" Relationship="Self.FK__infouchen__fk_po__29221CFB" FromRole="infouchenik" ToRole="pol" />
  535. <NavigationProperty Name="pol1" Relationship="Self.FK__infouchen__fk_po__2B0A656D" FromRole="infouchenik" ToRole="pol" />
  536. </EntityType>
  537. <EntityType Name="pol">
  538. <Key>
  539. <PropertyRef Name="id" />
  540. </Key>
  541. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  542. <Property Name="pol_name" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  543. <NavigationProperty Name="infotreners" Relationship="Self.FK__infotrene__fk_po__367C1819" FromRole="pol" ToRole="infotrener" />
  544. <NavigationProperty Name="infoucheniks" Relationship="Self.FK__infouchen__fk_po__29221CFB" FromRole="pol" ToRole="infouchenik" />
  545. <NavigationProperty Name="infoucheniks1" Relationship="Self.FK__infouchen__fk_po__2B0A656D" FromRole="pol" ToRole="infouchenik" />
  546. </EntityType>
  547. <EntityType Name="RASPISANIYE">
  548. <Key>
  549. <PropertyRef Name="id" />
  550. </Key>
  551. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  552. <Property Name="fk_den_nedeli_id" Type="Int32" Nullable="false" />
  553. <Property Name="fk_vremya_zanyatiya_id" Type="Int32" Nullable="false" />
  554. <Property Name="fk_gruppi_id" Type="Int32" Nullable="false" />
  555. <Property Name="fk_disciplina_id" Type="Int32" Nullable="false" />
  556. <Property Name="fk_zal_trenirovki_id" Type="Int32" Nullable="false" />
  557. <Property Name="fk_trener_id" Type="Int32" Nullable="false" />
  558. <Property Name="fk_corpus_id" Type="Int32" Nullable="false" />
  559. <NavigationProperty Name="corpus" Relationship="Self.FK__RASPISANI__fk_co__47A6A41B" FromRole="RASPISANIYE" ToRole="corpus" />
  560. <NavigationProperty Name="den_nedeli" Relationship="Self.FK__RASPISANI__fk_de__489AC854" FromRole="RASPISANIYE" ToRole="den_nedeli" />
  561. <NavigationProperty Name="disciplina" Relationship="Self.FK__RASPISANI__fk_di__498EEC8D" FromRole="RASPISANIYE" ToRole="disciplina" />
  562. <NavigationProperty Name="gruppa" Relationship="Self.FK__RASPISANI__fk_gr__4A8310C6" FromRole="RASPISANIYE" ToRole="gruppa" />
  563. <NavigationProperty Name="infotrener" Relationship="Self.FK__RASPISANI__fk_tr__4D5F7D71" FromRole="RASPISANIYE" ToRole="infotrener" />
  564. <NavigationProperty Name="vremya_zanyatiya" Relationship="Self.FK__RASPISANI__fk_vr__4B7734FF" FromRole="RASPISANIYE" ToRole="vremya_zanyatiya" />
  565. <NavigationProperty Name="zal_trenerovki" Relationship="Self.FK__RASPISANI__fk_za__4C6B5938" FromRole="RASPISANIYE" ToRole="zal_trenerovki" />
  566. </EntityType>
  567. <EntityType Name="sorevnovaniya">
  568. <Key>
  569. <PropertyRef Name="id" />
  570. </Key>
  571. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  572. <Property Name="name_tournment" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  573. <Property Name="mesto_provedeniya" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  574. <Property Name="fk_disciplina_id" Type="Int32" Nullable="false" />
  575. <Property Name="fk_gruppa_id" Type="Int32" Nullable="false" />
  576. <Property Name="fk_infotrener_id" Type="Int32" Nullable="false" />
  577. <NavigationProperty Name="disciplina" Relationship="Self.FK__sorevnova__fk_di__51300E55" FromRole="sorevnovaniya" ToRole="disciplina" />
  578. <NavigationProperty Name="gruppa" Relationship="Self.FK__sorevnova__fk_gr__5224328E" FromRole="sorevnovaniya" ToRole="gruppa" />
  579. <NavigationProperty Name="infotrener" Relationship="Self.FK__sorevnova__fk_in__531856C7" FromRole="sorevnovaniya" ToRole="infotrener" />
  580. </EntityType>
  581. <EntityType Name="sysdiagram">
  582. <Key>
  583. <PropertyRef Name="diagram_id" />
  584. </Key>
  585. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  586. <Property Name="principal_id" Type="Int32" Nullable="false" />
  587. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  588. <Property Name="version" Type="Int32" />
  589. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  590. </EntityType>
  591. <EntityType Name="vremya_zanyatiya">
  592. <Key>
  593. <PropertyRef Name="id" />
  594. </Key>
  595. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  596. <Property Name="nomer" Type="Int32" Nullable="false" />
  597. <Property Name="nachalo" Type="Time" Nullable="false" Precision="0" />
  598. <Property Name="konec" Type="Time" Nullable="false" Precision="0" />
  599. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_vr__4B7734FF" FromRole="vremya_zanyatiya" ToRole="RASPISANIYE" />
  600. </EntityType>
  601. <EntityType Name="zal_trenerovki">
  602. <Key>
  603. <PropertyRef Name="id" />
  604. </Key>
  605. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  606. <Property Name="zal" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  607. <NavigationProperty Name="RASPISANIYEs" Relationship="Self.FK__RASPISANI__fk_za__4C6B5938" FromRole="zal_trenerovki" ToRole="RASPISANIYE" />
  608. </EntityType>
  609. <Association Name="FK__RASPISANI__fk_co__47A6A41B">
  610. <End Role="corpus" Type="Self.corpus" Multiplicity="1" />
  611. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  612. <ReferentialConstraint>
  613. <Principal Role="corpus">
  614. <PropertyRef Name="id" />
  615. </Principal>
  616. <Dependent Role="RASPISANIYE">
  617. <PropertyRef Name="fk_corpus_id" />
  618. </Dependent>
  619. </ReferentialConstraint>
  620. </Association>
  621. <Association Name="FK__RASPISANI__fk_de__489AC854">
  622. <End Role="den_nedeli" Type="Self.den_nedeli" Multiplicity="1" />
  623. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  624. <ReferentialConstraint>
  625. <Principal Role="den_nedeli">
  626. <PropertyRef Name="id" />
  627. </Principal>
  628. <Dependent Role="RASPISANIYE">
  629. <PropertyRef Name="fk_den_nedeli_id" />
  630. </Dependent>
  631. </ReferentialConstraint>
  632. </Association>
  633. <Association Name="FK__infotrene__fk_di__3864608B">
  634. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  635. <End Role="infotrener" Type="Self.infotrener" Multiplicity="*" />
  636. <ReferentialConstraint>
  637. <Principal Role="disciplina">
  638. <PropertyRef Name="id" />
  639. </Principal>
  640. <Dependent Role="infotrener">
  641. <PropertyRef Name="fk_disciplina_id" />
  642. </Dependent>
  643. </ReferentialConstraint>
  644. </Association>
  645. <Association Name="FK__infouchen__fk_di__2A164134">
  646. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  647. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  648. <ReferentialConstraint>
  649. <Principal Role="disciplina">
  650. <PropertyRef Name="id" />
  651. </Principal>
  652. <Dependent Role="infouchenik">
  653. <PropertyRef Name="fk_disciplina_id" />
  654. </Dependent>
  655. </ReferentialConstraint>
  656. </Association>
  657. <Association Name="FK__RASPISANI__fk_di__498EEC8D">
  658. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  659. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  660. <ReferentialConstraint>
  661. <Principal Role="disciplina">
  662. <PropertyRef Name="id" />
  663. </Principal>
  664. <Dependent Role="RASPISANIYE">
  665. <PropertyRef Name="fk_disciplina_id" />
  666. </Dependent>
  667. </ReferentialConstraint>
  668. </Association>
  669. <Association Name="FK__sorevnova__fk_di__51300E55">
  670. <End Role="disciplina" Type="Self.disciplina" Multiplicity="1" />
  671. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  672. <ReferentialConstraint>
  673. <Principal Role="disciplina">
  674. <PropertyRef Name="id" />
  675. </Principal>
  676. <Dependent Role="sorevnovaniya">
  677. <PropertyRef Name="fk_disciplina_id" />
  678. </Dependent>
  679. </ReferentialConstraint>
  680. </Association>
  681. <Association Name="FK__infouchen__fk_gr__282DF8C2">
  682. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  683. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  684. <ReferentialConstraint>
  685. <Principal Role="gruppa">
  686. <PropertyRef Name="id" />
  687. </Principal>
  688. <Dependent Role="infouchenik">
  689. <PropertyRef Name="fk_gruppa_id" />
  690. </Dependent>
  691. </ReferentialConstraint>
  692. </Association>
  693. <Association Name="FK__infouchen__fk_gr__2BFE89A6">
  694. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  695. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  696. <ReferentialConstraint>
  697. <Principal Role="gruppa">
  698. <PropertyRef Name="id" />
  699. </Principal>
  700. <Dependent Role="infouchenik">
  701. <PropertyRef Name="fk_gruppa_id" />
  702. </Dependent>
  703. </ReferentialConstraint>
  704. </Association>
  705. <Association Name="FK__RASPISANI__fk_gr__4A8310C6">
  706. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  707. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  708. <ReferentialConstraint>
  709. <Principal Role="gruppa">
  710. <PropertyRef Name="id" />
  711. </Principal>
  712. <Dependent Role="RASPISANIYE">
  713. <PropertyRef Name="fk_gruppi_id" />
  714. </Dependent>
  715. </ReferentialConstraint>
  716. </Association>
  717. <Association Name="FK__sorevnova__fk_gr__5224328E">
  718. <End Role="gruppa" Type="Self.gruppa" Multiplicity="1" />
  719. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  720. <ReferentialConstraint>
  721. <Principal Role="gruppa">
  722. <PropertyRef Name="id" />
  723. </Principal>
  724. <Dependent Role="sorevnovaniya">
  725. <PropertyRef Name="fk_gruppa_id" />
  726. </Dependent>
  727. </ReferentialConstraint>
  728. </Association>
  729. <Association Name="FK__infotrene__fk_po__367C1819">
  730. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  731. <End Role="infotrener" Type="Self.infotrener" Multiplicity="*" />
  732. <ReferentialConstraint>
  733. <Principal Role="pol">
  734. <PropertyRef Name="id" />
  735. </Principal>
  736. <Dependent Role="infotrener">
  737. <PropertyRef Name="fk_pol_id" />
  738. </Dependent>
  739. </ReferentialConstraint>
  740. </Association>
  741. <Association Name="FK__RASPISANI__fk_tr__4D5F7D71">
  742. <End Role="infotrener" Type="Self.infotrener" Multiplicity="1" />
  743. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  744. <ReferentialConstraint>
  745. <Principal Role="infotrener">
  746. <PropertyRef Name="id" />
  747. </Principal>
  748. <Dependent Role="RASPISANIYE">
  749. <PropertyRef Name="fk_trener_id" />
  750. </Dependent>
  751. </ReferentialConstraint>
  752. </Association>
  753. <Association Name="FK__sorevnova__fk_in__531856C7">
  754. <End Role="infotrener" Type="Self.infotrener" Multiplicity="1" />
  755. <End Role="sorevnovaniya" Type="Self.sorevnovaniya" Multiplicity="*" />
  756. <ReferentialConstraint>
  757. <Principal Role="infotrener">
  758. <PropertyRef Name="id" />
  759. </Principal>
  760. <Dependent Role="sorevnovaniya">
  761. <PropertyRef Name="fk_infotrener_id" />
  762. </Dependent>
  763. </ReferentialConstraint>
  764. </Association>
  765. <Association Name="FK__infouchen__fk_po__29221CFB">
  766. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  767. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  768. <ReferentialConstraint>
  769. <Principal Role="pol">
  770. <PropertyRef Name="id" />
  771. </Principal>
  772. <Dependent Role="infouchenik">
  773. <PropertyRef Name="fk_pol_id" />
  774. </Dependent>
  775. </ReferentialConstraint>
  776. </Association>
  777. <Association Name="FK__infouchen__fk_po__2B0A656D">
  778. <End Role="pol" Type="Self.pol" Multiplicity="1" />
  779. <End Role="infouchenik" Type="Self.infouchenik" Multiplicity="*" />
  780. <ReferentialConstraint>
  781. <Principal Role="pol">
  782. <PropertyRef Name="id" />
  783. </Principal>
  784. <Dependent Role="infouchenik">
  785. <PropertyRef Name="fk_pol_id" />
  786. </Dependent>
  787. </ReferentialConstraint>
  788. </Association>
  789. <Association Name="FK__RASPISANI__fk_vr__4B7734FF">
  790. <End Role="vremya_zanyatiya" Type="Self.vremya_zanyatiya" Multiplicity="1" />
  791. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  792. <ReferentialConstraint>
  793. <Principal Role="vremya_zanyatiya">
  794. <PropertyRef Name="id" />
  795. </Principal>
  796. <Dependent Role="RASPISANIYE">
  797. <PropertyRef Name="fk_vremya_zanyatiya_id" />
  798. </Dependent>
  799. </ReferentialConstraint>
  800. </Association>
  801. <Association Name="FK__RASPISANI__fk_za__4C6B5938">
  802. <End Role="zal_trenerovki" Type="Self.zal_trenerovki" Multiplicity="1" />
  803. <End Role="RASPISANIYE" Type="Self.RASPISANIYE" Multiplicity="*" />
  804. <ReferentialConstraint>
  805. <Principal Role="zal_trenerovki">
  806. <PropertyRef Name="id" />
  807. </Principal>
  808. <Dependent Role="RASPISANIYE">
  809. <PropertyRef Name="fk_zal_trenirovki_id" />
  810. </Dependent>
  811. </ReferentialConstraint>
  812. </Association>
  813. <EntityContainer Name="KURSACH1Entities2" annotation:LazyLoadingEnabled="true">
  814. <EntitySet Name="Books" EntityType="Self.Book" />
  815. <EntitySet Name="corpora" EntityType="Self.corpus" />
  816. <EntitySet Name="den_nedeli" EntityType="Self.den_nedeli" />
  817. <EntitySet Name="disciplinas" EntityType="Self.disciplina" />
  818. <EntitySet Name="gruppas" EntityType="Self.gruppa" />
  819. <EntitySet Name="infoadmins" EntityType="Self.infoadmin" />
  820. <EntitySet Name="infotreners" EntityType="Self.infotrener" />
  821. <EntitySet Name="infoucheniks" EntityType="Self.infouchenik" />
  822. <EntitySet Name="pols" EntityType="Self.pol" />
  823. <EntitySet Name="RASPISANIYEs" EntityType="Self.RASPISANIYE" />
  824. <EntitySet Name="sorevnovaniyas" EntityType="Self.sorevnovaniya" />
  825. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagram" />
  826. <EntitySet Name="vremya_zanyatiya" EntityType="Self.vremya_zanyatiya" />
  827. <EntitySet Name="zal_trenerovki" EntityType="Self.zal_trenerovki" />
  828. <AssociationSet Name="FK__RASPISANI__fk_co__47A6A41B" Association="Self.FK__RASPISANI__fk_co__47A6A41B">
  829. <End Role="corpus" EntitySet="corpora" />
  830. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  831. </AssociationSet>
  832. <AssociationSet Name="FK__RASPISANI__fk_de__489AC854" Association="Self.FK__RASPISANI__fk_de__489AC854">
  833. <End Role="den_nedeli" EntitySet="den_nedeli" />
  834. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  835. </AssociationSet>
  836. <AssociationSet Name="FK__infotrene__fk_di__3864608B" Association="Self.FK__infotrene__fk_di__3864608B">
  837. <End Role="disciplina" EntitySet="disciplinas" />
  838. <End Role="infotrener" EntitySet="infotreners" />
  839. </AssociationSet>
  840. <AssociationSet Name="FK__infouchen__fk_di__2A164134" Association="Self.FK__infouchen__fk_di__2A164134">
  841. <End Role="disciplina" EntitySet="disciplinas" />
  842. <End Role="infouchenik" EntitySet="infoucheniks" />
  843. </AssociationSet>
  844. <AssociationSet Name="FK__RASPISANI__fk_di__498EEC8D" Association="Self.FK__RASPISANI__fk_di__498EEC8D">
  845. <End Role="disciplina" EntitySet="disciplinas" />
  846. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  847. </AssociationSet>
  848. <AssociationSet Name="FK__sorevnova__fk_di__51300E55" Association="Self.FK__sorevnova__fk_di__51300E55">
  849. <End Role="disciplina" EntitySet="disciplinas" />
  850. <End Role="sorevnovaniya" EntitySet="sorevnovaniyas" />
  851. </AssociationSet>
  852. <AssociationSet Name="FK__infouchen__fk_gr__282DF8C2" Association="Self.FK__infouchen__fk_gr__282DF8C2">
  853. <End Role="gruppa" EntitySet="gruppas" />
  854. <End Role="infouchenik" EntitySet="infoucheniks" />
  855. </AssociationSet>
  856. <AssociationSet Name="FK__infouchen__fk_gr__2BFE89A6" Association="Self.FK__infouchen__fk_gr__2BFE89A6">
  857. <End Role="gruppa" EntitySet="gruppas" />
  858. <End Role="infouchenik" EntitySet="infoucheniks" />
  859. </AssociationSet>
  860. <AssociationSet Name="FK__RASPISANI__fk_gr__4A8310C6" Association="Self.FK__RASPISANI__fk_gr__4A8310C6">
  861. <End Role="gruppa" EntitySet="gruppas" />
  862. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  863. </AssociationSet>
  864. <AssociationSet Name="FK__sorevnova__fk_gr__5224328E" Association="Self.FK__sorevnova__fk_gr__5224328E">
  865. <End Role="gruppa" EntitySet="gruppas" />
  866. <End Role="sorevnovaniya" EntitySet="sorevnovaniyas" />
  867. </AssociationSet>
  868. <AssociationSet Name="FK__infotrene__fk_po__367C1819" Association="Self.FK__infotrene__fk_po__367C1819">
  869. <End Role="pol" EntitySet="pols" />
  870. <End Role="infotrener" EntitySet="infotreners" />
  871. </AssociationSet>
  872. <AssociationSet Name="FK__RASPISANI__fk_tr__4D5F7D71" Association="Self.FK__RASPISANI__fk_tr__4D5F7D71">
  873. <End Role="infotrener" EntitySet="infotreners" />
  874. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  875. </AssociationSet>
  876. <AssociationSet Name="FK__sorevnova__fk_in__531856C7" Association="Self.FK__sorevnova__fk_in__531856C7">
  877. <End Role="infotrener" EntitySet="infotreners" />
  878. <End Role="sorevnovaniya" EntitySet="sorevnovaniyas" />
  879. </AssociationSet>
  880. <AssociationSet Name="FK__infouchen__fk_po__29221CFB" Association="Self.FK__infouchen__fk_po__29221CFB">
  881. <End Role="pol" EntitySet="pols" />
  882. <End Role="infouchenik" EntitySet="infoucheniks" />
  883. </AssociationSet>
  884. <AssociationSet Name="FK__infouchen__fk_po__2B0A656D" Association="Self.FK__infouchen__fk_po__2B0A656D">
  885. <End Role="pol" EntitySet="pols" />
  886. <End Role="infouchenik" EntitySet="infoucheniks" />
  887. </AssociationSet>
  888. <AssociationSet Name="FK__RASPISANI__fk_vr__4B7734FF" Association="Self.FK__RASPISANI__fk_vr__4B7734FF">
  889. <End Role="vremya_zanyatiya" EntitySet="vremya_zanyatiya" />
  890. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  891. </AssociationSet>
  892. <AssociationSet Name="FK__RASPISANI__fk_za__4C6B5938" Association="Self.FK__RASPISANI__fk_za__4C6B5938">
  893. <End Role="zal_trenerovki" EntitySet="zal_trenerovki" />
  894. <End Role="RASPISANIYE" EntitySet="RASPISANIYEs" />
  895. </AssociationSet>
  896. </EntityContainer>
  897. </Schema>
  898. </edmx:ConceptualModels>
  899. <!-- C-S mapping content -->
  900. <edmx:Mappings>
  901. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  902. <EntityContainerMapping StorageEntityContainer="Хранилище KURSACH1ModelContainer" CdmEntityContainer="KURSACH1Entities2">
  903. <EntitySetMapping Name="Books">
  904. <EntityTypeMapping TypeName="KURSACH1Model.Book">
  905. <MappingFragment StoreEntitySet="Books">
  906. <ScalarProperty Name="id" ColumnName="id" />
  907. <ScalarProperty Name="Name" ColumnName="Name" />
  908. <ScalarProperty Name="Price" ColumnName="Price" />
  909. <ScalarProperty Name="Category" ColumnName="Category" />
  910. <ScalarProperty Name="Author" ColumnName="Author" />
  911. </MappingFragment>
  912. </EntityTypeMapping>
  913. </EntitySetMapping>
  914. <EntitySetMapping Name="corpora">
  915. <EntityTypeMapping TypeName="KURSACH1Model.corpus">
  916. <MappingFragment StoreEntitySet="corpus">
  917. <ScalarProperty Name="id" ColumnName="id" />
  918. <ScalarProperty Name="corpus1" ColumnName="corpus" />
  919. </MappingFragment>
  920. </EntityTypeMapping>
  921. </EntitySetMapping>
  922. <EntitySetMapping Name="den_nedeli">
  923. <EntityTypeMapping TypeName="KURSACH1Model.den_nedeli">
  924. <MappingFragment StoreEntitySet="den_nedeli">
  925. <ScalarProperty Name="id" ColumnName="id" />
  926. <ScalarProperty Name="dennedeli" ColumnName="dennedeli" />
  927. </MappingFragment>
  928. </EntityTypeMapping>
  929. </EntitySetMapping>
  930. <EntitySetMapping Name="disciplinas">
  931. <EntityTypeMapping TypeName="KURSACH1Model.disciplina">
  932. <MappingFragment StoreEntitySet="disciplina">
  933. <ScalarProperty Name="id" ColumnName="id" />
  934. <ScalarProperty Name="disciplina1" ColumnName="disciplina" />
  935. </MappingFragment>
  936. </EntityTypeMapping>
  937. </EntitySetMapping>
  938. <EntitySetMapping Name="gruppas">
  939. <EntityTypeMapping TypeName="KURSACH1Model.gruppa">
  940. <MappingFragment StoreEntitySet="gruppa">
  941. <ScalarProperty Name="id" ColumnName="id" />
  942. <ScalarProperty Name="gruppa1" ColumnName="gruppa" />
  943. </MappingFragment>
  944. </EntityTypeMapping>
  945. </EntitySetMapping>
  946. <EntitySetMapping Name="infoadmins">
  947. <EntityTypeMapping TypeName="KURSACH1Model.infoadmin">
  948. <MappingFragment StoreEntitySet="infoadmin">
  949. <ScalarProperty Name="idAdmin" ColumnName="idAdmin" />
  950. <ScalarProperty Name="imyaAdmin" ColumnName="imyaAdmin" />
  951. <ScalarProperty Name="familiyaAdmin" ColumnName="familiyaAdmin" />
  952. <ScalarProperty Name="dataAdmin" ColumnName="dataAdmin" />
  953. <ScalarProperty Name="otchestvoAdmin" ColumnName="otchestvoAdmin" />
  954. <ScalarProperty Name="telephonenumAdmin" ColumnName="telephonenumAdmin" />
  955. <ScalarProperty Name="emailAdmin" ColumnName="emailAdmin" />
  956. <ScalarProperty Name="loginAdmin" ColumnName="loginAdmin" />
  957. <ScalarProperty Name="passAdmin" ColumnName="passAdmin" />
  958. </MappingFragment>
  959. </EntityTypeMapping>
  960. </EntitySetMapping>
  961. <EntitySetMapping Name="infotreners">
  962. <EntityTypeMapping TypeName="KURSACH1Model.infotrener">
  963. <MappingFragment StoreEntitySet="infotrener">
  964. <ScalarProperty Name="id" ColumnName="id" />
  965. <ScalarProperty Name="familiyaTrener" ColumnName="familiyaTrener" />
  966. <ScalarProperty Name="imyaTrener" ColumnName="imyaTrener" />
  967. <ScalarProperty Name="otchestvoTrener" ColumnName="otchestvoTrener" />
  968. <ScalarProperty Name="dataTrener" ColumnName="dataTrener" />
  969. <ScalarProperty Name="telephonenumTrener" ColumnName="telephonenumTrener" />
  970. <ScalarProperty Name="fk_disciplina_id" ColumnName="fk_disciplina_id" />
  971. <ScalarProperty Name="categoryTrener" ColumnName="categoryTrener" />
  972. <ScalarProperty Name="fk_pol_id" ColumnName="fk_pol_id" />
  973. </MappingFragment>
  974. </EntityTypeMapping>
  975. </EntitySetMapping>
  976. <EntitySetMapping Name="infoucheniks">
  977. <EntityTypeMapping TypeName="KURSACH1Model.infouchenik">
  978. <MappingFragment StoreEntitySet="infouchenik">
  979. <ScalarProperty Name="id" ColumnName="id" />
  980. <ScalarProperty Name="familiya" ColumnName="familiya" />
  981. <ScalarProperty Name="imya" ColumnName="imya" />
  982. <ScalarProperty Name="otchestvo" ColumnName="otchestvo" />
  983. <ScalarProperty Name="dataUchenik" ColumnName="dataUchenik" />
  984. <ScalarProperty Name="fk_disciplina_id" ColumnName="fk_disciplina_id" />
  985. <ScalarProperty Name="fk_gruppa_id" ColumnName="fk_gruppa_id" />
  986. <ScalarProperty Name="fk_pol_id" ColumnName="fk_pol_id" />
  987. <ScalarProperty Name="telephonenumUchenik" ColumnName="telephonenumUchenik" />
  988. </MappingFragment>
  989. </EntityTypeMapping>
  990. </EntitySetMapping>
  991. <EntitySetMapping Name="pols">
  992. <EntityTypeMapping TypeName="KURSACH1Model.pol">
  993. <MappingFragment StoreEntitySet="pol">
  994. <ScalarProperty Name="id" ColumnName="id" />
  995. <ScalarProperty Name="pol_name" ColumnName="pol_name" />
  996. </MappingFragment>
  997. </EntityTypeMapping>
  998. </EntitySetMapping>
  999. <EntitySetMapping Name="RASPISANIYEs">
  1000. <EntityTypeMapping TypeName="KURSACH1Model.RASPISANIYE">
  1001. <MappingFragment StoreEntitySet="RASPISANIYE">
  1002. <ScalarProperty Name="id" ColumnName="id" />
  1003. <ScalarProperty Name="fk_den_nedeli_id" ColumnName="fk_den_nedeli_id" />
  1004. <ScalarProperty Name="fk_vremya_zanyatiya_id" ColumnName="fk_vremya_zanyatiya_id" />
  1005. <ScalarProperty Name="fk_gruppi_id" ColumnName="fk_gruppi_id" />
  1006. <ScalarProperty Name="fk_disciplina_id" ColumnName="fk_disciplina_id" />
  1007. <ScalarProperty Name="fk_zal_trenirovki_id" ColumnName="fk_zal_trenirovki_id" />
  1008. <ScalarProperty Name="fk_trener_id" ColumnName="fk_trener_id" />
  1009. <ScalarProperty Name="fk_corpus_id" ColumnName="fk_corpus_id" />
  1010. </MappingFragment>
  1011. </EntityTypeMapping>
  1012. </EntitySetMapping>
  1013. <EntitySetMapping Name="sorevnovaniyas">
  1014. <EntityTypeMapping TypeName="KURSACH1Model.sorevnovaniya">
  1015. <MappingFragment StoreEntitySet="sorevnovaniya">
  1016. <ScalarProperty Name="id" ColumnName="id" />
  1017. <ScalarProperty Name="name_tournment" ColumnName="name_tournment" />
  1018. <ScalarProperty Name="mesto_provedeniya" ColumnName="mesto_provedeniya" />
  1019. <ScalarProperty Name="fk_disciplina_id" ColumnName="fk_disciplina_id" />
  1020. <ScalarProperty Name="fk_gruppa_id" ColumnName="fk_gruppa_id" />
  1021. <ScalarProperty Name="fk_infotrener_id" ColumnName="fk_infotrener_id" />
  1022. </MappingFragment>
  1023. </EntityTypeMapping>
  1024. </EntitySetMapping>
  1025. <EntitySetMapping Name="sysdiagrams">
  1026. <EntityTypeMapping TypeName="KURSACH1Model.sysdiagram">
  1027. <MappingFragment StoreEntitySet="sysdiagrams">
  1028. <ScalarProperty Name="name" ColumnName="name" />
  1029. <ScalarProperty Name="principal_id" ColumnName="principal_id" />
  1030. <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
  1031. <ScalarProperty Name="version" ColumnName="version" />
  1032. <ScalarProperty Name="definition" ColumnName="definition" />
  1033. </MappingFragment>
  1034. </EntityTypeMapping>
  1035. </EntitySetMapping>
  1036. <EntitySetMapping Name="vremya_zanyatiya">
  1037. <EntityTypeMapping TypeName="KURSACH1Model.vremya_zanyatiya">
  1038. <MappingFragment StoreEntitySet="vremya_zanyatiya">
  1039. <ScalarProperty Name="id" ColumnName="id" />
  1040. <ScalarProperty Name="nomer" ColumnName="nomer" />
  1041. <ScalarProperty Name="nachalo" ColumnName="nachalo" />
  1042. <ScalarProperty Name="konec" ColumnName="konec" />
  1043. </MappingFragment>
  1044. </EntityTypeMapping>
  1045. </EntitySetMapping>
  1046. <EntitySetMapping Name="zal_trenerovki">
  1047. <EntityTypeMapping TypeName="KURSACH1Model.zal_trenerovki">
  1048. <MappingFragment StoreEntitySet="zal_trenerovki">
  1049. <ScalarProperty Name="id" ColumnName="id" />
  1050. <ScalarProperty Name="zal" ColumnName="zal" />
  1051. </MappingFragment>
  1052. </EntityTypeMapping>
  1053. </EntitySetMapping>
  1054. </EntityContainerMapping>
  1055. </Mapping>
  1056. </edmx:Mappings>
  1057. </edmx:Runtime>
  1058. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  1059. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  1060. <Connection>
  1061. <DesignerInfoPropertySet>
  1062. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  1063. </DesignerInfoPropertySet>
  1064. </Connection>
  1065. <Options>
  1066. <DesignerInfoPropertySet>
  1067. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  1068. <DesignerProperty Name="EnablePluralization" Value="true" />
  1069. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  1070. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  1071. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  1072. </DesignerInfoPropertySet>
  1073. </Options>
  1074. <!-- Diagram content (shape and connector positions) -->
  1075. <Diagrams></Diagrams>
  1076. </Designer>
  1077. </edmx:Edmx>