Model1.edmx 45 KB

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