Model1.edmx 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150
  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="Хранилище BB_RomanovskayaModel" Provider="System.Data.SqlClient" ProviderManifestToken="2008" 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. <!--Ошибки, обнаруженные при создании:
  9. предупреждение 6002: В таблице или представлении "BB_Romanovskaya.dbo.Admin" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  10. <EntityType Name="Admin">
  11. <Key>
  12. <PropertyRef Name="ID_administrator" />
  13. </Key>
  14. <Property Name="ID_administrator" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  15. <Property Name="Login" Type="nvarchar" MaxLength="50" />
  16. <Property Name="Password" Type="nvarchar" MaxLength="50" />
  17. </EntityType>
  18. <EntityType Name="AttachedProduct">
  19. <Key>
  20. <PropertyRef Name="MainProductID" />
  21. <PropertyRef Name="AttachedProductID" />
  22. </Key>
  23. <Property Name="MainProductID" Type="int" Nullable="false" />
  24. <Property Name="AttachedProductID" Type="int" Nullable="false" />
  25. </EntityType>
  26. <EntityType Name="Client">
  27. <Key>
  28. <PropertyRef Name="ID" />
  29. </Key>
  30. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  31. <Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
  32. <Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
  33. <Property Name="Patronymic" Type="nvarchar" MaxLength="50" />
  34. <Property Name="Birthday" Type="date" />
  35. <Property Name="RegistrationDate" Type="datetime" Nullable="false" />
  36. <Property Name="Email" Type="nvarchar" MaxLength="255" />
  37. <Property Name="Phone" Type="nvarchar" MaxLength="20" Nullable="false" />
  38. <Property Name="GenderCode" Type="nchar" MaxLength="1" Nullable="false" />
  39. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" />
  40. </EntityType>
  41. <EntityType Name="client2">
  42. <Key>
  43. <PropertyRef Name="Id_client" />
  44. </Key>
  45. <Property Name="Фамилия" Type="nvarchar" MaxLength="50" Nullable="false" />
  46. <Property Name="Имя" Type="nvarchar" MaxLength="50" Nullable="false" />
  47. <Property Name="Отчество" Type="nvarchar" MaxLength="50" Nullable="false" />
  48. <Property Name="Пол" Type="nvarchar" MaxLength="50" Nullable="false" />
  49. <Property Name="Телефон" Type="nvarchar" MaxLength="50" Nullable="false" />
  50. <Property Name="Дата_рождения" Type="datetime2" Precision="7" Nullable="false" />
  51. <Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
  52. <Property Name="Дата_регистрации" Type="datetime2" Precision="7" Nullable="false" />
  53. <Property Name="Id_client" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  54. </EntityType>
  55. <EntityType Name="ClientService">
  56. <Key>
  57. <PropertyRef Name="ID" />
  58. </Key>
  59. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  60. <Property Name="ClientID" Type="int" Nullable="false" />
  61. <Property Name="ServiceID" Type="int" Nullable="false" />
  62. <Property Name="StartTime" Type="datetime" Nullable="false" />
  63. <Property Name="Comment" Type="nvarchar(max)" />
  64. </EntityType>
  65. <EntityType Name="DocumentByService">
  66. <Key>
  67. <PropertyRef Name="ID" />
  68. </Key>
  69. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  70. <Property Name="ClientServiceID" Type="int" Nullable="false" />
  71. <Property Name="DocumentPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  72. </EntityType>
  73. <EntityType Name="Gender">
  74. <Key>
  75. <PropertyRef Name="Code" />
  76. </Key>
  77. <Property Name="Code" Type="nchar" MaxLength="1" Nullable="false" />
  78. <Property Name="Name" Type="nvarchar" MaxLength="10" />
  79. </EntityType>
  80. <EntityType Name="Manufacturer">
  81. <Key>
  82. <PropertyRef Name="ID" />
  83. </Key>
  84. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  85. <Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
  86. <Property Name="StartDate" Type="date" />
  87. </EntityType>
  88. <EntityType Name="Product">
  89. <Key>
  90. <PropertyRef Name="ID" />
  91. </Key>
  92. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  93. <Property Name="Title" Type="nvarchar" MaxLength="100" Nullable="false" />
  94. <Property Name="Cost" Type="money" Nullable="false" />
  95. <Property Name="Description" Type="nvarchar(max)" />
  96. <Property Name="MainImagePath" Type="nvarchar" MaxLength="1000" />
  97. <Property Name="IsActive" Type="bit" Nullable="false" />
  98. <Property Name="ManufacturerID" Type="int" />
  99. </EntityType>
  100. <EntityType Name="ProductPhoto">
  101. <Key>
  102. <PropertyRef Name="ID" />
  103. </Key>
  104. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  105. <Property Name="ProductID" Type="int" Nullable="false" />
  106. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  107. </EntityType>
  108. <EntityType Name="ProductSale">
  109. <Key>
  110. <PropertyRef Name="ID" />
  111. </Key>
  112. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  113. <Property Name="SaleDate" Type="datetime" Nullable="false" />
  114. <Property Name="ProductID" Type="int" Nullable="false" />
  115. <Property Name="Quantity" Type="int" Nullable="false" />
  116. <Property Name="ClientServiceID" Type="int" />
  117. </EntityType>
  118. <EntityType Name="Service">
  119. <Key>
  120. <PropertyRef Name="ID" />
  121. </Key>
  122. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  123. <Property Name="Title" Type="nvarchar" MaxLength="100" Nullable="false" />
  124. <Property Name="Cost" Type="money" Nullable="false" />
  125. <Property Name="DurationInSeconds" Type="int" Nullable="false" />
  126. <Property Name="Description" Type="nvarchar(max)" />
  127. <Property Name="Discount" Type="float" />
  128. <Property Name="MainImagePath" Type="nvarchar" MaxLength="1000" />
  129. </EntityType>
  130. <!--Ошибки, обнаруженные при создании:
  131. предупреждение 6002: В таблице или представлении "BB_Romanovskaya.dbo.service_b_import" не определен первичный ключ. Ключ был выведен, а определение таблицы или представления было создано в режиме только для чтения.-->
  132. <EntityType Name="service_b_import">
  133. <Key>
  134. <PropertyRef Name="Наименование_услуги" />
  135. <PropertyRef Name="Главное_изображение" />
  136. <PropertyRef Name="Длительность" />
  137. <PropertyRef Name="Стоимость" />
  138. <PropertyRef Name="Действующая_скидка" />
  139. </Key>
  140. <Property Name="Наименование_услуги" Type="nvarchar" MaxLength="50" Nullable="false" />
  141. <Property Name="Главное_изображение" Type="nvarchar" MaxLength="100" Nullable="false" />
  142. <Property Name="Длительность" Type="nvarchar" MaxLength="50" Nullable="false" />
  143. <Property Name="Стоимость" Type="nvarchar" MaxLength="50" Nullable="false" />
  144. <Property Name="Действующая_скидка" Type="nvarchar" MaxLength="50" Nullable="false" />
  145. </EntityType>
  146. <EntityType Name="ServicePhoto">
  147. <Key>
  148. <PropertyRef Name="ID" />
  149. </Key>
  150. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  151. <Property Name="ServiceID" Type="int" Nullable="false" />
  152. <Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" Nullable="false" />
  153. </EntityType>
  154. <EntityType Name="sysdiagrams">
  155. <Key>
  156. <PropertyRef Name="diagram_id" />
  157. </Key>
  158. <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
  159. <Property Name="principal_id" Type="int" Nullable="false" />
  160. <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  161. <Property Name="version" Type="int" />
  162. <Property Name="definition" Type="varbinary(max)" />
  163. </EntityType>
  164. <EntityType Name="Tag">
  165. <Key>
  166. <PropertyRef Name="ID" />
  167. </Key>
  168. <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  169. <Property Name="Title" Type="nvarchar" MaxLength="30" Nullable="false" />
  170. <Property Name="Color" Type="nchar" MaxLength="6" Nullable="false" />
  171. </EntityType>
  172. <EntityType Name="TagOfClient">
  173. <Key>
  174. <PropertyRef Name="ClientID" />
  175. <PropertyRef Name="TagID" />
  176. </Key>
  177. <Property Name="ClientID" Type="int" Nullable="false" />
  178. <Property Name="TagID" Type="int" Nullable="false" />
  179. </EntityType>
  180. <Association Name="FK_AttachedProduct_Product">
  181. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  182. <End Role="AttachedProduct" Type="Self.AttachedProduct" Multiplicity="*" />
  183. <ReferentialConstraint>
  184. <Principal Role="Product">
  185. <PropertyRef Name="ID" />
  186. </Principal>
  187. <Dependent Role="AttachedProduct">
  188. <PropertyRef Name="MainProductID" />
  189. </Dependent>
  190. </ReferentialConstraint>
  191. </Association>
  192. <Association Name="FK_AttachedProduct_Product1">
  193. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  194. <End Role="AttachedProduct" Type="Self.AttachedProduct" Multiplicity="*" />
  195. <ReferentialConstraint>
  196. <Principal Role="Product">
  197. <PropertyRef Name="ID" />
  198. </Principal>
  199. <Dependent Role="AttachedProduct">
  200. <PropertyRef Name="AttachedProductID" />
  201. </Dependent>
  202. </ReferentialConstraint>
  203. </Association>
  204. <Association Name="FK_Client_Gender">
  205. <End Role="Gender" Type="Self.Gender" Multiplicity="1" />
  206. <End Role="Client" Type="Self.Client" Multiplicity="*" />
  207. <ReferentialConstraint>
  208. <Principal Role="Gender">
  209. <PropertyRef Name="Code" />
  210. </Principal>
  211. <Dependent Role="Client">
  212. <PropertyRef Name="GenderCode" />
  213. </Dependent>
  214. </ReferentialConstraint>
  215. </Association>
  216. <Association Name="FK_ClientService_Client">
  217. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  218. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  219. <ReferentialConstraint>
  220. <Principal Role="Client">
  221. <PropertyRef Name="ID" />
  222. </Principal>
  223. <Dependent Role="ClientService">
  224. <PropertyRef Name="ClientID" />
  225. </Dependent>
  226. </ReferentialConstraint>
  227. </Association>
  228. <Association Name="FK_ClientService_Service">
  229. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  230. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  231. <ReferentialConstraint>
  232. <Principal Role="Service">
  233. <PropertyRef Name="ID" />
  234. </Principal>
  235. <Dependent Role="ClientService">
  236. <PropertyRef Name="ServiceID" />
  237. </Dependent>
  238. </ReferentialConstraint>
  239. </Association>
  240. <Association Name="FK_DocumentByService_ClientService">
  241. <End Role="ClientService" Type="Self.ClientService" Multiplicity="1" />
  242. <End Role="DocumentByService" Type="Self.DocumentByService" Multiplicity="*" />
  243. <ReferentialConstraint>
  244. <Principal Role="ClientService">
  245. <PropertyRef Name="ID" />
  246. </Principal>
  247. <Dependent Role="DocumentByService">
  248. <PropertyRef Name="ClientServiceID" />
  249. </Dependent>
  250. </ReferentialConstraint>
  251. </Association>
  252. <Association Name="FK_Product_Manufacturer">
  253. <End Role="Manufacturer" Type="Self.Manufacturer" Multiplicity="0..1" />
  254. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  255. <ReferentialConstraint>
  256. <Principal Role="Manufacturer">
  257. <PropertyRef Name="ID" />
  258. </Principal>
  259. <Dependent Role="Product">
  260. <PropertyRef Name="ManufacturerID" />
  261. </Dependent>
  262. </ReferentialConstraint>
  263. </Association>
  264. <Association Name="FK_ProductPhoto_Product">
  265. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  266. <End Role="ProductPhoto" Type="Self.ProductPhoto" Multiplicity="*" />
  267. <ReferentialConstraint>
  268. <Principal Role="Product">
  269. <PropertyRef Name="ID" />
  270. </Principal>
  271. <Dependent Role="ProductPhoto">
  272. <PropertyRef Name="ProductID" />
  273. </Dependent>
  274. </ReferentialConstraint>
  275. </Association>
  276. <Association Name="FK_ProductSale_ClientService">
  277. <End Role="ClientService" Type="Self.ClientService" Multiplicity="0..1" />
  278. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  279. <ReferentialConstraint>
  280. <Principal Role="ClientService">
  281. <PropertyRef Name="ID" />
  282. </Principal>
  283. <Dependent Role="ProductSale">
  284. <PropertyRef Name="ClientServiceID" />
  285. </Dependent>
  286. </ReferentialConstraint>
  287. </Association>
  288. <Association Name="FK_ProductSale_Product">
  289. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  290. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  291. <ReferentialConstraint>
  292. <Principal Role="Product">
  293. <PropertyRef Name="ID" />
  294. </Principal>
  295. <Dependent Role="ProductSale">
  296. <PropertyRef Name="ProductID" />
  297. </Dependent>
  298. </ReferentialConstraint>
  299. </Association>
  300. <Association Name="FK_ServicePhoto_Service">
  301. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  302. <End Role="ServicePhoto" Type="Self.ServicePhoto" Multiplicity="*" />
  303. <ReferentialConstraint>
  304. <Principal Role="Service">
  305. <PropertyRef Name="ID" />
  306. </Principal>
  307. <Dependent Role="ServicePhoto">
  308. <PropertyRef Name="ServiceID" />
  309. </Dependent>
  310. </ReferentialConstraint>
  311. </Association>
  312. <Association Name="FK_TagOfClient_Client1">
  313. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  314. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  315. <ReferentialConstraint>
  316. <Principal Role="Client">
  317. <PropertyRef Name="ID" />
  318. </Principal>
  319. <Dependent Role="TagOfClient">
  320. <PropertyRef Name="ClientID" />
  321. </Dependent>
  322. </ReferentialConstraint>
  323. </Association>
  324. <Association Name="FK_TagOfClient_client2">
  325. <End Role="client2" Type="Self.client2" Multiplicity="1" />
  326. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  327. <ReferentialConstraint>
  328. <Principal Role="client2">
  329. <PropertyRef Name="Id_client" />
  330. </Principal>
  331. <Dependent Role="TagOfClient">
  332. <PropertyRef Name="ClientID" />
  333. </Dependent>
  334. </ReferentialConstraint>
  335. </Association>
  336. <Association Name="FK_TagOfClient_Tag">
  337. <End Role="Tag" Type="Self.Tag" Multiplicity="1" />
  338. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  339. <ReferentialConstraint>
  340. <Principal Role="Tag">
  341. <PropertyRef Name="ID" />
  342. </Principal>
  343. <Dependent Role="TagOfClient">
  344. <PropertyRef Name="TagID" />
  345. </Dependent>
  346. </ReferentialConstraint>
  347. </Association>
  348. <Function Name="fn_diagramobjects" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="true" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" ReturnType="int" />
  349. <Function Name="sp_alterdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  350. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  351. <Parameter Name="owner_id" Type="int" Mode="In" />
  352. <Parameter Name="version" Type="int" Mode="In" />
  353. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  354. </Function>
  355. <Function Name="sp_creatediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  356. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  357. <Parameter Name="owner_id" Type="int" Mode="In" />
  358. <Parameter Name="version" Type="int" Mode="In" />
  359. <Parameter Name="definition" Type="varbinary(max)" Mode="In" />
  360. </Function>
  361. <Function Name="sp_dropdiagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  362. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  363. <Parameter Name="owner_id" Type="int" Mode="In" />
  364. </Function>
  365. <Function Name="sp_helpdiagramdefinition" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  366. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  367. <Parameter Name="owner_id" Type="int" Mode="In" />
  368. </Function>
  369. <Function Name="sp_helpdiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  370. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  371. <Parameter Name="owner_id" Type="int" Mode="In" />
  372. </Function>
  373. <Function Name="sp_renamediagram" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo">
  374. <Parameter Name="diagramname" Type="nvarchar" Mode="In" />
  375. <Parameter Name="owner_id" Type="int" Mode="In" />
  376. <Parameter Name="new_diagramname" Type="nvarchar" Mode="In" />
  377. </Function>
  378. <Function Name="sp_upgraddiagrams" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
  379. <EntityContainer Name="Хранилище BB_RomanovskayaModelContainer">
  380. <EntitySet Name="AttachedProduct" EntityType="Self.AttachedProduct" Schema="dbo" store:Type="Tables" />
  381. <EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
  382. <EntitySet Name="client2" EntityType="Self.client2" Schema="dbo" store:Type="Tables" />
  383. <EntitySet Name="ClientService" EntityType="Self.ClientService" Schema="dbo" store:Type="Tables" />
  384. <EntitySet Name="DocumentByService" EntityType="Self.DocumentByService" Schema="dbo" store:Type="Tables" />
  385. <EntitySet Name="Gender" EntityType="Self.Gender" Schema="dbo" store:Type="Tables" />
  386. <EntitySet Name="Manufacturer" EntityType="Self.Manufacturer" Schema="dbo" store:Type="Tables" />
  387. <EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
  388. <EntitySet Name="ProductPhoto" EntityType="Self.ProductPhoto" Schema="dbo" store:Type="Tables" />
  389. <EntitySet Name="ProductSale" EntityType="Self.ProductSale" Schema="dbo" store:Type="Tables" />
  390. <EntitySet Name="Service" EntityType="Self.Service" Schema="dbo" store:Type="Tables" />
  391. <EntitySet Name="ServicePhoto" EntityType="Self.ServicePhoto" Schema="dbo" store:Type="Tables" />
  392. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
  393. <EntitySet Name="Tag" EntityType="Self.Tag" Schema="dbo" store:Type="Tables" />
  394. <EntitySet Name="TagOfClient" EntityType="Self.TagOfClient" Schema="dbo" store:Type="Tables" />
  395. <EntitySet Name="Admin" EntityType="Self.Admin" store:Type="Tables" store:Schema="dbo">
  396. <DefiningQuery>SELECT
  397. [Admin].[ID_administrator] AS [ID_administrator],
  398. [Admin].[Login] AS [Login],
  399. [Admin].[Password] AS [Password]
  400. FROM [dbo].[Admin] AS [Admin]</DefiningQuery>
  401. </EntitySet>
  402. <EntitySet Name="service_b_import" EntityType="Self.service_b_import" store:Type="Tables" store:Schema="dbo">
  403. <DefiningQuery>SELECT
  404. [service_b_import].[Наименование_услуги] AS [Наименование_услуги],
  405. [service_b_import].[Главное_изображение] AS [Главное_изображение],
  406. [service_b_import].[Длительность] AS [Длительность],
  407. [service_b_import].[Стоимость] AS [Стоимость],
  408. [service_b_import].[Действующая_скидка] AS [Действующая_скидка]
  409. FROM [dbo].[service_b_import] AS [service_b_import]</DefiningQuery>
  410. </EntitySet>
  411. <AssociationSet Name="FK_AttachedProduct_Product" Association="Self.FK_AttachedProduct_Product">
  412. <End Role="Product" EntitySet="Product" />
  413. <End Role="AttachedProduct" EntitySet="AttachedProduct" />
  414. </AssociationSet>
  415. <AssociationSet Name="FK_AttachedProduct_Product1" Association="Self.FK_AttachedProduct_Product1">
  416. <End Role="Product" EntitySet="Product" />
  417. <End Role="AttachedProduct" EntitySet="AttachedProduct" />
  418. </AssociationSet>
  419. <AssociationSet Name="FK_Client_Gender" Association="Self.FK_Client_Gender">
  420. <End Role="Gender" EntitySet="Gender" />
  421. <End Role="Client" EntitySet="Client" />
  422. </AssociationSet>
  423. <AssociationSet Name="FK_ClientService_Client" Association="Self.FK_ClientService_Client">
  424. <End Role="Client" EntitySet="Client" />
  425. <End Role="ClientService" EntitySet="ClientService" />
  426. </AssociationSet>
  427. <AssociationSet Name="FK_ClientService_Service" Association="Self.FK_ClientService_Service">
  428. <End Role="Service" EntitySet="Service" />
  429. <End Role="ClientService" EntitySet="ClientService" />
  430. </AssociationSet>
  431. <AssociationSet Name="FK_DocumentByService_ClientService" Association="Self.FK_DocumentByService_ClientService">
  432. <End Role="ClientService" EntitySet="ClientService" />
  433. <End Role="DocumentByService" EntitySet="DocumentByService" />
  434. </AssociationSet>
  435. <AssociationSet Name="FK_Product_Manufacturer" Association="Self.FK_Product_Manufacturer">
  436. <End Role="Manufacturer" EntitySet="Manufacturer" />
  437. <End Role="Product" EntitySet="Product" />
  438. </AssociationSet>
  439. <AssociationSet Name="FK_ProductPhoto_Product" Association="Self.FK_ProductPhoto_Product">
  440. <End Role="Product" EntitySet="Product" />
  441. <End Role="ProductPhoto" EntitySet="ProductPhoto" />
  442. </AssociationSet>
  443. <AssociationSet Name="FK_ProductSale_ClientService" Association="Self.FK_ProductSale_ClientService">
  444. <End Role="ClientService" EntitySet="ClientService" />
  445. <End Role="ProductSale" EntitySet="ProductSale" />
  446. </AssociationSet>
  447. <AssociationSet Name="FK_ProductSale_Product" Association="Self.FK_ProductSale_Product">
  448. <End Role="Product" EntitySet="Product" />
  449. <End Role="ProductSale" EntitySet="ProductSale" />
  450. </AssociationSet>
  451. <AssociationSet Name="FK_ServicePhoto_Service" Association="Self.FK_ServicePhoto_Service">
  452. <End Role="Service" EntitySet="Service" />
  453. <End Role="ServicePhoto" EntitySet="ServicePhoto" />
  454. </AssociationSet>
  455. <AssociationSet Name="FK_TagOfClient_Client1" Association="Self.FK_TagOfClient_Client1">
  456. <End Role="Client" EntitySet="Client" />
  457. <End Role="TagOfClient" EntitySet="TagOfClient" />
  458. </AssociationSet>
  459. <AssociationSet Name="FK_TagOfClient_client2" Association="Self.FK_TagOfClient_client2">
  460. <End Role="client2" EntitySet="client2" />
  461. <End Role="TagOfClient" EntitySet="TagOfClient" />
  462. </AssociationSet>
  463. <AssociationSet Name="FK_TagOfClient_Tag" Association="Self.FK_TagOfClient_Tag">
  464. <End Role="Tag" EntitySet="Tag" />
  465. <End Role="TagOfClient" EntitySet="TagOfClient" />
  466. </AssociationSet>
  467. </EntityContainer>
  468. </Schema>
  469. </edmx:StorageModels>
  470. <!-- CSDL content -->
  471. <edmx:ConceptualModels>
  472. <Schema Namespace="BB_RomanovskayaModel" 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">
  473. <EntityType Name="Client">
  474. <Key>
  475. <PropertyRef Name="ID" />
  476. </Key>
  477. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  478. <Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  479. <Property Name="LastName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  480. <Property Name="Patronymic" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  481. <Property Name="Birthday" Type="DateTime" Precision="0" />
  482. <Property Name="RegistrationDate" Type="DateTime" Nullable="false" Precision="3" />
  483. <Property Name="Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  484. <Property Name="Phone" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" />
  485. <Property Name="GenderCode" Type="String" MaxLength="1" FixedLength="true" Unicode="true" Nullable="false" />
  486. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  487. <NavigationProperty Name="Gender" Relationship="Self.FK_Client_Gender" FromRole="Client" ToRole="Gender" />
  488. <NavigationProperty Name="ClientService" Relationship="Self.FK_ClientService_Client" FromRole="Client" ToRole="ClientService" />
  489. <NavigationProperty Name="TagOfClient" Relationship="Self.FK_TagOfClient_Client1" FromRole="Client" ToRole="TagOfClient" />
  490. </EntityType>
  491. <EntityType Name="client2">
  492. <Key>
  493. <PropertyRef Name="Id_client" />
  494. </Key>
  495. <Property Name="Фамилия" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  496. <Property Name="Имя" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  497. <Property Name="Отчество" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  498. <Property Name="Пол" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  499. <Property Name="Телефон" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  500. <Property Name="Дата_рождения" Type="DateTime" Nullable="false" Precision="7" />
  501. <Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  502. <Property Name="Дата_регистрации" Type="DateTime" Nullable="false" Precision="7" />
  503. <Property Name="Id_client" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  504. <NavigationProperty Name="TagOfClient" Relationship="Self.FK_TagOfClient_client2" FromRole="client2" ToRole="TagOfClient" />
  505. </EntityType>
  506. <EntityType Name="ClientService">
  507. <Key>
  508. <PropertyRef Name="ID" />
  509. </Key>
  510. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  511. <Property Name="ClientID" Type="Int32" Nullable="false" />
  512. <Property Name="ServiceID" Type="Int32" Nullable="false" />
  513. <Property Name="StartTime" Type="DateTime" Nullable="false" Precision="3" />
  514. <Property Name="Comment" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  515. <NavigationProperty Name="Client" Relationship="Self.FK_ClientService_Client" FromRole="ClientService" ToRole="Client" />
  516. <NavigationProperty Name="Service" Relationship="Self.FK_ClientService_Service" FromRole="ClientService" ToRole="Service" />
  517. <NavigationProperty Name="DocumentByService" Relationship="Self.FK_DocumentByService_ClientService" FromRole="ClientService" ToRole="DocumentByService" />
  518. <NavigationProperty Name="ProductSale" Relationship="Self.FK_ProductSale_ClientService" FromRole="ClientService" ToRole="ProductSale" />
  519. </EntityType>
  520. <EntityType Name="DocumentByService">
  521. <Key>
  522. <PropertyRef Name="ID" />
  523. </Key>
  524. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  525. <Property Name="ClientServiceID" Type="Int32" Nullable="false" />
  526. <Property Name="DocumentPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  527. <NavigationProperty Name="ClientService" Relationship="Self.FK_DocumentByService_ClientService" FromRole="DocumentByService" ToRole="ClientService" />
  528. </EntityType>
  529. <EntityType Name="Gender">
  530. <Key>
  531. <PropertyRef Name="Code" />
  532. </Key>
  533. <Property Name="Code" Type="String" MaxLength="1" FixedLength="true" Unicode="true" Nullable="false" />
  534. <Property Name="Name" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  535. <NavigationProperty Name="Client" Relationship="Self.FK_Client_Gender" FromRole="Gender" ToRole="Client" />
  536. </EntityType>
  537. <EntityType Name="Manufacturer">
  538. <Key>
  539. <PropertyRef Name="ID" />
  540. </Key>
  541. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  542. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  543. <Property Name="StartDate" Type="DateTime" Precision="0" />
  544. <NavigationProperty Name="Product" Relationship="Self.FK_Product_Manufacturer" FromRole="Manufacturer" ToRole="Product" />
  545. </EntityType>
  546. <EntityType Name="Product">
  547. <Key>
  548. <PropertyRef Name="ID" />
  549. </Key>
  550. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  551. <Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  552. <Property Name="Cost" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
  553. <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  554. <Property Name="MainImagePath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  555. <Property Name="IsActive" Type="Boolean" Nullable="false" />
  556. <Property Name="ManufacturerID" Type="Int32" />
  557. <NavigationProperty Name="Manufacturer" Relationship="Self.FK_Product_Manufacturer" FromRole="Product" ToRole="Manufacturer" />
  558. <NavigationProperty Name="ProductPhoto" Relationship="Self.FK_ProductPhoto_Product" FromRole="Product" ToRole="ProductPhoto" />
  559. <NavigationProperty Name="ProductSale" Relationship="Self.FK_ProductSale_Product" FromRole="Product" ToRole="ProductSale" />
  560. <NavigationProperty Name="Product1" Relationship="Self.AttachedProduct" FromRole="Product" ToRole="Product1" />
  561. <NavigationProperty Name="Product2" Relationship="Self.AttachedProduct" FromRole="Product1" ToRole="Product" />
  562. </EntityType>
  563. <EntityType Name="ProductPhoto">
  564. <Key>
  565. <PropertyRef Name="ID" />
  566. </Key>
  567. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  568. <Property Name="ProductID" Type="Int32" Nullable="false" />
  569. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  570. <NavigationProperty Name="Product" Relationship="Self.FK_ProductPhoto_Product" FromRole="ProductPhoto" ToRole="Product" />
  571. </EntityType>
  572. <EntityType Name="ProductSale">
  573. <Key>
  574. <PropertyRef Name="ID" />
  575. </Key>
  576. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  577. <Property Name="SaleDate" Type="DateTime" Nullable="false" Precision="3" />
  578. <Property Name="ProductID" Type="Int32" Nullable="false" />
  579. <Property Name="Quantity" Type="Int32" Nullable="false" />
  580. <Property Name="ClientServiceID" Type="Int32" />
  581. <NavigationProperty Name="ClientService" Relationship="Self.FK_ProductSale_ClientService" FromRole="ProductSale" ToRole="ClientService" />
  582. <NavigationProperty Name="Product" Relationship="Self.FK_ProductSale_Product" FromRole="ProductSale" ToRole="Product" />
  583. </EntityType>
  584. <EntityType Name="Service">
  585. <Key>
  586. <PropertyRef Name="ID" />
  587. </Key>
  588. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  589. <Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  590. <Property Name="Cost" Type="Decimal" Precision="19" Scale="4" Nullable="false" />
  591. <Property Name="DurationInSeconds" Type="Int32" Nullable="false" />
  592. <Property Name="Description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  593. <Property Name="Discount" Type="Double" />
  594. <Property Name="MainImagePath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  595. <NavigationProperty Name="ClientService" Relationship="Self.FK_ClientService_Service" FromRole="Service" ToRole="ClientService" />
  596. <NavigationProperty Name="ServicePhoto" Relationship="Self.FK_ServicePhoto_Service" FromRole="Service" ToRole="ServicePhoto" />
  597. </EntityType>
  598. <EntityType Name="ServicePhoto">
  599. <Key>
  600. <PropertyRef Name="ID" />
  601. </Key>
  602. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  603. <Property Name="ServiceID" Type="Int32" Nullable="false" />
  604. <Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" Nullable="false" />
  605. <NavigationProperty Name="Service" Relationship="Self.FK_ServicePhoto_Service" FromRole="ServicePhoto" ToRole="Service" />
  606. </EntityType>
  607. <EntityType Name="sysdiagrams">
  608. <Key>
  609. <PropertyRef Name="diagram_id" />
  610. </Key>
  611. <Property Name="name" Type="String" MaxLength="128" FixedLength="false" Unicode="true" Nullable="false" />
  612. <Property Name="principal_id" Type="Int32" Nullable="false" />
  613. <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  614. <Property Name="version" Type="Int32" />
  615. <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
  616. </EntityType>
  617. <EntityType Name="Tag">
  618. <Key>
  619. <PropertyRef Name="ID" />
  620. </Key>
  621. <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  622. <Property Name="Title" Type="String" MaxLength="30" FixedLength="false" Unicode="true" Nullable="false" />
  623. <Property Name="Color" Type="String" MaxLength="6" FixedLength="true" Unicode="true" Nullable="false" />
  624. <NavigationProperty Name="TagOfClient" Relationship="Self.FK_TagOfClient_Tag" FromRole="Tag" ToRole="TagOfClient" />
  625. </EntityType>
  626. <EntityType Name="TagOfClient">
  627. <Key>
  628. <PropertyRef Name="ClientID" />
  629. <PropertyRef Name="TagID" />
  630. </Key>
  631. <Property Name="ClientID" Type="Int32" Nullable="false" />
  632. <Property Name="TagID" Type="Int32" Nullable="false" />
  633. <NavigationProperty Name="Client" Relationship="Self.FK_TagOfClient_Client1" FromRole="TagOfClient" ToRole="Client" />
  634. <NavigationProperty Name="client2" Relationship="Self.FK_TagOfClient_client2" FromRole="TagOfClient" ToRole="client2" />
  635. <NavigationProperty Name="Tag" Relationship="Self.FK_TagOfClient_Tag" FromRole="TagOfClient" ToRole="Tag" />
  636. </EntityType>
  637. <EntityType Name="Admin">
  638. <Key>
  639. <PropertyRef Name="ID_administrator" />
  640. </Key>
  641. <Property Name="ID_administrator" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  642. <Property Name="Login" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  643. <Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  644. </EntityType>
  645. <EntityType Name="service_b_import">
  646. <Key>
  647. <PropertyRef Name="Наименование_услуги" />
  648. <PropertyRef Name="Главное_изображение" />
  649. <PropertyRef Name="Длительность" />
  650. <PropertyRef Name="Стоимость" />
  651. <PropertyRef Name="Действующая_скидка" />
  652. </Key>
  653. <Property Name="Наименование_услуги" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  654. <Property Name="Главное_изображение" Type="String" MaxLength="100" FixedLength="false" Unicode="true" Nullable="false" />
  655. <Property Name="Длительность" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  656. <Property Name="Стоимость" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  657. <Property Name="Действующая_скидка" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
  658. </EntityType>
  659. <Association Name="FK_Client_Gender">
  660. <End Role="Gender" Type="Self.Gender" Multiplicity="1" />
  661. <End Role="Client" Type="Self.Client" Multiplicity="*" />
  662. <ReferentialConstraint>
  663. <Principal Role="Gender">
  664. <PropertyRef Name="Code" />
  665. </Principal>
  666. <Dependent Role="Client">
  667. <PropertyRef Name="GenderCode" />
  668. </Dependent>
  669. </ReferentialConstraint>
  670. </Association>
  671. <Association Name="FK_ClientService_Client">
  672. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  673. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  674. <ReferentialConstraint>
  675. <Principal Role="Client">
  676. <PropertyRef Name="ID" />
  677. </Principal>
  678. <Dependent Role="ClientService">
  679. <PropertyRef Name="ClientID" />
  680. </Dependent>
  681. </ReferentialConstraint>
  682. </Association>
  683. <Association Name="FK_TagOfClient_Client1">
  684. <End Role="Client" Type="Self.Client" Multiplicity="1" />
  685. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  686. <ReferentialConstraint>
  687. <Principal Role="Client">
  688. <PropertyRef Name="ID" />
  689. </Principal>
  690. <Dependent Role="TagOfClient">
  691. <PropertyRef Name="ClientID" />
  692. </Dependent>
  693. </ReferentialConstraint>
  694. </Association>
  695. <Association Name="FK_TagOfClient_client2">
  696. <End Role="client2" Type="Self.client2" Multiplicity="1" />
  697. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  698. <ReferentialConstraint>
  699. <Principal Role="client2">
  700. <PropertyRef Name="Id_client" />
  701. </Principal>
  702. <Dependent Role="TagOfClient">
  703. <PropertyRef Name="ClientID" />
  704. </Dependent>
  705. </ReferentialConstraint>
  706. </Association>
  707. <Association Name="FK_ClientService_Service">
  708. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  709. <End Role="ClientService" Type="Self.ClientService" Multiplicity="*" />
  710. <ReferentialConstraint>
  711. <Principal Role="Service">
  712. <PropertyRef Name="ID" />
  713. </Principal>
  714. <Dependent Role="ClientService">
  715. <PropertyRef Name="ServiceID" />
  716. </Dependent>
  717. </ReferentialConstraint>
  718. </Association>
  719. <Association Name="FK_DocumentByService_ClientService">
  720. <End Role="ClientService" Type="Self.ClientService" Multiplicity="1" />
  721. <End Role="DocumentByService" Type="Self.DocumentByService" Multiplicity="*" />
  722. <ReferentialConstraint>
  723. <Principal Role="ClientService">
  724. <PropertyRef Name="ID" />
  725. </Principal>
  726. <Dependent Role="DocumentByService">
  727. <PropertyRef Name="ClientServiceID" />
  728. </Dependent>
  729. </ReferentialConstraint>
  730. </Association>
  731. <Association Name="FK_ProductSale_ClientService">
  732. <End Role="ClientService" Type="Self.ClientService" Multiplicity="0..1" />
  733. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  734. <ReferentialConstraint>
  735. <Principal Role="ClientService">
  736. <PropertyRef Name="ID" />
  737. </Principal>
  738. <Dependent Role="ProductSale">
  739. <PropertyRef Name="ClientServiceID" />
  740. </Dependent>
  741. </ReferentialConstraint>
  742. </Association>
  743. <Association Name="FK_Product_Manufacturer">
  744. <End Role="Manufacturer" Type="Self.Manufacturer" Multiplicity="0..1" />
  745. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  746. <ReferentialConstraint>
  747. <Principal Role="Manufacturer">
  748. <PropertyRef Name="ID" />
  749. </Principal>
  750. <Dependent Role="Product">
  751. <PropertyRef Name="ManufacturerID" />
  752. </Dependent>
  753. </ReferentialConstraint>
  754. </Association>
  755. <Association Name="FK_ProductPhoto_Product">
  756. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  757. <End Role="ProductPhoto" Type="Self.ProductPhoto" Multiplicity="*" />
  758. <ReferentialConstraint>
  759. <Principal Role="Product">
  760. <PropertyRef Name="ID" />
  761. </Principal>
  762. <Dependent Role="ProductPhoto">
  763. <PropertyRef Name="ProductID" />
  764. </Dependent>
  765. </ReferentialConstraint>
  766. </Association>
  767. <Association Name="FK_ProductSale_Product">
  768. <End Role="Product" Type="Self.Product" Multiplicity="1" />
  769. <End Role="ProductSale" Type="Self.ProductSale" Multiplicity="*" />
  770. <ReferentialConstraint>
  771. <Principal Role="Product">
  772. <PropertyRef Name="ID" />
  773. </Principal>
  774. <Dependent Role="ProductSale">
  775. <PropertyRef Name="ProductID" />
  776. </Dependent>
  777. </ReferentialConstraint>
  778. </Association>
  779. <Association Name="FK_ServicePhoto_Service">
  780. <End Role="Service" Type="Self.Service" Multiplicity="1" />
  781. <End Role="ServicePhoto" Type="Self.ServicePhoto" Multiplicity="*" />
  782. <ReferentialConstraint>
  783. <Principal Role="Service">
  784. <PropertyRef Name="ID" />
  785. </Principal>
  786. <Dependent Role="ServicePhoto">
  787. <PropertyRef Name="ServiceID" />
  788. </Dependent>
  789. </ReferentialConstraint>
  790. </Association>
  791. <Association Name="FK_TagOfClient_Tag">
  792. <End Role="Tag" Type="Self.Tag" Multiplicity="1" />
  793. <End Role="TagOfClient" Type="Self.TagOfClient" Multiplicity="*" />
  794. <ReferentialConstraint>
  795. <Principal Role="Tag">
  796. <PropertyRef Name="ID" />
  797. </Principal>
  798. <Dependent Role="TagOfClient">
  799. <PropertyRef Name="TagID" />
  800. </Dependent>
  801. </ReferentialConstraint>
  802. </Association>
  803. <Association Name="AttachedProduct">
  804. <End Role="Product" Type="Self.Product" Multiplicity="*" />
  805. <End Role="Product1" Type="Self.Product" Multiplicity="*" />
  806. </Association>
  807. <EntityContainer Name="BB_RomanovskayaEntities" annotation:LazyLoadingEnabled="true">
  808. <EntitySet Name="Client" EntityType="Self.Client" />
  809. <EntitySet Name="client2" EntityType="Self.client2" />
  810. <EntitySet Name="ClientService" EntityType="Self.ClientService" />
  811. <EntitySet Name="DocumentByService" EntityType="Self.DocumentByService" />
  812. <EntitySet Name="Gender" EntityType="Self.Gender" />
  813. <EntitySet Name="Manufacturer" EntityType="Self.Manufacturer" />
  814. <EntitySet Name="Product" EntityType="Self.Product" />
  815. <EntitySet Name="ProductPhoto" EntityType="Self.ProductPhoto" />
  816. <EntitySet Name="ProductSale" EntityType="Self.ProductSale" />
  817. <EntitySet Name="Service" EntityType="Self.Service" />
  818. <EntitySet Name="ServicePhoto" EntityType="Self.ServicePhoto" />
  819. <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" />
  820. <EntitySet Name="Tag" EntityType="Self.Tag" />
  821. <EntitySet Name="TagOfClient" EntityType="Self.TagOfClient" />
  822. <EntitySet Name="Admin" EntityType="Self.Admin" />
  823. <EntitySet Name="service_b_import" EntityType="Self.service_b_import" />
  824. <AssociationSet Name="FK_Client_Gender" Association="Self.FK_Client_Gender">
  825. <End Role="Gender" EntitySet="Gender" />
  826. <End Role="Client" EntitySet="Client" />
  827. </AssociationSet>
  828. <AssociationSet Name="FK_ClientService_Client" Association="Self.FK_ClientService_Client">
  829. <End Role="Client" EntitySet="Client" />
  830. <End Role="ClientService" EntitySet="ClientService" />
  831. </AssociationSet>
  832. <AssociationSet Name="FK_TagOfClient_Client1" Association="Self.FK_TagOfClient_Client1">
  833. <End Role="Client" EntitySet="Client" />
  834. <End Role="TagOfClient" EntitySet="TagOfClient" />
  835. </AssociationSet>
  836. <AssociationSet Name="FK_TagOfClient_client2" Association="Self.FK_TagOfClient_client2">
  837. <End Role="client2" EntitySet="client2" />
  838. <End Role="TagOfClient" EntitySet="TagOfClient" />
  839. </AssociationSet>
  840. <AssociationSet Name="FK_ClientService_Service" Association="Self.FK_ClientService_Service">
  841. <End Role="Service" EntitySet="Service" />
  842. <End Role="ClientService" EntitySet="ClientService" />
  843. </AssociationSet>
  844. <AssociationSet Name="FK_DocumentByService_ClientService" Association="Self.FK_DocumentByService_ClientService">
  845. <End Role="ClientService" EntitySet="ClientService" />
  846. <End Role="DocumentByService" EntitySet="DocumentByService" />
  847. </AssociationSet>
  848. <AssociationSet Name="FK_ProductSale_ClientService" Association="Self.FK_ProductSale_ClientService">
  849. <End Role="ClientService" EntitySet="ClientService" />
  850. <End Role="ProductSale" EntitySet="ProductSale" />
  851. </AssociationSet>
  852. <AssociationSet Name="FK_Product_Manufacturer" Association="Self.FK_Product_Manufacturer">
  853. <End Role="Manufacturer" EntitySet="Manufacturer" />
  854. <End Role="Product" EntitySet="Product" />
  855. </AssociationSet>
  856. <AssociationSet Name="FK_ProductPhoto_Product" Association="Self.FK_ProductPhoto_Product">
  857. <End Role="Product" EntitySet="Product" />
  858. <End Role="ProductPhoto" EntitySet="ProductPhoto" />
  859. </AssociationSet>
  860. <AssociationSet Name="FK_ProductSale_Product" Association="Self.FK_ProductSale_Product">
  861. <End Role="Product" EntitySet="Product" />
  862. <End Role="ProductSale" EntitySet="ProductSale" />
  863. </AssociationSet>
  864. <AssociationSet Name="FK_ServicePhoto_Service" Association="Self.FK_ServicePhoto_Service">
  865. <End Role="Service" EntitySet="Service" />
  866. <End Role="ServicePhoto" EntitySet="ServicePhoto" />
  867. </AssociationSet>
  868. <AssociationSet Name="FK_TagOfClient_Tag" Association="Self.FK_TagOfClient_Tag">
  869. <End Role="Tag" EntitySet="Tag" />
  870. <End Role="TagOfClient" EntitySet="TagOfClient" />
  871. </AssociationSet>
  872. <AssociationSet Name="AttachedProduct" Association="Self.AttachedProduct">
  873. <End Role="Product" EntitySet="Product" />
  874. <End Role="Product1" EntitySet="Product" />
  875. </AssociationSet>
  876. <FunctionImport Name="sp_alterdiagram">
  877. <Parameter Name="diagramname" Mode="In" Type="String" />
  878. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  879. <Parameter Name="version" Mode="In" Type="Int32" />
  880. <Parameter Name="definition" Mode="In" Type="Binary" />
  881. </FunctionImport>
  882. <FunctionImport Name="sp_creatediagram">
  883. <Parameter Name="diagramname" Mode="In" Type="String" />
  884. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  885. <Parameter Name="version" Mode="In" Type="Int32" />
  886. <Parameter Name="definition" Mode="In" Type="Binary" />
  887. </FunctionImport>
  888. <FunctionImport Name="sp_dropdiagram">
  889. <Parameter Name="diagramname" Mode="In" Type="String" />
  890. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  891. </FunctionImport>
  892. <FunctionImport Name="sp_helpdiagramdefinition" ReturnType="Collection(BB_RomanovskayaModel.sp_helpdiagramdefinition_Result)">
  893. <Parameter Name="diagramname" Mode="In" Type="String" />
  894. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  895. </FunctionImport>
  896. <FunctionImport Name="sp_helpdiagrams" ReturnType="Collection(BB_RomanovskayaModel.sp_helpdiagrams_Result)">
  897. <Parameter Name="diagramname" Mode="In" Type="String" />
  898. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  899. </FunctionImport>
  900. <FunctionImport Name="sp_renamediagram">
  901. <Parameter Name="diagramname" Mode="In" Type="String" />
  902. <Parameter Name="owner_id" Mode="In" Type="Int32" />
  903. <Parameter Name="new_diagramname" Mode="In" Type="String" />
  904. </FunctionImport>
  905. <FunctionImport Name="sp_upgraddiagrams" />
  906. </EntityContainer>
  907. <ComplexType Name="sp_helpdiagramdefinition_Result">
  908. <Property Type="Int32" Name="version" Nullable="true" />
  909. <Property Type="Binary" Name="definition" Nullable="true" />
  910. </ComplexType>
  911. <ComplexType Name="sp_helpdiagrams_Result">
  912. <Property Type="String" Name="Database" Nullable="true" MaxLength="128" />
  913. <Property Type="String" Name="Name" Nullable="false" MaxLength="128" />
  914. <Property Type="Int32" Name="ID" Nullable="false" />
  915. <Property Type="String" Name="Owner" Nullable="true" MaxLength="128" />
  916. <Property Type="Int32" Name="OwnerID" Nullable="false" />
  917. </ComplexType>
  918. </Schema>
  919. </edmx:ConceptualModels>
  920. <!-- C-S mapping content -->
  921. <edmx:Mappings>
  922. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  923. <EntityContainerMapping StorageEntityContainer="Хранилище BB_RomanovskayaModelContainer" CdmEntityContainer="BB_RomanovskayaEntities">
  924. <EntitySetMapping Name="Client">
  925. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Client">
  926. <MappingFragment StoreEntitySet="Client">
  927. <ScalarProperty Name="ID" ColumnName="ID" />
  928. <ScalarProperty Name="FirstName" ColumnName="FirstName" />
  929. <ScalarProperty Name="LastName" ColumnName="LastName" />
  930. <ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
  931. <ScalarProperty Name="Birthday" ColumnName="Birthday" />
  932. <ScalarProperty Name="RegistrationDate" ColumnName="RegistrationDate" />
  933. <ScalarProperty Name="Email" ColumnName="Email" />
  934. <ScalarProperty Name="Phone" ColumnName="Phone" />
  935. <ScalarProperty Name="GenderCode" ColumnName="GenderCode" />
  936. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  937. </MappingFragment>
  938. </EntityTypeMapping>
  939. </EntitySetMapping>
  940. <EntitySetMapping Name="client2">
  941. <EntityTypeMapping TypeName="BB_RomanovskayaModel.client2">
  942. <MappingFragment StoreEntitySet="client2">
  943. <ScalarProperty Name="Фамилия" ColumnName="Фамилия" />
  944. <ScalarProperty Name="Имя" ColumnName="Имя" />
  945. <ScalarProperty Name="Отчество" ColumnName="Отчество" />
  946. <ScalarProperty Name="Пол" ColumnName="Пол" />
  947. <ScalarProperty Name="Телефон" ColumnName="Телефон" />
  948. <ScalarProperty Name="Дата_рождения" ColumnName="Дата_рождения" />
  949. <ScalarProperty Name="Email" ColumnName="Email" />
  950. <ScalarProperty Name="Дата_регистрации" ColumnName="Дата_регистрации" />
  951. <ScalarProperty Name="Id_client" ColumnName="Id_client" />
  952. </MappingFragment>
  953. </EntityTypeMapping>
  954. </EntitySetMapping>
  955. <EntitySetMapping Name="ClientService">
  956. <EntityTypeMapping TypeName="BB_RomanovskayaModel.ClientService">
  957. <MappingFragment StoreEntitySet="ClientService">
  958. <ScalarProperty Name="ID" ColumnName="ID" />
  959. <ScalarProperty Name="ClientID" ColumnName="ClientID" />
  960. <ScalarProperty Name="ServiceID" ColumnName="ServiceID" />
  961. <ScalarProperty Name="StartTime" ColumnName="StartTime" />
  962. <ScalarProperty Name="Comment" ColumnName="Comment" />
  963. </MappingFragment>
  964. </EntityTypeMapping>
  965. </EntitySetMapping>
  966. <EntitySetMapping Name="DocumentByService">
  967. <EntityTypeMapping TypeName="BB_RomanovskayaModel.DocumentByService">
  968. <MappingFragment StoreEntitySet="DocumentByService">
  969. <ScalarProperty Name="ID" ColumnName="ID" />
  970. <ScalarProperty Name="ClientServiceID" ColumnName="ClientServiceID" />
  971. <ScalarProperty Name="DocumentPath" ColumnName="DocumentPath" />
  972. </MappingFragment>
  973. </EntityTypeMapping>
  974. </EntitySetMapping>
  975. <EntitySetMapping Name="Gender">
  976. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Gender">
  977. <MappingFragment StoreEntitySet="Gender">
  978. <ScalarProperty Name="Code" ColumnName="Code" />
  979. <ScalarProperty Name="Name" ColumnName="Name" />
  980. </MappingFragment>
  981. </EntityTypeMapping>
  982. </EntitySetMapping>
  983. <EntitySetMapping Name="Manufacturer">
  984. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Manufacturer">
  985. <MappingFragment StoreEntitySet="Manufacturer">
  986. <ScalarProperty Name="ID" ColumnName="ID" />
  987. <ScalarProperty Name="Name" ColumnName="Name" />
  988. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  989. </MappingFragment>
  990. </EntityTypeMapping>
  991. </EntitySetMapping>
  992. <EntitySetMapping Name="Product">
  993. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Product">
  994. <MappingFragment StoreEntitySet="Product">
  995. <ScalarProperty Name="ID" ColumnName="ID" />
  996. <ScalarProperty Name="Title" ColumnName="Title" />
  997. <ScalarProperty Name="Cost" ColumnName="Cost" />
  998. <ScalarProperty Name="Description" ColumnName="Description" />
  999. <ScalarProperty Name="MainImagePath" ColumnName="MainImagePath" />
  1000. <ScalarProperty Name="IsActive" ColumnName="IsActive" />
  1001. <ScalarProperty Name="ManufacturerID" ColumnName="ManufacturerID" />
  1002. </MappingFragment>
  1003. </EntityTypeMapping>
  1004. </EntitySetMapping>
  1005. <EntitySetMapping Name="ProductPhoto">
  1006. <EntityTypeMapping TypeName="BB_RomanovskayaModel.ProductPhoto">
  1007. <MappingFragment StoreEntitySet="ProductPhoto">
  1008. <ScalarProperty Name="ID" ColumnName="ID" />
  1009. <ScalarProperty Name="ProductID" ColumnName="ProductID" />
  1010. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  1011. </MappingFragment>
  1012. </EntityTypeMapping>
  1013. </EntitySetMapping>
  1014. <EntitySetMapping Name="ProductSale">
  1015. <EntityTypeMapping TypeName="BB_RomanovskayaModel.ProductSale">
  1016. <MappingFragment StoreEntitySet="ProductSale">
  1017. <ScalarProperty Name="ID" ColumnName="ID" />
  1018. <ScalarProperty Name="SaleDate" ColumnName="SaleDate" />
  1019. <ScalarProperty Name="ProductID" ColumnName="ProductID" />
  1020. <ScalarProperty Name="Quantity" ColumnName="Quantity" />
  1021. <ScalarProperty Name="ClientServiceID" ColumnName="ClientServiceID" />
  1022. </MappingFragment>
  1023. </EntityTypeMapping>
  1024. </EntitySetMapping>
  1025. <EntitySetMapping Name="Service">
  1026. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Service">
  1027. <MappingFragment StoreEntitySet="Service">
  1028. <ScalarProperty Name="ID" ColumnName="ID" />
  1029. <ScalarProperty Name="Title" ColumnName="Title" />
  1030. <ScalarProperty Name="Cost" ColumnName="Cost" />
  1031. <ScalarProperty Name="DurationInSeconds" ColumnName="DurationInSeconds" />
  1032. <ScalarProperty Name="Description" ColumnName="Description" />
  1033. <ScalarProperty Name="Discount" ColumnName="Discount" />
  1034. <ScalarProperty Name="MainImagePath" ColumnName="MainImagePath" />
  1035. </MappingFragment>
  1036. </EntityTypeMapping>
  1037. </EntitySetMapping>
  1038. <EntitySetMapping Name="ServicePhoto">
  1039. <EntityTypeMapping TypeName="BB_RomanovskayaModel.ServicePhoto">
  1040. <MappingFragment StoreEntitySet="ServicePhoto">
  1041. <ScalarProperty Name="ID" ColumnName="ID" />
  1042. <ScalarProperty Name="ServiceID" ColumnName="ServiceID" />
  1043. <ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
  1044. </MappingFragment>
  1045. </EntityTypeMapping>
  1046. </EntitySetMapping>
  1047. <EntitySetMapping Name="sysdiagrams">
  1048. <EntityTypeMapping TypeName="BB_RomanovskayaModel.sysdiagrams">
  1049. <MappingFragment StoreEntitySet="sysdiagrams">
  1050. <ScalarProperty Name="name" ColumnName="name" />
  1051. <ScalarProperty Name="principal_id" ColumnName="principal_id" />
  1052. <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
  1053. <ScalarProperty Name="version" ColumnName="version" />
  1054. <ScalarProperty Name="definition" ColumnName="definition" />
  1055. </MappingFragment>
  1056. </EntityTypeMapping>
  1057. </EntitySetMapping>
  1058. <EntitySetMapping Name="Tag">
  1059. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Tag">
  1060. <MappingFragment StoreEntitySet="Tag">
  1061. <ScalarProperty Name="ID" ColumnName="ID" />
  1062. <ScalarProperty Name="Title" ColumnName="Title" />
  1063. <ScalarProperty Name="Color" ColumnName="Color" />
  1064. </MappingFragment>
  1065. </EntityTypeMapping>
  1066. </EntitySetMapping>
  1067. <EntitySetMapping Name="TagOfClient">
  1068. <EntityTypeMapping TypeName="BB_RomanovskayaModel.TagOfClient">
  1069. <MappingFragment StoreEntitySet="TagOfClient">
  1070. <ScalarProperty Name="ClientID" ColumnName="ClientID" />
  1071. <ScalarProperty Name="TagID" ColumnName="TagID" />
  1072. </MappingFragment>
  1073. </EntityTypeMapping>
  1074. </EntitySetMapping>
  1075. <EntitySetMapping Name="Admin">
  1076. <EntityTypeMapping TypeName="BB_RomanovskayaModel.Admin">
  1077. <MappingFragment StoreEntitySet="Admin">
  1078. <ScalarProperty Name="ID_administrator" ColumnName="ID_administrator" />
  1079. <ScalarProperty Name="Login" ColumnName="Login" />
  1080. <ScalarProperty Name="Password" ColumnName="Password" />
  1081. </MappingFragment>
  1082. </EntityTypeMapping>
  1083. </EntitySetMapping>
  1084. <EntitySetMapping Name="service_b_import">
  1085. <EntityTypeMapping TypeName="BB_RomanovskayaModel.service_b_import">
  1086. <MappingFragment StoreEntitySet="service_b_import">
  1087. <ScalarProperty Name="Наименование_услуги" ColumnName="Наименование_услуги" />
  1088. <ScalarProperty Name="Главное_изображение" ColumnName="Главное_изображение" />
  1089. <ScalarProperty Name="Длительность" ColumnName="Длительность" />
  1090. <ScalarProperty Name="Стоимость" ColumnName="Стоимость" />
  1091. <ScalarProperty Name="Действующая_скидка" ColumnName="Действующая_скидка" />
  1092. </MappingFragment>
  1093. </EntityTypeMapping>
  1094. </EntitySetMapping>
  1095. <AssociationSetMapping Name="AttachedProduct" TypeName="BB_RomanovskayaModel.AttachedProduct" StoreEntitySet="AttachedProduct">
  1096. <EndProperty Name="Product">
  1097. <ScalarProperty Name="ID" ColumnName="MainProductID" />
  1098. </EndProperty>
  1099. <EndProperty Name="Product1">
  1100. <ScalarProperty Name="ID" ColumnName="AttachedProductID" />
  1101. </EndProperty>
  1102. </AssociationSetMapping>
  1103. <FunctionImportMapping FunctionImportName="sp_alterdiagram" FunctionName="Хранилище BB_RomanovskayaModel.sp_alterdiagram" />
  1104. <FunctionImportMapping FunctionImportName="sp_creatediagram" FunctionName="Хранилище BB_RomanovskayaModel.sp_creatediagram" />
  1105. <FunctionImportMapping FunctionImportName="sp_dropdiagram" FunctionName="Хранилище BB_RomanovskayaModel.sp_dropdiagram" />
  1106. <FunctionImportMapping FunctionImportName="sp_helpdiagramdefinition" FunctionName="Хранилище BB_RomanovskayaModel.sp_helpdiagramdefinition">
  1107. <ResultMapping>
  1108. <ComplexTypeMapping TypeName="BB_RomanovskayaModel.sp_helpdiagramdefinition_Result">
  1109. <ScalarProperty Name="version" ColumnName="version" />
  1110. <ScalarProperty Name="definition" ColumnName="definition" />
  1111. </ComplexTypeMapping>
  1112. </ResultMapping>
  1113. </FunctionImportMapping>
  1114. <FunctionImportMapping FunctionImportName="sp_helpdiagrams" FunctionName="Хранилище BB_RomanovskayaModel.sp_helpdiagrams">
  1115. <ResultMapping>
  1116. <ComplexTypeMapping TypeName="BB_RomanovskayaModel.sp_helpdiagrams_Result">
  1117. <ScalarProperty Name="Database" ColumnName="Database" />
  1118. <ScalarProperty Name="Name" ColumnName="Name" />
  1119. <ScalarProperty Name="ID" ColumnName="ID" />
  1120. <ScalarProperty Name="Owner" ColumnName="Owner" />
  1121. <ScalarProperty Name="OwnerID" ColumnName="OwnerID" />
  1122. </ComplexTypeMapping>
  1123. </ResultMapping>
  1124. </FunctionImportMapping>
  1125. <FunctionImportMapping FunctionImportName="sp_renamediagram" FunctionName="Хранилище BB_RomanovskayaModel.sp_renamediagram" />
  1126. <FunctionImportMapping FunctionImportName="sp_upgraddiagrams" FunctionName="Хранилище BB_RomanovskayaModel.sp_upgraddiagrams" />
  1127. </EntityContainerMapping>
  1128. </Mapping>
  1129. </edmx:Mappings>
  1130. </edmx:Runtime>
  1131. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  1132. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  1133. <Connection>
  1134. <DesignerInfoPropertySet>
  1135. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  1136. </DesignerInfoPropertySet>
  1137. </Connection>
  1138. <Options>
  1139. <DesignerInfoPropertySet>
  1140. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  1141. <DesignerProperty Name="EnablePluralization" Value="false" />
  1142. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  1143. <DesignerProperty Name="UseLegacyProvider" Value="true" />
  1144. <DesignerProperty Name="CodeGenerationStrategy" Value="Нет" />
  1145. </DesignerInfoPropertySet>
  1146. </Options>
  1147. <!-- Diagram content (shape and connector positions) -->
  1148. <Diagrams></Diagrams>
  1149. </Designer>
  1150. </edmx:Edmx>