Model1.edmx 23 KB

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