Model1.edmx 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821
  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="Хранилище Test02Model" 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="AttachedProduct">
  9. <Key>
  10. <PropertyRef Name="MainProductID" />
  11. <PropertyRef Name="AttachedProductID" />
  12. </Key>
  13. <Property Name="MainProductID" Type="int" Nullable="false" />
  14. <Property Name="AttachedProductID" Type="int" Nullable="false" />
  15. </EntityType>
  16. <EntityType Name="Client">
  17. <Key>
  18. <PropertyRef Name="ID" />
  19. </Key>
  20. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  21. <Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
  22. <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
  23. <Property Name="Patronymic" Type="nvarchar" MaxLength="50" />
  24. <Property Name="Birthday" Type="date" />
  25. <Property Name="RegistrationDate" Type="datetime" Nullable="false" />
  26. <Property Name="Email" Type="nvarchar" MaxLength="255" />
  27. <Property Name="Phone" Type="nvarchar" MaxLength="20" Nullable="false" />
  28. <Property Name="GenderCode" Type="nchar" MaxLength="1" Nullable="false" />
  29. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" />
  30. </EntityType>
  31. <EntityType Name="ClientService">
  32. <Key>
  33. <PropertyRef Name="ID" />
  34. </Key>
  35. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  36. <Property Name="ClientID" Type="int" Nullable="false" />
  37. <Property Name="ServiceID" Type="int" Nullable="false" />
  38. <Property Name="StartTime" Type="datetime" Nullable="false" />
  39. <Property Name="Comment" Type="nvarchar(max)" />
  40. </EntityType>
  41. <EntityType Name="DocumentByService">
  42. <Key>
  43. <PropertyRef Name="ID" />
  44. </Key>
  45. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  46. <Property Name="ClientServiceID" Type="int" Nullable="false" />
  47. <Property Name="DocumentPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  48. </EntityType>
  49. <EntityType Name="Gender">
  50. <Key>
  51. <PropertyRef Name="Code" />
  52. </Key>
  53. <Property Name="Code" Type="nchar" MaxLength="1" Nullable="false" />
  54. <Property Name="Name" Type="nvarchar" MaxLength="10" />
  55. </EntityType>
  56. <EntityType Name="Manufacturer">
  57. <Key>
  58. <PropertyRef Name="ID" />
  59. </Key>
  60. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  61. <Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
  62. <Property Name="StartDate" Type="date" />
  63. </EntityType>
  64. <EntityType Name="Product">
  65. <Key>
  66. <PropertyRef Name="ID" />
  67. </Key>
  68. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  69. <Property Name="Title" Type="nvarchar" MaxLength="100" Nullable="false" />
  70. <Property Name="Cost" Type="money" Nullable="false" />
  71. <Property Name="Description" Type="nvarchar(max)" />
  72. <Property Name="MainImagePath" Type="nvarchar" MaxLength="1000" />
  73. <Property Name="IsActive" Type="bit" Nullable="false" />
  74. <Property Name="ManufacturerID" Type="int" />
  75. </EntityType>
  76. <EntityType Name="ProductPhoto">
  77. <Key>
  78. <PropertyRef Name="ID" />
  79. </Key>
  80. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  81. <Property Name="ProductID" Type="int" Nullable="false" />
  82. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  83. </EntityType>
  84. <EntityType Name="ProductSale">
  85. <Key>
  86. <PropertyRef Name="ID" />
  87. </Key>
  88. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  89. <Property Name="SaleDate" Type="datetime" Nullable="false" />
  90. <Property Name="ProductID" Type="int" Nullable="false" />
  91. <Property Name="Quantity" Type="int" Nullable="false" />
  92. <Property Name="ClientServiceID" Type="int" />
  93. </EntityType>
  94. <EntityType Name="Service">
  95. <Key>
  96. <PropertyRef Name="ID" />
  97. </Key>
  98. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  99. <Property Name="Title" Type="nvarchar" MaxLength="100" Nullable="false" />
  100. <Property Name="Cost" Type="money" Nullable="false" />
  101. <Property Name="DurationInSeconds" Type="int" Nullable="false" />
  102. <Property Name="Description" Type="nvarchar(max)" />
  103. <Property Name="Discount" Type="float" />
  104. <Property Name="MainImagePath" Type="nvarchar" MaxLength="1000" />
  105. </EntityType>
  106. <EntityType Name="ServicePhoto">
  107. <Key>
  108. <PropertyRef Name="ID" />
  109. </Key>
  110. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  111. <Property Name="ServiceID" Type="int" Nullable="false" />
  112. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  113. </EntityType>
  114. <EntityType Name="Tag">
  115. <Key>
  116. <PropertyRef Name="ID" />
  117. </Key>
  118. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  119. <Property Name="Title" Type="nvarchar" MaxLength="30" Nullable="false" />
  120. <Property Name="Color" Type="nchar" MaxLength="6" Nullable="false" />
  121. </EntityType>
  122. <EntityType Name="TagOfClient">
  123. <Key>
  124. <PropertyRef Name="ClientID" />
  125. <PropertyRef Name="TagID" />
  126. </Key>
  127. <Property Name="ClientID" Type="int" Nullable="false" />
  128. <Property Name="TagID" Type="int" Nullable="false" />
  129. </EntityType>
  130. <Association Name="FK_AttachedProduct_Product">
  131. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  132. <End Role="AttachedProduct" Type="Self.AttachedProduct" Multiplicity="*" />
  133. <ReferentialConstraint>
  134. <Principal Role="Product">
  135. <PropertyRef Name="ID" />
  136. </Principal>
  137. <Dependent Role="AttachedProduct">
  138. <PropertyRef Name="MainProductID" />
  139. </Dependent>
  140. </ReferentialConstraint>
  141. </Association>
  142. <Association Name="FK_AttachedProduct_Product1">
  143. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  144. <End Role="AttachedProduct" Type="Self.AttachedProduct" Multiplicity="*" />
  145. <ReferentialConstraint>
  146. <Principal Role="Product">
  147. <PropertyRef Name="ID" />
  148. </Principal>
  149. <Dependent Role="AttachedProduct">
  150. <PropertyRef Name="AttachedProductID" />
  151. </Dependent>
  152. </ReferentialConstraint>
  153. </Association>
  154. <Association Name="FK_Client_Gender">
  155. <End Role="Gender" Type="Self.Gender" Multiplicity="1" />
  156. <End Role="Client" Type="Self.Client" Multiplicity="*" />
  157. <ReferentialConstraint>
  158. <Principal Role="Gender">
  159. <PropertyRef Name="Code" />
  160. </Principal>
  161. <Dependent Role="Client">
  162. <PropertyRef Name="GenderCode" />
  163. </Dependent>
  164. </ReferentialConstraint>
  165. </Association>
  166. <Association Name="FK_ClientService_Client">
  167. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  168. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  169. <ReferentialConstraint>
  170. <Principal Role="Client">
  171. <PropertyRef Name="ID" />
  172. </Principal>
  173. <Dependent Role="ClientService">
  174. <PropertyRef Name="ClientID" />
  175. </Dependent>
  176. </ReferentialConstraint>
  177. </Association>
  178. <Association Name="FK_ClientService_Service">
  179. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  180. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  181. <ReferentialConstraint>
  182. <Principal Role="Service">
  183. <PropertyRef Name="ID" />
  184. </Principal>
  185. <Dependent Role="ClientService">
  186. <PropertyRef Name="ServiceID" />
  187. </Dependent>
  188. </ReferentialConstraint>
  189. </Association>
  190. <Association Name="FK_DocumentByService_ClientService">
  191. <End Role="ClientService" Type="Self.ClientService" Multiplicity="1" />
  192. <End Role="DocumentByService" Type="Self.DocumentByService" Multiplicity="*" />
  193. <ReferentialConstraint>
  194. <Principal Role="ClientService">
  195. <PropertyRef Name="ID" />
  196. </Principal>
  197. <Dependent Role="DocumentByService">
  198. <PropertyRef Name="ClientServiceID" />
  199. </Dependent>
  200. </ReferentialConstraint>
  201. </Association>
  202. <Association Name="FK_Product_Manufacturer">
  203. <End Role="Manufacturer" Type="Self.Manufacturer" Multiplicity="0..1" />
  204. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  205. <ReferentialConstraint>
  206. <Principal Role="Manufacturer">
  207. <PropertyRef Name="ID" />
  208. </Principal>
  209. <Dependent Role="Product">
  210. <PropertyRef Name="ManufacturerID" />
  211. </Dependent>
  212. </ReferentialConstraint>
  213. </Association>
  214. <Association Name="FK_ProductPhoto_Product">
  215. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  216. <End Role="ProductPhoto" Type="Self.ProductPhoto" Multiplicity="*" />
  217. <ReferentialConstraint>
  218. <Principal Role="Product">
  219. <PropertyRef Name="ID" />
  220. </Principal>
  221. <Dependent Role="ProductPhoto">
  222. <PropertyRef Name="ProductID" />
  223. </Dependent>
  224. </ReferentialConstraint>
  225. </Association>
  226. <Association Name="FK_ProductSale_ClientService">
  227. <End Role="ClientService" Type="Self.ClientService" Multiplicity="0..1" />
  228. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  229. <ReferentialConstraint>
  230. <Principal Role="ClientService">
  231. <PropertyRef Name="ID" />
  232. </Principal>
  233. <Dependent Role="ProductSale">
  234. <PropertyRef Name="ClientServiceID" />
  235. </Dependent>
  236. </ReferentialConstraint>
  237. </Association>
  238. <Association Name="FK_ProductSale_Product">
  239. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  240. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  241. <ReferentialConstraint>
  242. <Principal Role="Product">
  243. <PropertyRef Name="ID" />
  244. </Principal>
  245. <Dependent Role="ProductSale">
  246. <PropertyRef Name="ProductID" />
  247. </Dependent>
  248. </ReferentialConstraint>
  249. </Association>
  250. <Association Name="FK_ServicePhoto_Service">
  251. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  252. <End Role="ServicePhoto" Type="Self.ServicePhoto" Multiplicity="*" />
  253. <ReferentialConstraint>
  254. <Principal Role="Service">
  255. <PropertyRef Name="ID" />
  256. </Principal>
  257. <Dependent Role="ServicePhoto">
  258. <PropertyRef Name="ServiceID" />
  259. </Dependent>
  260. </ReferentialConstraint>
  261. </Association>
  262. <Association Name="FK_TagOfClient_Client">
  263. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  264. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  265. <ReferentialConstraint>
  266. <Principal Role="Client">
  267. <PropertyRef Name="ID" />
  268. </Principal>
  269. <Dependent Role="TagOfClient">
  270. <PropertyRef Name="ClientID" />
  271. </Dependent>
  272. </ReferentialConstraint>
  273. </Association>
  274. <Association Name="FK_TagOfClient_Tag">
  275. <End Role="Tag" Type="Self.Tag" Multiplicity="1" />
  276. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  277. <ReferentialConstraint>
  278. <Principal Role="Tag">
  279. <PropertyRef Name="ID" />
  280. </Principal>
  281. <Dependent Role="TagOfClient">
  282. <PropertyRef Name="TagID" />
  283. </Dependent>
  284. </ReferentialConstraint>
  285. </Association>
  286. <EntityContainer Name="Хранилище Test02ModelContainer">
  287. <EntitySet Name="AttachedProduct" EntityType="Self.AttachedProduct" Schema="dbo" store:Type="Tables" />
  288. <EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
  289. <EntitySet Name="ClientService" EntityType="Self.ClientService" Schema="dbo" store:Type="Tables" />
  290. <EntitySet Name="DocumentByService" EntityType="Self.DocumentByService" Schema="dbo" store:Type="Tables" />
  291. <EntitySet Name="Gender" EntityType="Self.Gender" Schema="dbo" store:Type="Tables" />
  292. <EntitySet Name="Manufacturer" EntityType="Self.Manufacturer" Schema="dbo" store:Type="Tables" />
  293. <EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
  294. <EntitySet Name="ProductPhoto" EntityType="Self.ProductPhoto" Schema="dbo" store:Type="Tables" />
  295. <EntitySet Name="ProductSale" EntityType="Self.ProductSale" Schema="dbo" store:Type="Tables" />
  296. <EntitySet Name="Service" EntityType="Self.Service" Schema="dbo" store:Type="Tables" />
  297. <EntitySet Name="ServicePhoto" EntityType="Self.ServicePhoto" Schema="dbo" store:Type="Tables" />
  298. <EntitySet Name="Tag" EntityType="Self.Tag" Schema="dbo" store:Type="Tables" />
  299. <EntitySet Name="TagOfClient" EntityType="Self.TagOfClient" Schema="dbo" store:Type="Tables" />
  300. <AssociationSet Name="FK_AttachedProduct_Product" Association="Self.FK_AttachedProduct_Product">
  301. <End Role="Product" EntitySet="Product" />
  302. <End Role="AttachedProduct" EntitySet="AttachedProduct" />
  303. </AssociationSet>
  304. <AssociationSet Name="FK_AttachedProduct_Product1" Association="Self.FK_AttachedProduct_Product1">
  305. <End Role="Product" EntitySet="Product" />
  306. <End Role="AttachedProduct" EntitySet="AttachedProduct" />
  307. </AssociationSet>
  308. <AssociationSet Name="FK_Client_Gender" Association="Self.FK_Client_Gender">
  309. <End Role="Gender" EntitySet="Gender" />
  310. <End Role="Client" EntitySet="Client" />
  311. </AssociationSet>
  312. <AssociationSet Name="FK_ClientService_Client" Association="Self.FK_ClientService_Client">
  313. <End Role="Client" EntitySet="Client" />
  314. <End Role="ClientService" EntitySet="ClientService" />
  315. </AssociationSet>
  316. <AssociationSet Name="FK_ClientService_Service" Association="Self.FK_ClientService_Service">
  317. <End Role="Service" EntitySet="Service" />
  318. <End Role="ClientService" EntitySet="ClientService" />
  319. </AssociationSet>
  320. <AssociationSet Name="FK_DocumentByService_ClientService" Association="Self.FK_DocumentByService_ClientService">
  321. <End Role="ClientService" EntitySet="ClientService" />
  322. <End Role="DocumentByService" EntitySet="DocumentByService" />
  323. </AssociationSet>
  324. <AssociationSet Name="FK_Product_Manufacturer" Association="Self.FK_Product_Manufacturer">
  325. <End Role="Manufacturer" EntitySet="Manufacturer" />
  326. <End Role="Product" EntitySet="Product" />
  327. </AssociationSet>
  328. <AssociationSet Name="FK_ProductPhoto_Product" Association="Self.FK_ProductPhoto_Product">
  329. <End Role="Product" EntitySet="Product" />
  330. <End Role="ProductPhoto" EntitySet="ProductPhoto" />
  331. </AssociationSet>
  332. <AssociationSet Name="FK_ProductSale_ClientService" Association="Self.FK_ProductSale_ClientService">
  333. <End Role="ClientService" EntitySet="ClientService" />
  334. <End Role="ProductSale" EntitySet="ProductSale" />
  335. </AssociationSet>
  336. <AssociationSet Name="FK_ProductSale_Product" Association="Self.FK_ProductSale_Product">
  337. <End Role="Product" EntitySet="Product" />
  338. <End Role="ProductSale" EntitySet="ProductSale" />
  339. </AssociationSet>
  340. <AssociationSet Name="FK_ServicePhoto_Service" Association="Self.FK_ServicePhoto_Service">
  341. <End Role="Service" EntitySet="Service" />
  342. <End Role="ServicePhoto" EntitySet="ServicePhoto" />
  343. </AssociationSet>
  344. <AssociationSet Name="FK_TagOfClient_Client" Association="Self.FK_TagOfClient_Client">
  345. <End Role="Client" EntitySet="Client" />
  346. <End Role="TagOfClient" EntitySet="TagOfClient" />
  347. </AssociationSet>
  348. <AssociationSet Name="FK_TagOfClient_Tag" Association="Self.FK_TagOfClient_Tag">
  349. <End Role="Tag" EntitySet="Tag" />
  350. <End Role="TagOfClient" EntitySet="TagOfClient" />
  351. </AssociationSet>
  352. </EntityContainer>
  353. </Schema>
  354. </edmx:StorageModels>
  355. <!-- CSDL content -->
  356. <edmx:ConceptualModels>
  357. <Schema Namespace="Test02Model" 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">
  358. <EntityType Name="Client">
  359. <Key>
  360. <PropertyRef Name="ID" />
  361. </Key>
  362. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  363. <Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  364. <Property Name="LastName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  365. <Property Name="Patronymic" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  366. <Property Name="Birthday" Type="DateTime" Precision="0" />
  367. <Property Name="RegistrationDate" Type="DateTime" Nullable="false" Precision="3" />
  368. <Property Name="Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  369. <Property Name="Phone" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" />
  370. <Property Name="GenderCode" Type="String" MaxLength="1" FixedLength="true" Unicode="true" Nullable="false" />
  371. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  372. <NavigationProperty Name="Gender" Relationship="Self.FK_Client_Gender" FromRole="Client" ToRole="Gender" />
  373. <NavigationProperty Name="ClientService" Relationship="Self.FK_ClientService_Client" FromRole="Client" ToRole="ClientService" />
  374. <NavigationProperty Name="Tag" Relationship="Self.TagOfClient" FromRole="Client" ToRole="Tag" />
  375. </EntityType>
  376. <EntityType Name="ClientService">
  377. <Key>
  378. <PropertyRef Name="ID" />
  379. </Key>
  380. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  381. <Property Name="ClientID" Type="Int32" Nullable="false" />
  382. <Property Name="ServiceID" Type="Int32" Nullable="false" />
  383. <Property Name="StartTime" Type="DateTime" Nullable="false" Precision="3" />
  384. <Property Name="Comment" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  385. <NavigationProperty Name="Client" Relationship="Self.FK_ClientService_Client" FromRole="ClientService" ToRole="Client" />
  386. <NavigationProperty Name="Service" Relationship="Self.FK_ClientService_Service" FromRole="ClientService" ToRole="Service" />
  387. <NavigationProperty Name="DocumentByService" Relationship="Self.FK_DocumentByService_ClientService" FromRole="ClientService" ToRole="DocumentByService" />
  388. <NavigationProperty Name="ProductSale" Relationship="Self.FK_ProductSale_ClientService" FromRole="ClientService" ToRole="ProductSale" />
  389. </EntityType>
  390. <EntityType Name="DocumentByService">
  391. <Key>
  392. <PropertyRef Name="ID" />
  393. </Key>
  394. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  395. <Property Name="ClientServiceID" Type="Int32" Nullable="false" />
  396. <Property Name="DocumentPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  397. <NavigationProperty Name="ClientService" Relationship="Self.FK_DocumentByService_ClientService" FromRole="DocumentByService" ToRole="ClientService" />
  398. </EntityType>
  399. <EntityType Name="Gender">
  400. <Key>
  401. <PropertyRef Name="Code" />
  402. </Key>
  403. <Property Name="Code" Type="String" MaxLength="1" FixedLength="true" Unicode="true" Nullable="false" />
  404. <Property Name="Name" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  405. <NavigationProperty Name="Client" Relationship="Self.FK_Client_Gender" FromRole="Gender" ToRole="Client" />
  406. </EntityType>
  407. <EntityType Name="Manufacturer">
  408. <Key>
  409. <PropertyRef Name="ID" />
  410. </Key>
  411. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  412. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  413. <Property Name="StartDate" Type="DateTime" Precision="0" />
  414. <NavigationProperty Name="Product" Relationship="Self.FK_Product_Manufacturer" FromRole="Manufacturer" ToRole="Product" />
  415. </EntityType>
  416. <EntityType Name="Product">
  417. <Key>
  418. <PropertyRef Name="ID" />
  419. </Key>
  420. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  421. <Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  422. <Property Name="Cost" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
  423. <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  424. <Property Name="MainImagePath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  425. <Property Name="IsActive" Type="Boolean" Nullable="false" />
  426. <Property Name="ManufacturerID" Type="Int32" />
  427. <NavigationProperty Name="Manufacturer" Relationship="Self.FK_Product_Manufacturer" FromRole="Product" ToRole="Manufacturer" />
  428. <NavigationProperty Name="ProductPhoto" Relationship="Self.FK_ProductPhoto_Product" FromRole="Product" ToRole="ProductPhoto" />
  429. <NavigationProperty Name="ProductSale" Relationship="Self.FK_ProductSale_Product" FromRole="Product" ToRole="ProductSale" />
  430. <NavigationProperty Name="Product1" Relationship="Self.AttachedProduct" FromRole="Product" ToRole="Product1" />
  431. <NavigationProperty Name="Product2" Relationship="Self.AttachedProduct" FromRole="Product1" ToRole="Product" />
  432. </EntityType>
  433. <EntityType Name="ProductPhoto">
  434. <Key>
  435. <PropertyRef Name="ID" />
  436. </Key>
  437. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  438. <Property Name="ProductID" Type="Int32" Nullable="false" />
  439. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  440. <NavigationProperty Name="Product" Relationship="Self.FK_ProductPhoto_Product" FromRole="ProductPhoto" ToRole="Product" />
  441. </EntityType>
  442. <EntityType Name="ProductSale">
  443. <Key>
  444. <PropertyRef Name="ID" />
  445. </Key>
  446. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  447. <Property Name="SaleDate" Type="DateTime" Nullable="false" Precision="3" />
  448. <Property Name="ProductID" Type="Int32" Nullable="false" />
  449. <Property Name="Quantity" Type="Int32" Nullable="false" />
  450. <Property Name="ClientServiceID" Type="Int32" />
  451. <NavigationProperty Name="ClientService" Relationship="Self.FK_ProductSale_ClientService" FromRole="ProductSale" ToRole="ClientService" />
  452. <NavigationProperty Name="Product" Relationship="Self.FK_ProductSale_Product" FromRole="ProductSale" ToRole="Product" />
  453. </EntityType>
  454. <EntityType Name="Service">
  455. <Key>
  456. <PropertyRef Name="ID" />
  457. </Key>
  458. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  459. <Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  460. <Property Name="Cost" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
  461. <Property Name="DurationInSeconds" Type="Int32" Nullable="false" />
  462. <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  463. <Property Name="Discount" Type="Double" />
  464. <Property Name="MainImagePath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  465. <NavigationProperty Name="ClientService" Relationship="Self.FK_ClientService_Service" FromRole="Service" ToRole="ClientService" />
  466. <NavigationProperty Name="ServicePhoto" Relationship="Self.FK_ServicePhoto_Service" FromRole="Service" ToRole="ServicePhoto" />
  467. </EntityType>
  468. <EntityType Name="ServicePhoto">
  469. <Key>
  470. <PropertyRef Name="ID" />
  471. </Key>
  472. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  473. <Property Name="ServiceID" Type="Int32" Nullable="false" />
  474. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  475. <NavigationProperty Name="Service" Relationship="Self.FK_ServicePhoto_Service" FromRole="ServicePhoto" ToRole="Service" />
  476. </EntityType>
  477. <EntityType Name="Tag">
  478. <Key>
  479. <PropertyRef Name="ID" />
  480. </Key>
  481. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  482. <Property Name="Title" Type="String" MaxLength="30" FixedLength="false" Unicode="true" Nullable="false" />
  483. <Property Name="Color" Type="String" MaxLength="6" FixedLength="true" Unicode="true" Nullable="false" />
  484. <NavigationProperty Name="Client" Relationship="Self.TagOfClient" FromRole="Tag" ToRole="Client" />
  485. </EntityType>
  486. <Association Name="FK_Client_Gender">
  487. <End Role="Gender" Type="Self.Gender" Multiplicity="1" />
  488. <End Role="Client" Type="Self.Client" Multiplicity="*" />
  489. <ReferentialConstraint>
  490. <Principal Role="Gender">
  491. <PropertyRef Name="Code" />
  492. </Principal>
  493. <Dependent Role="Client">
  494. <PropertyRef Name="GenderCode" />
  495. </Dependent>
  496. </ReferentialConstraint>
  497. </Association>
  498. <Association Name="FK_ClientService_Client">
  499. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  500. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  501. <ReferentialConstraint>
  502. <Principal Role="Client">
  503. <PropertyRef Name="ID" />
  504. </Principal>
  505. <Dependent Role="ClientService">
  506. <PropertyRef Name="ClientID" />
  507. </Dependent>
  508. </ReferentialConstraint>
  509. </Association>
  510. <Association Name="FK_ClientService_Service">
  511. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  512. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  513. <ReferentialConstraint>
  514. <Principal Role="Service">
  515. <PropertyRef Name="ID" />
  516. </Principal>
  517. <Dependent Role="ClientService">
  518. <PropertyRef Name="ServiceID" />
  519. </Dependent>
  520. </ReferentialConstraint>
  521. </Association>
  522. <Association Name="FK_DocumentByService_ClientService">
  523. <End Role="ClientService" Type="Self.ClientService" Multiplicity="1" />
  524. <End Role="DocumentByService" Type="Self.DocumentByService" Multiplicity="*" />
  525. <ReferentialConstraint>
  526. <Principal Role="ClientService">
  527. <PropertyRef Name="ID" />
  528. </Principal>
  529. <Dependent Role="DocumentByService">
  530. <PropertyRef Name="ClientServiceID" />
  531. </Dependent>
  532. </ReferentialConstraint>
  533. </Association>
  534. <Association Name="FK_ProductSale_ClientService">
  535. <End Role="ClientService" Type="Self.ClientService" Multiplicity="0..1" />
  536. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  537. <ReferentialConstraint>
  538. <Principal Role="ClientService">
  539. <PropertyRef Name="ID" />
  540. </Principal>
  541. <Dependent Role="ProductSale">
  542. <PropertyRef Name="ClientServiceID" />
  543. </Dependent>
  544. </ReferentialConstraint>
  545. </Association>
  546. <Association Name="FK_Product_Manufacturer">
  547. <End Role="Manufacturer" Type="Self.Manufacturer" Multiplicity="0..1" />
  548. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  549. <ReferentialConstraint>
  550. <Principal Role="Manufacturer">
  551. <PropertyRef Name="ID" />
  552. </Principal>
  553. <Dependent Role="Product">
  554. <PropertyRef Name="ManufacturerID" />
  555. </Dependent>
  556. </ReferentialConstraint>
  557. </Association>
  558. <Association Name="FK_ProductPhoto_Product">
  559. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  560. <End Role="ProductPhoto" Type="Self.ProductPhoto" Multiplicity="*" />
  561. <ReferentialConstraint>
  562. <Principal Role="Product">
  563. <PropertyRef Name="ID" />
  564. </Principal>
  565. <Dependent Role="ProductPhoto">
  566. <PropertyRef Name="ProductID" />
  567. </Dependent>
  568. </ReferentialConstraint>
  569. </Association>
  570. <Association Name="FK_ProductSale_Product">
  571. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  572. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  573. <ReferentialConstraint>
  574. <Principal Role="Product">
  575. <PropertyRef Name="ID" />
  576. </Principal>
  577. <Dependent Role="ProductSale">
  578. <PropertyRef Name="ProductID" />
  579. </Dependent>
  580. </ReferentialConstraint>
  581. </Association>
  582. <Association Name="FK_ServicePhoto_Service">
  583. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  584. <End Role="ServicePhoto" Type="Self.ServicePhoto" Multiplicity="*" />
  585. <ReferentialConstraint>
  586. <Principal Role="Service">
  587. <PropertyRef Name="ID" />
  588. </Principal>
  589. <Dependent Role="ServicePhoto">
  590. <PropertyRef Name="ServiceID" />
  591. </Dependent>
  592. </ReferentialConstraint>
  593. </Association>
  594. <Association Name="AttachedProduct">
  595. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  596. <End Role="Product1" Type="Self.Product" Multiplicity="*" />
  597. </Association>
  598. <Association Name="TagOfClient">
  599. <End Role="Client" Type="Self.Client" Multiplicity="*" />
  600. <End Role="Tag" Type="Self.Tag" Multiplicity="*" />
  601. </Association>
  602. <EntityContainer Name="Test02Entities" annotation:LazyLoadingEnabled="true">
  603. <EntitySet Name="Client" EntityType="Self.Client" />
  604. <EntitySet Name="ClientService" EntityType="Self.ClientService" />
  605. <EntitySet Name="DocumentByService" EntityType="Self.DocumentByService" />
  606. <EntitySet Name="Gender" EntityType="Self.Gender" />
  607. <EntitySet Name="Manufacturer" EntityType="Self.Manufacturer" />
  608. <EntitySet Name="Product" EntityType="Self.Product" />
  609. <EntitySet Name="ProductPhoto" EntityType="Self.ProductPhoto" />
  610. <EntitySet Name="ProductSale" EntityType="Self.ProductSale" />
  611. <EntitySet Name="Service" EntityType="Self.Service" />
  612. <EntitySet Name="ServicePhoto" EntityType="Self.ServicePhoto" />
  613. <EntitySet Name="Tag" EntityType="Self.Tag" />
  614. <AssociationSet Name="FK_Client_Gender" Association="Self.FK_Client_Gender">
  615. <End Role="Gender" EntitySet="Gender" />
  616. <End Role="Client" EntitySet="Client" />
  617. </AssociationSet>
  618. <AssociationSet Name="FK_ClientService_Client" Association="Self.FK_ClientService_Client">
  619. <End Role="Client" EntitySet="Client" />
  620. <End Role="ClientService" EntitySet="ClientService" />
  621. </AssociationSet>
  622. <AssociationSet Name="FK_ClientService_Service" Association="Self.FK_ClientService_Service">
  623. <End Role="Service" EntitySet="Service" />
  624. <End Role="ClientService" EntitySet="ClientService" />
  625. </AssociationSet>
  626. <AssociationSet Name="FK_DocumentByService_ClientService" Association="Self.FK_DocumentByService_ClientService">
  627. <End Role="ClientService" EntitySet="ClientService" />
  628. <End Role="DocumentByService" EntitySet="DocumentByService" />
  629. </AssociationSet>
  630. <AssociationSet Name="FK_ProductSale_ClientService" Association="Self.FK_ProductSale_ClientService">
  631. <End Role="ClientService" EntitySet="ClientService" />
  632. <End Role="ProductSale" EntitySet="ProductSale" />
  633. </AssociationSet>
  634. <AssociationSet Name="FK_Product_Manufacturer" Association="Self.FK_Product_Manufacturer">
  635. <End Role="Manufacturer" EntitySet="Manufacturer" />
  636. <End Role="Product" EntitySet="Product" />
  637. </AssociationSet>
  638. <AssociationSet Name="FK_ProductPhoto_Product" Association="Self.FK_ProductPhoto_Product">
  639. <End Role="Product" EntitySet="Product" />
  640. <End Role="ProductPhoto" EntitySet="ProductPhoto" />
  641. </AssociationSet>
  642. <AssociationSet Name="FK_ProductSale_Product" Association="Self.FK_ProductSale_Product">
  643. <End Role="Product" EntitySet="Product" />
  644. <End Role="ProductSale" EntitySet="ProductSale" />
  645. </AssociationSet>
  646. <AssociationSet Name="FK_ServicePhoto_Service" Association="Self.FK_ServicePhoto_Service">
  647. <End Role="Service" EntitySet="Service" />
  648. <End Role="ServicePhoto" EntitySet="ServicePhoto" />
  649. </AssociationSet>
  650. <AssociationSet Name="AttachedProduct" Association="Self.AttachedProduct">
  651. <End Role="Product" EntitySet="Product" />
  652. <End Role="Product1" EntitySet="Product" />
  653. </AssociationSet>
  654. <AssociationSet Name="TagOfClient" Association="Self.TagOfClient">
  655. <End Role="Client" EntitySet="Client" />
  656. <End Role="Tag" EntitySet="Tag" />
  657. </AssociationSet>
  658. </EntityContainer>
  659. </Schema>
  660. </edmx:ConceptualModels>
  661. <!-- C-S mapping content -->
  662. <edmx:Mappings>
  663. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  664. <EntityContainerMapping StorageEntityContainer="Хранилище Test02ModelContainer" CdmEntityContainer="Test02Entities">
  665. <EntitySetMapping Name="Client">
  666. <EntityTypeMapping TypeName="Test02Model.Client">
  667. <MappingFragment StoreEntitySet="Client">
  668. <ScalarProperty Name="ID" ColumnName="ID" />
  669. <ScalarProperty Name="FirstName" ColumnName="FirstName" />
  670. <ScalarProperty Name="LastName" ColumnName="LastName" />
  671. <ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
  672. <ScalarProperty Name="Birthday" ColumnName="Birthday" />
  673. <ScalarProperty Name="RegistrationDate" ColumnName="RegistrationDate" />
  674. <ScalarProperty Name="Email" ColumnName="Email" />
  675. <ScalarProperty Name="Phone" ColumnName="Phone" />
  676. <ScalarProperty Name="GenderCode" ColumnName="GenderCode" />
  677. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  678. </MappingFragment>
  679. </EntityTypeMapping>
  680. </EntitySetMapping>
  681. <EntitySetMapping Name="ClientService">
  682. <EntityTypeMapping TypeName="Test02Model.ClientService">
  683. <MappingFragment StoreEntitySet="ClientService">
  684. <ScalarProperty Name="ID" ColumnName="ID" />
  685. <ScalarProperty Name="ClientID" ColumnName="ClientID" />
  686. <ScalarProperty Name="ServiceID" ColumnName="ServiceID" />
  687. <ScalarProperty Name="StartTime" ColumnName="StartTime" />
  688. <ScalarProperty Name="Comment" ColumnName="Comment" />
  689. </MappingFragment>
  690. </EntityTypeMapping>
  691. </EntitySetMapping>
  692. <EntitySetMapping Name="DocumentByService">
  693. <EntityTypeMapping TypeName="Test02Model.DocumentByService">
  694. <MappingFragment StoreEntitySet="DocumentByService">
  695. <ScalarProperty Name="ID" ColumnName="ID" />
  696. <ScalarProperty Name="ClientServiceID" ColumnName="ClientServiceID" />
  697. <ScalarProperty Name="DocumentPath" ColumnName="DocumentPath" />
  698. </MappingFragment>
  699. </EntityTypeMapping>
  700. </EntitySetMapping>
  701. <EntitySetMapping Name="Gender">
  702. <EntityTypeMapping TypeName="Test02Model.Gender">
  703. <MappingFragment StoreEntitySet="Gender">
  704. <ScalarProperty Name="Code" ColumnName="Code" />
  705. <ScalarProperty Name="Name" ColumnName="Name" />
  706. </MappingFragment>
  707. </EntityTypeMapping>
  708. </EntitySetMapping>
  709. <EntitySetMapping Name="Manufacturer">
  710. <EntityTypeMapping TypeName="Test02Model.Manufacturer">
  711. <MappingFragment StoreEntitySet="Manufacturer">
  712. <ScalarProperty Name="ID" ColumnName="ID" />
  713. <ScalarProperty Name="Name" ColumnName="Name" />
  714. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  715. </MappingFragment>
  716. </EntityTypeMapping>
  717. </EntitySetMapping>
  718. <EntitySetMapping Name="Product">
  719. <EntityTypeMapping TypeName="Test02Model.Product">
  720. <MappingFragment StoreEntitySet="Product">
  721. <ScalarProperty Name="ID" ColumnName="ID" />
  722. <ScalarProperty Name="Title" ColumnName="Title" />
  723. <ScalarProperty Name="Cost" ColumnName="Cost" />
  724. <ScalarProperty Name="Description" ColumnName="Description" />
  725. <ScalarProperty Name="MainImagePath" ColumnName="MainImagePath" />
  726. <ScalarProperty Name="IsActive" ColumnName="IsActive" />
  727. <ScalarProperty Name="ManufacturerID" ColumnName="ManufacturerID" />
  728. </MappingFragment>
  729. </EntityTypeMapping>
  730. </EntitySetMapping>
  731. <EntitySetMapping Name="ProductPhoto">
  732. <EntityTypeMapping TypeName="Test02Model.ProductPhoto">
  733. <MappingFragment StoreEntitySet="ProductPhoto">
  734. <ScalarProperty Name="ID" ColumnName="ID" />
  735. <ScalarProperty Name="ProductID" ColumnName="ProductID" />
  736. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  737. </MappingFragment>
  738. </EntityTypeMapping>
  739. </EntitySetMapping>
  740. <EntitySetMapping Name="ProductSale">
  741. <EntityTypeMapping TypeName="Test02Model.ProductSale">
  742. <MappingFragment StoreEntitySet="ProductSale">
  743. <ScalarProperty Name="ID" ColumnName="ID" />
  744. <ScalarProperty Name="SaleDate" ColumnName="SaleDate" />
  745. <ScalarProperty Name="ProductID" ColumnName="ProductID" />
  746. <ScalarProperty Name="Quantity" ColumnName="Quantity" />
  747. <ScalarProperty Name="ClientServiceID" ColumnName="ClientServiceID" />
  748. </MappingFragment>
  749. </EntityTypeMapping>
  750. </EntitySetMapping>
  751. <EntitySetMapping Name="Service">
  752. <EntityTypeMapping TypeName="Test02Model.Service">
  753. <MappingFragment StoreEntitySet="Service">
  754. <ScalarProperty Name="ID" ColumnName="ID" />
  755. <ScalarProperty Name="Title" ColumnName="Title" />
  756. <ScalarProperty Name="Cost" ColumnName="Cost" />
  757. <ScalarProperty Name="DurationInSeconds" ColumnName="DurationInSeconds" />
  758. <ScalarProperty Name="Description" ColumnName="Description" />
  759. <ScalarProperty Name="Discount" ColumnName="Discount" />
  760. <ScalarProperty Name="MainImagePath" ColumnName="MainImagePath" />
  761. </MappingFragment>
  762. </EntityTypeMapping>
  763. </EntitySetMapping>
  764. <EntitySetMapping Name="ServicePhoto">
  765. <EntityTypeMapping TypeName="Test02Model.ServicePhoto">
  766. <MappingFragment StoreEntitySet="ServicePhoto">
  767. <ScalarProperty Name="ID" ColumnName="ID" />
  768. <ScalarProperty Name="ServiceID" ColumnName="ServiceID" />
  769. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  770. </MappingFragment>
  771. </EntityTypeMapping>
  772. </EntitySetMapping>
  773. <EntitySetMapping Name="Tag">
  774. <EntityTypeMapping TypeName="Test02Model.Tag">
  775. <MappingFragment StoreEntitySet="Tag">
  776. <ScalarProperty Name="ID" ColumnName="ID" />
  777. <ScalarProperty Name="Title" ColumnName="Title" />
  778. <ScalarProperty Name="Color" ColumnName="Color" />
  779. </MappingFragment>
  780. </EntityTypeMapping>
  781. </EntitySetMapping>
  782. <AssociationSetMapping Name="AttachedProduct" TypeName="Test02Model.AttachedProduct" StoreEntitySet="AttachedProduct">
  783. <EndProperty Name="Product">
  784. <ScalarProperty Name="ID" ColumnName="MainProductID" />
  785. </EndProperty>
  786. <EndProperty Name="Product1">
  787. <ScalarProperty Name="ID" ColumnName="AttachedProductID" />
  788. </EndProperty>
  789. </AssociationSetMapping>
  790. <AssociationSetMapping Name="TagOfClient" TypeName="Test02Model.TagOfClient" StoreEntitySet="TagOfClient">
  791. <EndProperty Name="Client">
  792. <ScalarProperty Name="ID" ColumnName="ClientID" />
  793. </EndProperty>
  794. <EndProperty Name="Tag">
  795. <ScalarProperty Name="ID" ColumnName="TagID" />
  796. </EndProperty>
  797. </AssociationSetMapping>
  798. </EntityContainerMapping>
  799. </Mapping>
  800. </edmx:Mappings>
  801. </edmx:Runtime>
  802. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  803. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  804. <Connection>
  805. <DesignerInfoPropertySet>
  806. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  807. </DesignerInfoPropertySet>
  808. </Connection>
  809. <Options>
  810. <DesignerInfoPropertySet>
  811. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  812. <DesignerProperty Name="EnablePluralization" Value="false" />
  813. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  814. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  815. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  816. </DesignerInfoPropertySet>
  817. </Options>
  818. <!-- Diagram content (shape and connector positions) -->
  819. <Diagrams></Diagrams>
  820. </Designer>
  821. </edmx:Edmx>