Model1.edmx 24 KB

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