Model1.edmx 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  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="Хранилище ExamPm01Model" 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="metrics">
  9. <Key>
  10. <PropertyRef Name="id" />
  11. </Key>
  12. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="metric" Type="varchar(max)" />
  14. </EntityType>
  15. <EntityType Name="posts">
  16. <Key>
  17. <PropertyRef Name="id" />
  18. </Key>
  19. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  20. <Property Name="title" Type="varchar" MaxLength="30" />
  21. <Property Name="id_role" Type="int" />
  22. </EntityType>
  23. <EntityType Name="postsmetrics">
  24. <Key>
  25. <PropertyRef Name="id" />
  26. </Key>
  27. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  28. <Property Name="id_metric" Type="int" />
  29. <Property Name="id_post" Type="int" />
  30. </EntityType>
  31. <EntityType Name="roles">
  32. <Key>
  33. <PropertyRef Name="id" />
  34. </Key>
  35. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  36. <Property Name="role" Type="varchar" MaxLength="15" />
  37. </EntityType>
  38. <EntityType Name="sysdiagrams">
  39. <Key>
  40. <PropertyRef Name="diagram_id" />
  41. </Key>
  42. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  43. <Property Name="principal_id" Type="int" Nullable="false" />
  44. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  45. <Property Name="version" Type="int" />
  46. <Property Name="definition" Type="varbinary(max)" />
  47. </EntityType>
  48. <EntityType Name="users">
  49. <Key>
  50. <PropertyRef Name="id" />
  51. </Key>
  52. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  53. <Property Name="surname" Type="varchar" MaxLength="30" />
  54. <Property Name="firstname" Type="varchar" MaxLength="20" />
  55. <Property Name="patronymic" Type="varchar" MaxLength="35" />
  56. <Property Name="id_post" Type="int" />
  57. <Property Name="email" Type="varchar" MaxLength="50" />
  58. <Property Name="password" Type="varchar(max)" />
  59. </EntityType>
  60. <EntityType Name="usersmetrics">
  61. <Key>
  62. <PropertyRef Name="id" />
  63. </Key>
  64. <Property Name="id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  65. <Property Name="id_user" Type="int" />
  66. <Property Name="id_metric" Type="int" />
  67. <Property Name="coefficient" Type="float" />
  68. <Property Name="dateofachievement" Type="date" />
  69. </EntityType>
  70. <Association Name="posts_roles_fk">
  71. <End Role="roles" Type="Self.roles" Multiplicity="0..1" />
  72. <End Role="posts" Type="Self.posts" Multiplicity="*" />
  73. <ReferentialConstraint>
  74. <Principal Role="roles">
  75. <PropertyRef Name="id" />
  76. </Principal>
  77. <Dependent Role="posts">
  78. <PropertyRef Name="id_role" />
  79. </Dependent>
  80. </ReferentialConstraint>
  81. </Association>
  82. <Association Name="postsmetrics_id_metric_fkey">
  83. <End Role="metrics" Type="Self.metrics" Multiplicity="0..1" />
  84. <End Role="postsmetrics" Type="Self.postsmetrics" Multiplicity="*" />
  85. <ReferentialConstraint>
  86. <Principal Role="metrics">
  87. <PropertyRef Name="id" />
  88. </Principal>
  89. <Dependent Role="postsmetrics">
  90. <PropertyRef Name="id_metric" />
  91. </Dependent>
  92. </ReferentialConstraint>
  93. </Association>
  94. <Association Name="postsmetrics_id_post_fkey">
  95. <End Role="posts" Type="Self.posts" Multiplicity="0..1" />
  96. <End Role="postsmetrics" Type="Self.postsmetrics" Multiplicity="*" />
  97. <ReferentialConstraint>
  98. <Principal Role="posts">
  99. <PropertyRef Name="id" />
  100. </Principal>
  101. <Dependent Role="postsmetrics">
  102. <PropertyRef Name="id_post" />
  103. </Dependent>
  104. </ReferentialConstraint>
  105. </Association>
  106. <Association Name="users_id_post_fkey">
  107. <End Role="posts" Type="Self.posts" Multiplicity="0..1" />
  108. <End Role="users" Type="Self.users" Multiplicity="*" />
  109. <ReferentialConstraint>
  110. <Principal Role="posts">
  111. <PropertyRef Name="id" />
  112. </Principal>
  113. <Dependent Role="users">
  114. <PropertyRef Name="id_post" />
  115. </Dependent>
  116. </ReferentialConstraint>
  117. </Association>
  118. <Association Name="usersmetrics_id_metric_fkey">
  119. <End Role="metrics" Type="Self.metrics" Multiplicity="0..1" />
  120. <End Role="usersmetrics" Type="Self.usersmetrics" Multiplicity="*" />
  121. <ReferentialConstraint>
  122. <Principal Role="metrics">
  123. <PropertyRef Name="id" />
  124. </Principal>
  125. <Dependent Role="usersmetrics">
  126. <PropertyRef Name="id_metric" />
  127. </Dependent>
  128. </ReferentialConstraint>
  129. </Association>
  130. <Association Name="usersmetrics_id_user_fkey">
  131. <End Role="users" Type="Self.users" Multiplicity="0..1" />
  132. <End Role="usersmetrics" Type="Self.usersmetrics" Multiplicity="*" />
  133. <ReferentialConstraint>
  134. <Principal Role="users">
  135. <PropertyRef Name="id" />
  136. </Principal>
  137. <Dependent Role="usersmetrics">
  138. <PropertyRef Name="id_user" />
  139. </Dependent>
  140. </ReferentialConstraint>
  141. </Association>
  142. <EntityContainer Name="Хранилище ExamPm01ModelContainer">
  143. <EntitySet Name="metrics" EntityType="Self.metrics" Schema="dbo" store:Type="Tables" />
  144. <EntitySet Name="posts" EntityType="Self.posts" Schema="dbo" store:Type="Tables" />
  145. <EntitySet Name="postsmetrics" EntityType="Self.postsmetrics" Schema="dbo" store:Type="Tables" />
  146. <EntitySet Name="roles" EntityType="Self.roles" Schema="dbo" store:Type="Tables" />
  147. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  148. <EntitySet Name="users" EntityType="Self.users" Schema="dbo" store:Type="Tables" />
  149. <EntitySet Name="usersmetrics" EntityType="Self.usersmetrics" Schema="dbo" store:Type="Tables" />
  150. <AssociationSet Name="posts_roles_fk" Association="Self.posts_roles_fk">
  151. <End Role="roles" EntitySet="roles" />
  152. <End Role="posts" EntitySet="posts" />
  153. </AssociationSet>
  154. <AssociationSet Name="postsmetrics_id_metric_fkey" Association="Self.postsmetrics_id_metric_fkey">
  155. <End Role="metrics" EntitySet="metrics" />
  156. <End Role="postsmetrics" EntitySet="postsmetrics" />
  157. </AssociationSet>
  158. <AssociationSet Name="postsmetrics_id_post_fkey" Association="Self.postsmetrics_id_post_fkey">
  159. <End Role="posts" EntitySet="posts" />
  160. <End Role="postsmetrics" EntitySet="postsmetrics" />
  161. </AssociationSet>
  162. <AssociationSet Name="users_id_post_fkey" Association="Self.users_id_post_fkey">
  163. <End Role="posts" EntitySet="posts" />
  164. <End Role="users" EntitySet="users" />
  165. </AssociationSet>
  166. <AssociationSet Name="usersmetrics_id_metric_fkey" Association="Self.usersmetrics_id_metric_fkey">
  167. <End Role="metrics" EntitySet="metrics" />
  168. <End Role="usersmetrics" EntitySet="usersmetrics" />
  169. </AssociationSet>
  170. <AssociationSet Name="usersmetrics_id_user_fkey" Association="Self.usersmetrics_id_user_fkey">
  171. <End Role="users" EntitySet="users" />
  172. <End Role="usersmetrics" EntitySet="usersmetrics" />
  173. </AssociationSet>
  174. </EntityContainer>
  175. </Schema>
  176. </edmx:StorageModels>
  177. <!-- CSDL content -->
  178. <edmx:ConceptualModels>
  179. <Schema Namespace="ExamPm01Model" 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">
  180. <EntityType Name="metrics">
  181. <Key>
  182. <PropertyRef Name="id" />
  183. </Key>
  184. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  185. <Property Name="metric" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  186. <NavigationProperty Name="postsmetrics" Relationship="Self.postsmetrics_id_metric_fkey" FromRole="metrics" ToRole="postsmetrics" />
  187. <NavigationProperty Name="usersmetrics" Relationship="Self.usersmetrics_id_metric_fkey" FromRole="metrics" ToRole="usersmetrics" />
  188. </EntityType>
  189. <EntityType Name="posts">
  190. <Key>
  191. <PropertyRef Name="id" />
  192. </Key>
  193. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  194. <Property Name="title" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
  195. <Property Name="id_role" Type="Int32" />
  196. <NavigationProperty Name="roles" Relationship="Self.posts_roles_fk" FromRole="posts" ToRole="roles" />
  197. <NavigationProperty Name="postsmetrics" Relationship="Self.postsmetrics_id_post_fkey" FromRole="posts" ToRole="postsmetrics" />
  198. <NavigationProperty Name="users" Relationship="Self.users_id_post_fkey" FromRole="posts" ToRole="users" />
  199. </EntityType>
  200. <EntityType Name="postsmetrics">
  201. <Key>
  202. <PropertyRef Name="id" />
  203. </Key>
  204. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  205. <Property Name="id_metric" Type="Int32" />
  206. <Property Name="id_post" Type="Int32" />
  207. <NavigationProperty Name="metrics" Relationship="Self.postsmetrics_id_metric_fkey" FromRole="postsmetrics" ToRole="metrics" />
  208. <NavigationProperty Name="posts" Relationship="Self.postsmetrics_id_post_fkey" FromRole="postsmetrics" ToRole="posts" />
  209. </EntityType>
  210. <EntityType Name="roles">
  211. <Key>
  212. <PropertyRef Name="id" />
  213. </Key>
  214. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  215. <Property Name="role" Type="String" MaxLength="15" FixedLength="false" Unicode="false" />
  216. <NavigationProperty Name="posts" Relationship="Self.posts_roles_fk" FromRole="roles" ToRole="posts" />
  217. </EntityType>
  218. <EntityType Name="sysdiagrams">
  219. <Key>
  220. <PropertyRef Name="diagram_id" />
  221. </Key>
  222. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  223. <Property Name="principal_id" Type="Int32" Nullable="false" />
  224. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  225. <Property Name="version" Type="Int32" />
  226. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  227. </EntityType>
  228. <EntityType Name="users">
  229. <Key>
  230. <PropertyRef Name="id" />
  231. </Key>
  232. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  233. <Property Name="surname" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
  234. <Property Name="firstname" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
  235. <Property Name="patronymic" Type="String" MaxLength="35" FixedLength="false" Unicode="false" />
  236. <Property Name="id_post" Type="Int32" />
  237. <Property Name="email" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
  238. <Property Name="password" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
  239. <NavigationProperty Name="posts" Relationship="Self.users_id_post_fkey" FromRole="users" ToRole="posts" />
  240. <NavigationProperty Name="usersmetrics" Relationship="Self.usersmetrics_id_user_fkey" FromRole="users" ToRole="usersmetrics" />
  241. </EntityType>
  242. <EntityType Name="usersmetrics">
  243. <Key>
  244. <PropertyRef Name="id" />
  245. </Key>
  246. <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  247. <Property Name="id_user" Type="Int32" />
  248. <Property Name="id_metric" Type="Int32" />
  249. <Property Name="coefficient" Type="Double" />
  250. <Property Name="dateofachievement" Type="DateTime" Precision="0" />
  251. <NavigationProperty Name="metrics" Relationship="Self.usersmetrics_id_metric_fkey" FromRole="usersmetrics" ToRole="metrics" />
  252. <NavigationProperty Name="users" Relationship="Self.usersmetrics_id_user_fkey" FromRole="usersmetrics" ToRole="users" />
  253. </EntityType>
  254. <Association Name="postsmetrics_id_metric_fkey">
  255. <End Role="metrics" Type="Self.metrics" Multiplicity="0..1" />
  256. <End Role="postsmetrics" Type="Self.postsmetrics" Multiplicity="*" />
  257. <ReferentialConstraint>
  258. <Principal Role="metrics">
  259. <PropertyRef Name="id" />
  260. </Principal>
  261. <Dependent Role="postsmetrics">
  262. <PropertyRef Name="id_metric" />
  263. </Dependent>
  264. </ReferentialConstraint>
  265. </Association>
  266. <Association Name="usersmetrics_id_metric_fkey">
  267. <End Role="metrics" Type="Self.metrics" Multiplicity="0..1" />
  268. <End Role="usersmetrics" Type="Self.usersmetrics" Multiplicity="*" />
  269. <ReferentialConstraint>
  270. <Principal Role="metrics">
  271. <PropertyRef Name="id" />
  272. </Principal>
  273. <Dependent Role="usersmetrics">
  274. <PropertyRef Name="id_metric" />
  275. </Dependent>
  276. </ReferentialConstraint>
  277. </Association>
  278. <Association Name="posts_roles_fk">
  279. <End Role="roles" Type="Self.roles" Multiplicity="0..1" />
  280. <End Role="posts" Type="Self.posts" Multiplicity="*" />
  281. <ReferentialConstraint>
  282. <Principal Role="roles">
  283. <PropertyRef Name="id" />
  284. </Principal>
  285. <Dependent Role="posts">
  286. <PropertyRef Name="id_role" />
  287. </Dependent>
  288. </ReferentialConstraint>
  289. </Association>
  290. <Association Name="postsmetrics_id_post_fkey">
  291. <End Role="posts" Type="Self.posts" Multiplicity="0..1" />
  292. <End Role="postsmetrics" Type="Self.postsmetrics" Multiplicity="*" />
  293. <ReferentialConstraint>
  294. <Principal Role="posts">
  295. <PropertyRef Name="id" />
  296. </Principal>
  297. <Dependent Role="postsmetrics">
  298. <PropertyRef Name="id_post" />
  299. </Dependent>
  300. </ReferentialConstraint>
  301. </Association>
  302. <Association Name="users_id_post_fkey">
  303. <End Role="posts" Type="Self.posts" Multiplicity="0..1" />
  304. <End Role="users" Type="Self.users" Multiplicity="*" />
  305. <ReferentialConstraint>
  306. <Principal Role="posts">
  307. <PropertyRef Name="id" />
  308. </Principal>
  309. <Dependent Role="users">
  310. <PropertyRef Name="id_post" />
  311. </Dependent>
  312. </ReferentialConstraint>
  313. </Association>
  314. <Association Name="usersmetrics_id_user_fkey">
  315. <End Role="users" Type="Self.users" Multiplicity="0..1" />
  316. <End Role="usersmetrics" Type="Self.usersmetrics" Multiplicity="*" />
  317. <ReferentialConstraint>
  318. <Principal Role="users">
  319. <PropertyRef Name="id" />
  320. </Principal>
  321. <Dependent Role="usersmetrics">
  322. <PropertyRef Name="id_user" />
  323. </Dependent>
  324. </ReferentialConstraint>
  325. </Association>
  326. <EntityContainer Name="ExamPm01Entities" annotation:LazyLoadingEnabled="true">
  327. <EntitySet Name="metrics" EntityType="Self.metrics" />
  328. <EntitySet Name="posts" EntityType="Self.posts" />
  329. <EntitySet Name="postsmetrics" EntityType="Self.postsmetrics" />
  330. <EntitySet Name="roles" EntityType="Self.roles" />
  331. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
  332. <EntitySet Name="users" EntityType="Self.users" />
  333. <EntitySet Name="usersmetrics" EntityType="Self.usersmetrics" />
  334. <AssociationSet Name="postsmetrics_id_metric_fkey" Association="Self.postsmetrics_id_metric_fkey">
  335. <End Role="metrics" EntitySet="metrics" />
  336. <End Role="postsmetrics" EntitySet="postsmetrics" />
  337. </AssociationSet>
  338. <AssociationSet Name="usersmetrics_id_metric_fkey" Association="Self.usersmetrics_id_metric_fkey">
  339. <End Role="metrics" EntitySet="metrics" />
  340. <End Role="usersmetrics" EntitySet="usersmetrics" />
  341. </AssociationSet>
  342. <AssociationSet Name="posts_roles_fk" Association="Self.posts_roles_fk">
  343. <End Role="roles" EntitySet="roles" />
  344. <End Role="posts" EntitySet="posts" />
  345. </AssociationSet>
  346. <AssociationSet Name="postsmetrics_id_post_fkey" Association="Self.postsmetrics_id_post_fkey">
  347. <End Role="posts" EntitySet="posts" />
  348. <End Role="postsmetrics" EntitySet="postsmetrics" />
  349. </AssociationSet>
  350. <AssociationSet Name="users_id_post_fkey" Association="Self.users_id_post_fkey">
  351. <End Role="posts" EntitySet="posts" />
  352. <End Role="users" EntitySet="users" />
  353. </AssociationSet>
  354. <AssociationSet Name="usersmetrics_id_user_fkey" Association="Self.usersmetrics_id_user_fkey">
  355. <End Role="users" EntitySet="users" />
  356. <End Role="usersmetrics" EntitySet="usersmetrics" />
  357. </AssociationSet>
  358. </EntityContainer>
  359. </Schema>
  360. </edmx:ConceptualModels>
  361. <!-- C-S mapping content -->
  362. <edmx:Mappings>
  363. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  364. <EntityContainerMapping StorageEntityContainer="Хранилище ExamPm01ModelContainer" CdmEntityContainer="ExamPm01Entities">
  365. <EntitySetMapping Name="metrics">
  366. <EntityTypeMapping TypeName="ExamPm01Model.metrics">
  367. <MappingFragment StoreEntitySet="metrics">
  368. <ScalarProperty Name="id" ColumnName="id" />
  369. <ScalarProperty Name="metric" ColumnName="metric" />
  370. </MappingFragment>
  371. </EntityTypeMapping>
  372. </EntitySetMapping>
  373. <EntitySetMapping Name="posts">
  374. <EntityTypeMapping TypeName="ExamPm01Model.posts">
  375. <MappingFragment StoreEntitySet="posts">
  376. <ScalarProperty Name="id" ColumnName="id" />
  377. <ScalarProperty Name="title" ColumnName="title" />
  378. <ScalarProperty Name="id_role" ColumnName="id_role" />
  379. </MappingFragment>
  380. </EntityTypeMapping>
  381. </EntitySetMapping>
  382. <EntitySetMapping Name="postsmetrics">
  383. <EntityTypeMapping TypeName="ExamPm01Model.postsmetrics">
  384. <MappingFragment StoreEntitySet="postsmetrics">
  385. <ScalarProperty Name="id" ColumnName="id" />
  386. <ScalarProperty Name="id_metric" ColumnName="id_metric" />
  387. <ScalarProperty Name="id_post" ColumnName="id_post" />
  388. </MappingFragment>
  389. </EntityTypeMapping>
  390. </EntitySetMapping>
  391. <EntitySetMapping Name="roles">
  392. <EntityTypeMapping TypeName="ExamPm01Model.roles">
  393. <MappingFragment StoreEntitySet="roles">
  394. <ScalarProperty Name="id" ColumnName="id" />
  395. <ScalarProperty Name="role" ColumnName="role" />
  396. </MappingFragment>
  397. </EntityTypeMapping>
  398. </EntitySetMapping>
  399. <EntitySetMapping Name="sysdiagrams">
  400. <EntityTypeMapping TypeName="ExamPm01Model.sysdiagrams">
  401. <MappingFragment StoreEntitySet="sysdiagrams">
  402. <ScalarProperty Name="name" ColumnName="name" />
  403. <ScalarProperty Name="principal_id" ColumnName="principal_id" />
  404. <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
  405. <ScalarProperty Name="version" ColumnName="version" />
  406. <ScalarProperty Name="definition" ColumnName="definition" />
  407. </MappingFragment>
  408. </EntityTypeMapping>
  409. </EntitySetMapping>
  410. <EntitySetMapping Name="users">
  411. <EntityTypeMapping TypeName="ExamPm01Model.users">
  412. <MappingFragment StoreEntitySet="users">
  413. <ScalarProperty Name="id" ColumnName="id" />
  414. <ScalarProperty Name="surname" ColumnName="surname" />
  415. <ScalarProperty Name="firstname" ColumnName="firstname" />
  416. <ScalarProperty Name="patronymic" ColumnName="patronymic" />
  417. <ScalarProperty Name="id_post" ColumnName="id_post" />
  418. <ScalarProperty Name="email" ColumnName="email" />
  419. <ScalarProperty Name="password" ColumnName="password" />
  420. </MappingFragment>
  421. </EntityTypeMapping>
  422. </EntitySetMapping>
  423. <EntitySetMapping Name="usersmetrics">
  424. <EntityTypeMapping TypeName="ExamPm01Model.usersmetrics">
  425. <MappingFragment StoreEntitySet="usersmetrics">
  426. <ScalarProperty Name="id" ColumnName="id" />
  427. <ScalarProperty Name="id_user" ColumnName="id_user" />
  428. <ScalarProperty Name="id_metric" ColumnName="id_metric" />
  429. <ScalarProperty Name="coefficient" ColumnName="coefficient" />
  430. <ScalarProperty Name="dateofachievement" ColumnName="dateofachievement" />
  431. </MappingFragment>
  432. </EntityTypeMapping>
  433. </EntitySetMapping>
  434. </EntityContainerMapping>
  435. </Mapping>
  436. </edmx:Mappings>
  437. </edmx:Runtime>
  438. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  439. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  440. <Connection>
  441. <DesignerInfoPropertySet>
  442. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  443. </DesignerInfoPropertySet>
  444. </Connection>
  445. <Options>
  446. <DesignerInfoPropertySet>
  447. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  448. <DesignerProperty Name="EnablePluralization" Value="false" />
  449. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  450. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  451. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  452. </DesignerInfoPropertySet>
  453. </Options>
  454. <!-- Diagram content (shape and connector positions) -->
  455. <Diagrams></Diagrams>
  456. </Designer>
  457. </edmx:Edmx>