BB_GebelDataSet.xsd 139 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="BB_GebelDataSet" targetNamespace="http://tempuri.org/BB_GebelDataSet.xsd" xmlns:mstns="http://tempuri.org/BB_GebelDataSet.xsd" xmlns="http://tempuri.org/BB_GebelDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="BB_GebelConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="BB_GebelConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Бархатные_бровки_Gebel.Properties.Settings.GlobalReference.Default.BB_GebelConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AttachedProductTableAdapter" GeneratorDataComponentClassName="AttachedProductTableAdapter" Name="AttachedProduct" UserDataComponentName="AttachedProductTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.AttachedProduct" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[AttachedProduct] WHERE (([Main_Product_ID] = @Original_Main_Product_ID) AND ([Attached_Product_ID] = @Original_Attached_Product_ID))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Main_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Main_Product_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Attached_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attached_Product_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. </Parameters>
  20. </DbCommand>
  21. </DeleteCommand>
  22. <InsertCommand>
  23. <DbCommand CommandType="Text" ModifiedByUser="false">
  24. <CommandText>INSERT INTO [dbo].[AttachedProduct] ([Main_Product_ID]) VALUES (@Main_Product_ID);
  25. SELECT Main_Product_ID, Attached_Product_ID FROM AttachedProduct WHERE (Main_Product_ID = @Main_Product_ID)</CommandText>
  26. <Parameters>
  27. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Main_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Main_Product_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  28. </Parameters>
  29. </DbCommand>
  30. </InsertCommand>
  31. <SelectCommand>
  32. <DbCommand CommandType="Text" ModifiedByUser="false">
  33. <CommandText>SELECT Main_Product_ID, Attached_Product_ID FROM dbo.AttachedProduct</CommandText>
  34. <Parameters />
  35. </DbCommand>
  36. </SelectCommand>
  37. <UpdateCommand>
  38. <DbCommand CommandType="Text" ModifiedByUser="false">
  39. <CommandText>UPDATE [dbo].[AttachedProduct] SET [Main_Product_ID] = @Main_Product_ID WHERE (([Main_Product_ID] = @Original_Main_Product_ID) AND ([Attached_Product_ID] = @Original_Attached_Product_ID));
  40. SELECT Main_Product_ID, Attached_Product_ID FROM AttachedProduct WHERE (Main_Product_ID = @Main_Product_ID)</CommandText>
  41. <Parameters>
  42. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Main_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Main_Product_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  43. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Main_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Main_Product_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  44. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Attached_Product_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Attached_Product_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  45. </Parameters>
  46. </DbCommand>
  47. </UpdateCommand>
  48. </DbSource>
  49. </MainSource>
  50. <Mappings>
  51. <Mapping SourceColumn="Main_Product_ID" DataSetColumn="Main_Product_ID" />
  52. <Mapping SourceColumn="Attached_Product_ID" DataSetColumn="Attached_Product_ID" />
  53. </Mappings>
  54. <Sources />
  55. </TableAdapter>
  56. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AvtorizaciaTableAdapter" GeneratorDataComponentClassName="AvtorizaciaTableAdapter" Name="Avtorizacia" UserDataComponentName="AvtorizaciaTableAdapter">
  57. <MainSource>
  58. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Avtorizacia" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  59. <InsertCommand>
  60. <DbCommand CommandType="Text" ModifiedByUser="false">
  61. <CommandText>INSERT INTO [dbo].[Avtorizacia] ([Login], [Password]) VALUES (@Login, @Password)</CommandText>
  62. <Parameters>
  63. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
  64. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  65. </Parameters>
  66. </DbCommand>
  67. </InsertCommand>
  68. <SelectCommand>
  69. <DbCommand CommandType="Text" ModifiedByUser="false">
  70. <CommandText>SELECT Login, Password FROM dbo.Avtorizacia</CommandText>
  71. <Parameters />
  72. </DbCommand>
  73. </SelectCommand>
  74. </DbSource>
  75. </MainSource>
  76. <Mappings>
  77. <Mapping SourceColumn="Login" DataSetColumn="Login" />
  78. <Mapping SourceColumn="Password" DataSetColumn="Password" />
  79. </Mappings>
  80. <Sources />
  81. </TableAdapter>
  82. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="clientTableAdapter" GeneratorDataComponentClassName="clientTableAdapter" Name="client" UserDataComponentName="clientTableAdapter">
  83. <MainSource>
  84. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.client" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  85. <DeleteCommand>
  86. <DbCommand CommandType="Text" ModifiedByUser="false">
  87. <CommandText>DELETE FROM [dbo].[client] WHERE (([ID] = @Original_ID) AND ([Фамилия] = @Original_Фамилия) AND ([Имя] = @Original_Имя) AND ([Отчество] = @Original_Отчество) AND ([Пол] = @Original_Пол) AND ([Телефон] = @Original_Телефон) AND ([Дата_рождения] = @Original_Дата_рождения) AND ([Email] = @Original_Email) AND ([Дата_регистрации] = @Original_Дата_регистрации))</CommandText>
  88. <Parameters>
  89. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  90. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  91. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  92. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  93. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пол" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Original" />
  94. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  95. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
  96. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
  97. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_регистрации" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Original" />
  98. </Parameters>
  99. </DbCommand>
  100. </DeleteCommand>
  101. <InsertCommand>
  102. <DbCommand CommandType="Text" ModifiedByUser="false">
  103. <CommandText>INSERT INTO [dbo].[client] ([ID], [Фамилия], [Имя], [Отчество], [Пол], [Телефон], [Дата_рождения], [Email], [Дата_регистрации]) VALUES (@ID, @Фамилия, @Имя, @Отчество, @Пол, @Телефон, @Дата_рождения, @Email, @Дата_регистрации);
  104. SELECT ID, Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации FROM client WHERE (ID = @ID)</CommandText>
  105. <Parameters>
  106. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  107. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  108. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  109. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  110. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пол" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Current" />
  111. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  112. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
  113. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
  114. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_регистрации" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Current" />
  115. </Parameters>
  116. </DbCommand>
  117. </InsertCommand>
  118. <SelectCommand>
  119. <DbCommand CommandType="Text" ModifiedByUser="false">
  120. <CommandText>SELECT ID, Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации FROM dbo.client</CommandText>
  121. <Parameters />
  122. </DbCommand>
  123. </SelectCommand>
  124. <UpdateCommand>
  125. <DbCommand CommandType="Text" ModifiedByUser="false">
  126. <CommandText>UPDATE [dbo].[client] SET [ID] = @ID, [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Пол] = @Пол, [Телефон] = @Телефон, [Дата_рождения] = @Дата_рождения, [Email] = @Email, [Дата_регистрации] = @Дата_регистрации WHERE (([ID] = @Original_ID) AND ([Фамилия] = @Original_Фамилия) AND ([Имя] = @Original_Имя) AND ([Отчество] = @Original_Отчество) AND ([Пол] = @Original_Пол) AND ([Телефон] = @Original_Телефон) AND ([Дата_рождения] = @Original_Дата_рождения) AND ([Email] = @Original_Email) AND ([Дата_регистрации] = @Original_Дата_регистрации));
  127. SELECT ID, Фамилия, Имя, Отчество, Пол, Телефон, Дата_рождения, Email, Дата_регистрации FROM client WHERE (ID = @ID)</CommandText>
  128. <Parameters>
  129. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  130. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  131. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  132. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  133. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Пол" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Current" />
  134. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  135. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
  136. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
  137. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Дата_регистрации" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Current" />
  138. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  139. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  140. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  141. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  142. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Пол" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Original" />
  143. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  144. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
  145. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
  146. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@Original_Дата_регистрации" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Original" />
  147. </Parameters>
  148. </DbCommand>
  149. </UpdateCommand>
  150. </DbSource>
  151. </MainSource>
  152. <Mappings>
  153. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  154. <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
  155. <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
  156. <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
  157. <Mapping SourceColumn="Пол" DataSetColumn="Пол" />
  158. <Mapping SourceColumn="Телефон" DataSetColumn="Телефон" />
  159. <Mapping SourceColumn="Дата_рождения" DataSetColumn="Дата_рождения" />
  160. <Mapping SourceColumn="Email" DataSetColumn="Email" />
  161. <Mapping SourceColumn="Дата_регистрации" DataSetColumn="Дата_регистрации" />
  162. </Mappings>
  163. <Sources />
  164. </TableAdapter>
  165. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="client Service TableAdapter" GeneratorDataComponentClassName="client_Service_TableAdapter" Name="client Service " UserDataComponentName="client Service TableAdapter">
  166. <MainSource>
  167. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.[client Service ]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  168. <DeleteCommand>
  169. <DbCommand CommandType="Text" ModifiedByUser="false">
  170. <CommandText>DELETE FROM [dbo].[client Service ] WHERE (([ID] = @Original_ID) AND ([ID_client] = @Original_ID_client) AND ([ID_service] = @Original_ID_service) AND ([StartTime] = @Original_StartTime))</CommandText>
  171. <Parameters>
  172. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  173. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Original" />
  174. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  175. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Original" />
  176. </Parameters>
  177. </DbCommand>
  178. </DeleteCommand>
  179. <InsertCommand>
  180. <DbCommand CommandType="Text" ModifiedByUser="false">
  181. <CommandText>INSERT INTO [dbo].[client Service ] ([ID], [ID_client], [ID_service], [StartTime], [Comments]) VALUES (@ID, @ID_client, @ID_service, @StartTime, @Comments);
  182. SELECT ID, ID_client, ID_service, StartTime, Comments FROM [client Service ] WHERE (ID = @ID)</CommandText>
  183. <Parameters>
  184. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  185. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Current" />
  186. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  187. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Comments" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
  189. </Parameters>
  190. </DbCommand>
  191. </InsertCommand>
  192. <SelectCommand>
  193. <DbCommand CommandType="Text" ModifiedByUser="false">
  194. <CommandText>SELECT ID, ID_client, ID_service, StartTime, Comments FROM dbo.[client Service ]</CommandText>
  195. <Parameters />
  196. </DbCommand>
  197. </SelectCommand>
  198. <UpdateCommand>
  199. <DbCommand CommandType="Text" ModifiedByUser="false">
  200. <CommandText>UPDATE [dbo].[client Service ] SET [ID] = @ID, [ID_client] = @ID_client, [ID_service] = @ID_service, [StartTime] = @StartTime, [Comments] = @Comments WHERE (([ID] = @Original_ID) AND ([ID_client] = @Original_ID_client) AND ([ID_service] = @Original_ID_service) AND ([StartTime] = @Original_StartTime));
  201. SELECT ID, ID_client, ID_service, StartTime, Comments FROM [client Service ] WHERE (ID = @ID)</CommandText>
  202. <Parameters>
  203. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  204. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Current" />
  205. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  206. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Current" />
  207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Comments" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comments" SourceColumnNullMapping="false" SourceVersion="Current" />
  208. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  209. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Original" />
  210. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  211. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartTime" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartTime" SourceColumnNullMapping="false" SourceVersion="Original" />
  212. </Parameters>
  213. </DbCommand>
  214. </UpdateCommand>
  215. </DbSource>
  216. </MainSource>
  217. <Mappings>
  218. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  219. <Mapping SourceColumn="ID_client" DataSetColumn="ID_client" />
  220. <Mapping SourceColumn="ID_service" DataSetColumn="ID_service" />
  221. <Mapping SourceColumn="StartTime" DataSetColumn="StartTime" />
  222. <Mapping SourceColumn="Comments" DataSetColumn="Comments" />
  223. </Mappings>
  224. <Sources />
  225. </TableAdapter>
  226. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DocumentServiceTableAdapter" GeneratorDataComponentClassName="DocumentServiceTableAdapter" Name="DocumentService" UserDataComponentName="DocumentServiceTableAdapter">
  227. <MainSource>
  228. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.DocumentService" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  229. <DeleteCommand>
  230. <DbCommand CommandType="Text" ModifiedByUser="false">
  231. <CommandText>DELETE FROM [dbo].[DocumentService] WHERE (([ID] = @Original_ID) AND ([ID_client_service] = @Original_ID_client_service))</CommandText>
  232. <Parameters>
  233. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  234. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  235. </Parameters>
  236. </DbCommand>
  237. </DeleteCommand>
  238. <InsertCommand>
  239. <DbCommand CommandType="Text" ModifiedByUser="false">
  240. <CommandText>INSERT INTO [dbo].[DocumentService] ([ID], [ID_client_service], [DocumentPath]) VALUES (@ID, @ID_client_service, @DocumentPath);
  241. SELECT ID, ID_client_service, DocumentPath FROM DocumentService WHERE (ID = @ID)</CommandText>
  242. <Parameters>
  243. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  244. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  245. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocumentPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocumentPath" SourceColumnNullMapping="false" SourceVersion="Current" />
  246. </Parameters>
  247. </DbCommand>
  248. </InsertCommand>
  249. <SelectCommand>
  250. <DbCommand CommandType="Text" ModifiedByUser="false">
  251. <CommandText>SELECT ID, ID_client_service, DocumentPath FROM dbo.DocumentService</CommandText>
  252. <Parameters />
  253. </DbCommand>
  254. </SelectCommand>
  255. <UpdateCommand>
  256. <DbCommand CommandType="Text" ModifiedByUser="false">
  257. <CommandText>UPDATE [dbo].[DocumentService] SET [ID] = @ID, [ID_client_service] = @ID_client_service, [DocumentPath] = @DocumentPath WHERE (([ID] = @Original_ID) AND ([ID_client_service] = @Original_ID_client_service));
  258. SELECT ID, ID_client_service, DocumentPath FROM DocumentService WHERE (ID = @ID)</CommandText>
  259. <Parameters>
  260. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  261. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  262. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DocumentPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DocumentPath" SourceColumnNullMapping="false" SourceVersion="Current" />
  263. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  264. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  265. </Parameters>
  266. </DbCommand>
  267. </UpdateCommand>
  268. </DbSource>
  269. </MainSource>
  270. <Mappings>
  271. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  272. <Mapping SourceColumn="ID_client_service" DataSetColumn="ID_client_service" />
  273. <Mapping SourceColumn="DocumentPath" DataSetColumn="DocumentPath" />
  274. </Mappings>
  275. <Sources />
  276. </TableAdapter>
  277. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GenderTableAdapter" GeneratorDataComponentClassName="GenderTableAdapter" Name="Gender" UserDataComponentName="GenderTableAdapter">
  278. <MainSource>
  279. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Gender" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  280. <DeleteCommand>
  281. <DbCommand CommandType="Text" ModifiedByUser="false">
  282. <CommandText>DELETE FROM [dbo].[Gender] WHERE (([Code] = @Original_Code) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
  283. <Parameters>
  284. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Original" />
  285. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  287. </Parameters>
  288. </DbCommand>
  289. </DeleteCommand>
  290. <InsertCommand>
  291. <DbCommand CommandType="Text" ModifiedByUser="false">
  292. <CommandText>INSERT INTO [dbo].[Gender] ([Code], [Name]) VALUES (@Code, @Name);
  293. SELECT Code, Name FROM Gender WHERE (Code = @Code)</CommandText>
  294. <Parameters>
  295. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Current" />
  296. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  297. </Parameters>
  298. </DbCommand>
  299. </InsertCommand>
  300. <SelectCommand>
  301. <DbCommand CommandType="Text" ModifiedByUser="false">
  302. <CommandText>SELECT Code, Name FROM dbo.Gender</CommandText>
  303. <Parameters />
  304. </DbCommand>
  305. </SelectCommand>
  306. <UpdateCommand>
  307. <DbCommand CommandType="Text" ModifiedByUser="false">
  308. <CommandText>UPDATE [dbo].[Gender] SET [Code] = @Code, [Name] = @Name WHERE (([Code] = @Original_Code) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
  309. SELECT Code, Name FROM Gender WHERE (Code = @Code)</CommandText>
  310. <Parameters>
  311. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Current" />
  312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  313. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Code" SourceColumnNullMapping="false" SourceVersion="Original" />
  314. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
  315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  316. </Parameters>
  317. </DbCommand>
  318. </UpdateCommand>
  319. </DbSource>
  320. </MainSource>
  321. <Mappings>
  322. <Mapping SourceColumn="Code" DataSetColumn="Code" />
  323. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  324. </Mappings>
  325. <Sources />
  326. </TableAdapter>
  327. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ManufactureTableAdapter" GeneratorDataComponentClassName="ManufactureTableAdapter" Name="Manufacture" UserDataComponentName="ManufactureTableAdapter">
  328. <MainSource>
  329. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Manufacture" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  330. <DeleteCommand>
  331. <DbCommand CommandType="Text" ModifiedByUser="false">
  332. <CommandText>DELETE FROM [dbo].[Manufacture] WHERE (([ID] = @Original_ID) AND ([Name] = @Original_Name) AND ((@IsNull_Date_Start = 1 AND [Date_Start] IS NULL) OR ([Date_Start] = @Original_Date_Start)))</CommandText>
  333. <Parameters>
  334. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  335. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  336. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date_Start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="true" SourceVersion="Original" />
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_Start" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="false" SourceVersion="Original" />
  338. </Parameters>
  339. </DbCommand>
  340. </DeleteCommand>
  341. <InsertCommand>
  342. <DbCommand CommandType="Text" ModifiedByUser="false">
  343. <CommandText>INSERT INTO [dbo].[Manufacture] ([ID], [Name], [Date_Start]) VALUES (@ID, @Name, @Date_Start);
  344. SELECT ID, Name, Date_Start FROM Manufacture WHERE (ID = @ID)</CommandText>
  345. <Parameters>
  346. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  347. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  348. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_Start" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="false" SourceVersion="Current" />
  349. </Parameters>
  350. </DbCommand>
  351. </InsertCommand>
  352. <SelectCommand>
  353. <DbCommand CommandType="Text" ModifiedByUser="false">
  354. <CommandText>SELECT ID, Name, Date_Start FROM dbo.Manufacture</CommandText>
  355. <Parameters />
  356. </DbCommand>
  357. </SelectCommand>
  358. <UpdateCommand>
  359. <DbCommand CommandType="Text" ModifiedByUser="false">
  360. <CommandText>UPDATE [dbo].[Manufacture] SET [ID] = @ID, [Name] = @Name, [Date_Start] = @Date_Start WHERE (([ID] = @Original_ID) AND ([Name] = @Original_Name) AND ((@IsNull_Date_Start = 1 AND [Date_Start] IS NULL) OR ([Date_Start] = @Original_Date_Start)));
  361. SELECT ID, Name, Date_Start FROM Manufacture WHERE (ID = @ID)</CommandText>
  362. <Parameters>
  363. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  364. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  365. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_Start" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="false" SourceVersion="Current" />
  366. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  367. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  368. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date_Start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="true" SourceVersion="Original" />
  369. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_Start" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Start" SourceColumnNullMapping="false" SourceVersion="Original" />
  370. </Parameters>
  371. </DbCommand>
  372. </UpdateCommand>
  373. </DbSource>
  374. </MainSource>
  375. <Mappings>
  376. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  377. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  378. <Mapping SourceColumn="Date_Start" DataSetColumn="Date_Start" />
  379. </Mappings>
  380. <Sources />
  381. </TableAdapter>
  382. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Photo prouctTableAdapter" GeneratorDataComponentClassName="Photo_prouctTableAdapter" Name="Photo prouct" UserDataComponentName="Photo prouctTableAdapter">
  383. <MainSource>
  384. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.[Photo prouct]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  385. <DeleteCommand>
  386. <DbCommand CommandType="Text" ModifiedByUser="false">
  387. <CommandText>DELETE FROM [dbo].[Photo prouct] WHERE (([ID] = @Original_ID) AND ([ID_product] = @Original_ID_product) AND ([Path_photo] = @Original_Path_photo))</CommandText>
  388. <Parameters>
  389. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  390. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_product" SourceColumnNullMapping="false" SourceVersion="Original" />
  391. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  392. </Parameters>
  393. </DbCommand>
  394. </DeleteCommand>
  395. <InsertCommand>
  396. <DbCommand CommandType="Text" ModifiedByUser="false">
  397. <CommandText>INSERT INTO [dbo].[Photo prouct] ([ID], [ID_product], [Path_photo]) VALUES (@ID, @ID_product, @Path_photo);
  398. SELECT ID, ID_product, Path_photo FROM [Photo prouct] WHERE (ID = @ID)</CommandText>
  399. <Parameters>
  400. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  401. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_product" SourceColumnNullMapping="false" SourceVersion="Current" />
  402. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  403. </Parameters>
  404. </DbCommand>
  405. </InsertCommand>
  406. <SelectCommand>
  407. <DbCommand CommandType="Text" ModifiedByUser="false">
  408. <CommandText>SELECT ID, ID_product, Path_photo FROM dbo.[Photo prouct]</CommandText>
  409. <Parameters />
  410. </DbCommand>
  411. </SelectCommand>
  412. <UpdateCommand>
  413. <DbCommand CommandType="Text" ModifiedByUser="false">
  414. <CommandText>UPDATE [dbo].[Photo prouct] SET [ID] = @ID, [ID_product] = @ID_product, [Path_photo] = @Path_photo WHERE (([ID] = @Original_ID) AND ([ID_product] = @Original_ID_product) AND ([Path_photo] = @Original_Path_photo));
  415. SELECT ID, ID_product, Path_photo FROM [Photo prouct] WHERE (ID = @ID)</CommandText>
  416. <Parameters>
  417. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  418. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_product" SourceColumnNullMapping="false" SourceVersion="Current" />
  419. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  420. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  421. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_product" SourceColumnNullMapping="false" SourceVersion="Original" />
  422. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Original" />
  423. </Parameters>
  424. </DbCommand>
  425. </UpdateCommand>
  426. </DbSource>
  427. </MainSource>
  428. <Mappings>
  429. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  430. <Mapping SourceColumn="ID_product" DataSetColumn="ID_product" />
  431. <Mapping SourceColumn="Path_photo" DataSetColumn="Path_photo" />
  432. </Mappings>
  433. <Sources />
  434. </TableAdapter>
  435. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
  436. <MainSource>
  437. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  438. <DeleteCommand>
  439. <DbCommand CommandType="Text" ModifiedByUser="false">
  440. <CommandText>DELETE FROM [dbo].[Product] WHERE (([ID] = @Original_ID) AND ([Cost] = @Original_Cost) AND ([Active] = @Original_Active) AND ((@IsNull_ID_manufacturer = 1 AND [ID_manufacturer] IS NULL) OR ([ID_manufacturer] = @Original_ID_manufacturer)))</CommandText>
  441. <Parameters>
  442. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  443. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Cost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
  444. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Active" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Original" />
  445. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="true" SourceVersion="Original" />
  446. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="false" SourceVersion="Original" />
  447. </Parameters>
  448. </DbCommand>
  449. </DeleteCommand>
  450. <InsertCommand>
  451. <DbCommand CommandType="Text" ModifiedByUser="false">
  452. <CommandText>INSERT INTO [dbo].[Product] ([ID], [Title], [Cost], [Description], [Path_MainImage], [Active], [ID_manufacturer]) VALUES (@ID, @Title, @Cost, @Description, @Path_MainImage, @Active, @ID_manufacturer);
  453. SELECT ID, Title, Cost, Description, Path_MainImage, Active, ID_manufacturer FROM Product WHERE (ID = @ID)</CommandText>
  454. <Parameters>
  455. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  456. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  457. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Cost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
  458. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  459. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_MainImage" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_MainImage" SourceColumnNullMapping="false" SourceVersion="Current" />
  460. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Active" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Current" />
  461. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  462. </Parameters>
  463. </DbCommand>
  464. </InsertCommand>
  465. <SelectCommand>
  466. <DbCommand CommandType="Text" ModifiedByUser="false">
  467. <CommandText>SELECT ID, Title, Cost, Description, Path_MainImage, Active, ID_manufacturer FROM dbo.Product</CommandText>
  468. <Parameters />
  469. </DbCommand>
  470. </SelectCommand>
  471. <UpdateCommand>
  472. <DbCommand CommandType="Text" ModifiedByUser="false">
  473. <CommandText>UPDATE [dbo].[Product] SET [ID] = @ID, [Title] = @Title, [Cost] = @Cost, [Description] = @Description, [Path_MainImage] = @Path_MainImage, [Active] = @Active, [ID_manufacturer] = @ID_manufacturer WHERE (([ID] = @Original_ID) AND ([Cost] = @Original_Cost) AND ([Active] = @Original_Active) AND ((@IsNull_ID_manufacturer = 1 AND [ID_manufacturer] IS NULL) OR ([ID_manufacturer] = @Original_ID_manufacturer)));
  474. SELECT ID, Title, Cost, Description, Path_MainImage, Active, ID_manufacturer FROM Product WHERE (ID = @ID)</CommandText>
  475. <Parameters>
  476. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  477. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  478. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Cost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Current" />
  479. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  480. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_MainImage" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_MainImage" SourceColumnNullMapping="false" SourceVersion="Current" />
  481. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Active" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Current" />
  482. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  483. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  484. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Cost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cost" SourceColumnNullMapping="false" SourceVersion="Original" />
  485. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Active" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Active" SourceColumnNullMapping="false" SourceVersion="Original" />
  486. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="true" SourceVersion="Original" />
  487. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_manufacturer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_manufacturer" SourceColumnNullMapping="false" SourceVersion="Original" />
  488. </Parameters>
  489. </DbCommand>
  490. </UpdateCommand>
  491. </DbSource>
  492. </MainSource>
  493. <Mappings>
  494. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  495. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  496. <Mapping SourceColumn="Cost" DataSetColumn="Cost" />
  497. <Mapping SourceColumn="Description" DataSetColumn="Description" />
  498. <Mapping SourceColumn="Path_MainImage" DataSetColumn="Path_MainImage" />
  499. <Mapping SourceColumn="Active" DataSetColumn="Active" />
  500. <Mapping SourceColumn="ID_manufacturer" DataSetColumn="ID_manufacturer" />
  501. </Mappings>
  502. <Sources />
  503. </TableAdapter>
  504. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SaleTableAdapter" GeneratorDataComponentClassName="SaleTableAdapter" Name="Sale" UserDataComponentName="SaleTableAdapter">
  505. <MainSource>
  506. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Sale" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  507. <DeleteCommand>
  508. <DbCommand CommandType="Text" ModifiedByUser="false">
  509. <CommandText>DELETE FROM [dbo].[Sale] WHERE (([ID] = @Original_ID) AND ([Date_Sale] = @Original_Date_Sale) AND ([ID_Product] = @Original_ID_Product) AND ([Quantity] = @Original_Quantity) AND ((@IsNull_ID_client_service = 1 AND [ID_client_service] IS NULL) OR ([ID_client_service] = @Original_ID_client_service)))</CommandText>
  510. <Parameters>
  511. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  512. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_Sale" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Sale" SourceColumnNullMapping="false" SourceVersion="Original" />
  513. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Product" SourceColumnNullMapping="false" SourceVersion="Original" />
  514. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
  515. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="true" SourceVersion="Original" />
  516. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  517. </Parameters>
  518. </DbCommand>
  519. </DeleteCommand>
  520. <InsertCommand>
  521. <DbCommand CommandType="Text" ModifiedByUser="false">
  522. <CommandText>INSERT INTO [dbo].[Sale] ([ID], [Date_Sale], [ID_Product], [Quantity], [ID_client_service]) VALUES (@ID, @Date_Sale, @ID_Product, @Quantity, @ID_client_service);
  523. SELECT ID, Date_Sale, ID_Product, Quantity, ID_client_service FROM Sale WHERE (ID = @ID)</CommandText>
  524. <Parameters>
  525. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  526. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_Sale" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Sale" SourceColumnNullMapping="false" SourceVersion="Current" />
  527. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Product" SourceColumnNullMapping="false" SourceVersion="Current" />
  528. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
  529. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  530. </Parameters>
  531. </DbCommand>
  532. </InsertCommand>
  533. <SelectCommand>
  534. <DbCommand CommandType="Text" ModifiedByUser="false">
  535. <CommandText>SELECT ID, Date_Sale, ID_Product, Quantity, ID_client_service FROM dbo.Sale</CommandText>
  536. <Parameters />
  537. </DbCommand>
  538. </SelectCommand>
  539. <UpdateCommand>
  540. <DbCommand CommandType="Text" ModifiedByUser="false">
  541. <CommandText>UPDATE [dbo].[Sale] SET [ID] = @ID, [Date_Sale] = @Date_Sale, [ID_Product] = @ID_Product, [Quantity] = @Quantity, [ID_client_service] = @ID_client_service WHERE (([ID] = @Original_ID) AND ([Date_Sale] = @Original_Date_Sale) AND ([ID_Product] = @Original_ID_Product) AND ([Quantity] = @Original_Quantity) AND ((@IsNull_ID_client_service = 1 AND [ID_client_service] IS NULL) OR ([ID_client_service] = @Original_ID_client_service)));
  542. SELECT ID, Date_Sale, ID_Product, Quantity, ID_client_service FROM Sale WHERE (ID = @ID)</CommandText>
  543. <Parameters>
  544. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  545. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_Sale" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Sale" SourceColumnNullMapping="false" SourceVersion="Current" />
  546. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Product" SourceColumnNullMapping="false" SourceVersion="Current" />
  547. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
  548. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Current" />
  549. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  550. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_Sale" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_Sale" SourceColumnNullMapping="false" SourceVersion="Original" />
  551. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Product" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Product" SourceColumnNullMapping="false" SourceVersion="Original" />
  552. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
  553. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="true" SourceVersion="Original" />
  554. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client_service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client_service" SourceColumnNullMapping="false" SourceVersion="Original" />
  555. </Parameters>
  556. </DbCommand>
  557. </UpdateCommand>
  558. </DbSource>
  559. </MainSource>
  560. <Mappings>
  561. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  562. <Mapping SourceColumn="Date_Sale" DataSetColumn="Date_Sale" />
  563. <Mapping SourceColumn="ID_Product" DataSetColumn="ID_Product" />
  564. <Mapping SourceColumn="Quantity" DataSetColumn="Quantity" />
  565. <Mapping SourceColumn="ID_client_service" DataSetColumn="ID_client_service" />
  566. </Mappings>
  567. <Sources />
  568. </TableAdapter>
  569. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="serviceTableAdapter" GeneratorDataComponentClassName="serviceTableAdapter" Name="service" UserDataComponentName="serviceTableAdapter">
  570. <MainSource>
  571. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.service" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  572. <DeleteCommand>
  573. <DbCommand CommandType="Text" ModifiedByUser="false">
  574. <CommandText>DELETE FROM [dbo].[service] WHERE (([ID] = @Original_ID) AND ([Наименование_услуги] = @Original_Наименование_услуги) AND ([Главное_изображение] = @Original_Главное_изображение) AND ([Длительность] = @Original_Длительность) AND ([Стоимость] = @Original_Стоимость) AND ([Действующая_скидка] = @Original_Действующая_скидка))</CommandText>
  575. <Parameters>
  576. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  577. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_услуги" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_услуги" SourceColumnNullMapping="false" SourceVersion="Original" />
  578. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  579. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Длительность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Длительность" SourceColumnNullMapping="false" SourceVersion="Original" />
  580. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Стоимость" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Original" />
  581. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  582. </Parameters>
  583. </DbCommand>
  584. </DeleteCommand>
  585. <InsertCommand>
  586. <DbCommand CommandType="Text" ModifiedByUser="false">
  587. <CommandText>INSERT INTO [dbo].[service] ([ID], [Наименование_услуги], [Главное_изображение], [Длительность], [Стоимость], [Действующая_скидка]) VALUES (@ID, @Наименование_услуги, @Главное_изображение, @Длительность, @Стоимость, @Действующая_скидка);
  588. SELECT ID, Наименование_услуги, Главное_изображение, Длительность, Стоимость, Действующая_скидка FROM service WHERE (ID = @ID)</CommandText>
  589. <Parameters>
  590. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  591. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование_услуги" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_услуги" SourceColumnNullMapping="false" SourceVersion="Current" />
  592. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  593. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Длительность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Длительность" SourceColumnNullMapping="false" SourceVersion="Current" />
  594. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Стоимость" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Current" />
  595. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  596. </Parameters>
  597. </DbCommand>
  598. </InsertCommand>
  599. <SelectCommand>
  600. <DbCommand CommandType="Text" ModifiedByUser="false">
  601. <CommandText>SELECT ID, Наименование_услуги, Главное_изображение, Длительность, Стоимость, Действующая_скидка FROM dbo.service</CommandText>
  602. <Parameters />
  603. </DbCommand>
  604. </SelectCommand>
  605. <UpdateCommand>
  606. <DbCommand CommandType="Text" ModifiedByUser="false">
  607. <CommandText>UPDATE [dbo].[service] SET [ID] = @ID, [Наименование_услуги] = @Наименование_услуги, [Главное_изображение] = @Главное_изображение, [Длительность] = @Длительность, [Стоимость] = @Стоимость, [Действующая_скидка] = @Действующая_скидка WHERE (([ID] = @Original_ID) AND ([Наименование_услуги] = @Original_Наименование_услуги) AND ([Главное_изображение] = @Original_Главное_изображение) AND ([Длительность] = @Original_Длительность) AND ([Стоимость] = @Original_Стоимость) AND ([Действующая_скидка] = @Original_Действующая_скидка));
  608. SELECT ID, Наименование_услуги, Главное_изображение, Длительность, Стоимость, Действующая_скидка FROM service WHERE (ID = @ID)</CommandText>
  609. <Parameters>
  610. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  611. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Наименование_услуги" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_услуги" SourceColumnNullMapping="false" SourceVersion="Current" />
  612. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  613. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Длительность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Длительность" SourceColumnNullMapping="false" SourceVersion="Current" />
  614. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Стоимость" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Current" />
  615. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  616. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  617. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Наименование_услуги" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Наименование_услуги" SourceColumnNullMapping="false" SourceVersion="Original" />
  618. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Главное_изображение" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Главное_изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  619. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Длительность" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Длительность" SourceColumnNullMapping="false" SourceVersion="Original" />
  620. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Стоимость" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Стоимость" SourceColumnNullMapping="false" SourceVersion="Original" />
  621. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Действующая_скидка" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Действующая_скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  622. </Parameters>
  623. </DbCommand>
  624. </UpdateCommand>
  625. </DbSource>
  626. </MainSource>
  627. <Mappings>
  628. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  629. <Mapping SourceColumn="Наименование_услуги" DataSetColumn="Наименование_услуги" />
  630. <Mapping SourceColumn="Главное_изображение" DataSetColumn="Главное_изображение" />
  631. <Mapping SourceColumn="Длительность" DataSetColumn="Длительность" />
  632. <Mapping SourceColumn="Стоимость" DataSetColumn="Стоимость" />
  633. <Mapping SourceColumn="Действующая_скидка" DataSetColumn="Действующая_скидка" />
  634. </Mappings>
  635. <Sources />
  636. </TableAdapter>
  637. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Service photoTableAdapter" GeneratorDataComponentClassName="Service_photoTableAdapter" Name="Service photo" UserDataComponentName="Service photoTableAdapter">
  638. <MainSource>
  639. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.[Service photo]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  640. <DeleteCommand>
  641. <DbCommand CommandType="Text" ModifiedByUser="false">
  642. <CommandText>DELETE FROM [dbo].[Service photo] WHERE (([ID] = @Original_ID) AND ([ID_Service] = @Original_ID_Service))</CommandText>
  643. <Parameters>
  644. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  645. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Service" SourceColumnNullMapping="false" SourceVersion="Original" />
  646. </Parameters>
  647. </DbCommand>
  648. </DeleteCommand>
  649. <InsertCommand>
  650. <DbCommand CommandType="Text" ModifiedByUser="false">
  651. <CommandText>INSERT INTO [dbo].[Service photo] ([ID], [ID_Service], [Path_photo]) VALUES (@ID, @ID_Service, @Path_photo);
  652. SELECT ID, ID_Service, Path_photo FROM [Service photo] WHERE (ID = @ID)</CommandText>
  653. <Parameters>
  654. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  655. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Service" SourceColumnNullMapping="false" SourceVersion="Current" />
  656. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  657. </Parameters>
  658. </DbCommand>
  659. </InsertCommand>
  660. <SelectCommand>
  661. <DbCommand CommandType="Text" ModifiedByUser="false">
  662. <CommandText>SELECT ID, ID_Service, Path_photo FROM dbo.[Service photo]</CommandText>
  663. <Parameters />
  664. </DbCommand>
  665. </SelectCommand>
  666. <UpdateCommand>
  667. <DbCommand CommandType="Text" ModifiedByUser="false">
  668. <CommandText>UPDATE [dbo].[Service photo] SET [ID] = @ID, [ID_Service] = @ID_Service, [Path_photo] = @Path_photo WHERE (([ID] = @Original_ID) AND ([ID_Service] = @Original_ID_Service));
  669. SELECT ID, ID_Service, Path_photo FROM [Service photo] WHERE (ID = @ID)</CommandText>
  670. <Parameters>
  671. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  672. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Service" SourceColumnNullMapping="false" SourceVersion="Current" />
  673. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Path_photo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Path_photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  674. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  675. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Service" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Service" SourceColumnNullMapping="false" SourceVersion="Original" />
  676. </Parameters>
  677. </DbCommand>
  678. </UpdateCommand>
  679. </DbSource>
  680. </MainSource>
  681. <Mappings>
  682. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  683. <Mapping SourceColumn="ID_Service" DataSetColumn="ID_Service" />
  684. <Mapping SourceColumn="Path_photo" DataSetColumn="Path_photo" />
  685. </Mappings>
  686. <Sources />
  687. </TableAdapter>
  688. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TagTableAdapter" GeneratorDataComponentClassName="TagTableAdapter" Name="Tag" UserDataComponentName="TagTableAdapter">
  689. <MainSource>
  690. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.Tag" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  691. <DeleteCommand>
  692. <DbCommand CommandType="Text" ModifiedByUser="false">
  693. <CommandText>DELETE FROM [dbo].[Tag] WHERE (([ID] = @Original_ID))</CommandText>
  694. <Parameters>
  695. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  696. </Parameters>
  697. </DbCommand>
  698. </DeleteCommand>
  699. <InsertCommand>
  700. <DbCommand CommandType="Text" ModifiedByUser="false">
  701. <CommandText>INSERT INTO [dbo].[Tag] ([ID], [Title], [Color]) VALUES (@ID, @Title, @Color);
  702. SELECT ID, Title, Color FROM Tag WHERE (ID = @ID)</CommandText>
  703. <Parameters>
  704. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  705. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  706. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
  707. </Parameters>
  708. </DbCommand>
  709. </InsertCommand>
  710. <SelectCommand>
  711. <DbCommand CommandType="Text" ModifiedByUser="false">
  712. <CommandText>SELECT ID, Title, Color FROM dbo.Tag</CommandText>
  713. <Parameters />
  714. </DbCommand>
  715. </SelectCommand>
  716. <UpdateCommand>
  717. <DbCommand CommandType="Text" ModifiedByUser="false">
  718. <CommandText>UPDATE [dbo].[Tag] SET [ID] = @ID, [Title] = @Title, [Color] = @Color WHERE (([ID] = @Original_ID));
  719. SELECT ID, Title, Color FROM Tag WHERE (ID = @ID)</CommandText>
  720. <Parameters>
  721. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  722. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
  723. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
  724. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  725. </Parameters>
  726. </DbCommand>
  727. </UpdateCommand>
  728. </DbSource>
  729. </MainSource>
  730. <Mappings>
  731. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  732. <Mapping SourceColumn="Title" DataSetColumn="Title" />
  733. <Mapping SourceColumn="Color" DataSetColumn="Color" />
  734. </Mappings>
  735. <Sources />
  736. </TableAdapter>
  737. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Tag clientTableAdapter" GeneratorDataComponentClassName="Tag_clientTableAdapter" Name="Tag client" UserDataComponentName="Tag clientTableAdapter">
  738. <MainSource>
  739. <DbSource ConnectionRef="BB_GebelConnectionString (Settings)" DbObjectName="BB_Gebel.dbo.[Tag client]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  740. <DeleteCommand>
  741. <DbCommand CommandType="Text" ModifiedByUser="false">
  742. <CommandText>DELETE FROM [dbo].[Tag client] WHERE (([ID_client] = @Original_ID_client) AND ([ID_Tag] = @Original_ID_Tag))</CommandText>
  743. <Parameters>
  744. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Original" />
  745. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Tag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Tag" SourceColumnNullMapping="false" SourceVersion="Original" />
  746. </Parameters>
  747. </DbCommand>
  748. </DeleteCommand>
  749. <InsertCommand>
  750. <DbCommand CommandType="Text" ModifiedByUser="false">
  751. <CommandText>INSERT INTO [dbo].[Tag client] ([ID_client], [ID_Tag]) VALUES (@ID_client, @ID_Tag);
  752. SELECT ID_client, ID_Tag FROM [Tag client] WHERE (ID_client = @ID_client)</CommandText>
  753. <Parameters>
  754. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Current" />
  755. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Tag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Tag" SourceColumnNullMapping="false" SourceVersion="Current" />
  756. </Parameters>
  757. </DbCommand>
  758. </InsertCommand>
  759. <SelectCommand>
  760. <DbCommand CommandType="Text" ModifiedByUser="false">
  761. <CommandText>SELECT ID_client, ID_Tag FROM dbo.[Tag client]</CommandText>
  762. <Parameters />
  763. </DbCommand>
  764. </SelectCommand>
  765. <UpdateCommand>
  766. <DbCommand CommandType="Text" ModifiedByUser="false">
  767. <CommandText>UPDATE [dbo].[Tag client] SET [ID_client] = @ID_client, [ID_Tag] = @ID_Tag WHERE (([ID_client] = @Original_ID_client) AND ([ID_Tag] = @Original_ID_Tag));
  768. SELECT ID_client, ID_Tag FROM [Tag client] WHERE (ID_client = @ID_client)</CommandText>
  769. <Parameters>
  770. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Current" />
  771. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Tag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Tag" SourceColumnNullMapping="false" SourceVersion="Current" />
  772. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_client" SourceColumnNullMapping="false" SourceVersion="Original" />
  773. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Tag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Tag" SourceColumnNullMapping="false" SourceVersion="Original" />
  774. </Parameters>
  775. </DbCommand>
  776. </UpdateCommand>
  777. </DbSource>
  778. </MainSource>
  779. <Mappings>
  780. <Mapping SourceColumn="ID_client" DataSetColumn="ID_client" />
  781. <Mapping SourceColumn="ID_Tag" DataSetColumn="ID_Tag" />
  782. </Mappings>
  783. <Sources />
  784. </TableAdapter>
  785. </Tables>
  786. <Sources />
  787. </DataSource>
  788. </xs:appinfo>
  789. </xs:annotation>
  790. <xs:element name="BB_GebelDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="BB_GebelDataSet" msprop:Generator_UserDSName="BB_GebelDataSet">
  791. <xs:complexType>
  792. <xs:choice minOccurs="0" maxOccurs="unbounded">
  793. <xs:element name="AttachedProduct" msprop:Generator_TableClassName="AttachedProductDataTable" msprop:Generator_TableVarName="tableAttachedProduct" msprop:Generator_TablePropName="AttachedProduct" msprop:Generator_RowDeletingName="AttachedProductRowDeleting" msprop:Generator_RowChangingName="AttachedProductRowChanging" msprop:Generator_RowEvHandlerName="AttachedProductRowChangeEventHandler" msprop:Generator_RowDeletedName="AttachedProductRowDeleted" msprop:Generator_UserTableName="AttachedProduct" msprop:Generator_RowChangedName="AttachedProductRowChanged" msprop:Generator_RowEvArgName="AttachedProductRowChangeEvent" msprop:Generator_RowClassName="AttachedProductRow">
  794. <xs:complexType>
  795. <xs:sequence>
  796. <xs:element name="Main_Product_ID" msprop:Generator_ColumnVarNameInTable="columnMain_Product_ID" msprop:Generator_ColumnPropNameInRow="Main_Product_ID" msprop:Generator_ColumnPropNameInTable="Main_Product_IDColumn" msprop:Generator_UserColumnName="Main_Product_ID" type="xs:int" />
  797. <xs:element name="Attached_Product_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnAttached_Product_ID" msprop:Generator_ColumnPropNameInRow="Attached_Product_ID" msprop:Generator_ColumnPropNameInTable="Attached_Product_IDColumn" msprop:Generator_UserColumnName="Attached_Product_ID" type="xs:int" />
  798. </xs:sequence>
  799. </xs:complexType>
  800. </xs:element>
  801. <xs:element name="Avtorizacia" msprop:Generator_TableClassName="AvtorizaciaDataTable" msprop:Generator_TableVarName="tableAvtorizacia" msprop:Generator_TablePropName="Avtorizacia" msprop:Generator_RowDeletingName="AvtorizaciaRowDeleting" msprop:Generator_RowChangingName="AvtorizaciaRowChanging" msprop:Generator_RowEvHandlerName="AvtorizaciaRowChangeEventHandler" msprop:Generator_RowDeletedName="AvtorizaciaRowDeleted" msprop:Generator_UserTableName="Avtorizacia" msprop:Generator_RowChangedName="AvtorizaciaRowChanged" msprop:Generator_RowEvArgName="AvtorizaciaRowChangeEvent" msprop:Generator_RowClassName="AvtorizaciaRow">
  802. <xs:complexType>
  803. <xs:sequence>
  804. <xs:element name="Login" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_UserColumnName="Login">
  805. <xs:simpleType>
  806. <xs:restriction base="xs:string">
  807. <xs:maxLength value="2147483647" />
  808. </xs:restriction>
  809. </xs:simpleType>
  810. </xs:element>
  811. <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password">
  812. <xs:simpleType>
  813. <xs:restriction base="xs:string">
  814. <xs:maxLength value="2147483647" />
  815. </xs:restriction>
  816. </xs:simpleType>
  817. </xs:element>
  818. </xs:sequence>
  819. </xs:complexType>
  820. </xs:element>
  821. <xs:element name="client" msprop:Generator_TableClassName="clientDataTable" msprop:Generator_TableVarName="tableclient" msprop:Generator_TablePropName="client" msprop:Generator_RowDeletingName="clientRowDeleting" msprop:Generator_RowChangingName="clientRowChanging" msprop:Generator_RowEvHandlerName="clientRowChangeEventHandler" msprop:Generator_RowDeletedName="clientRowDeleted" msprop:Generator_UserTableName="client" msprop:Generator_RowChangedName="clientRowChanged" msprop:Generator_RowEvArgName="clientRowChangeEvent" msprop:Generator_RowClassName="clientRow">
  822. <xs:complexType>
  823. <xs:sequence>
  824. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID">
  825. <xs:simpleType>
  826. <xs:restriction base="xs:string">
  827. <xs:maxLength value="50" />
  828. </xs:restriction>
  829. </xs:simpleType>
  830. </xs:element>
  831. <xs:element name="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_UserColumnName="Фамилия">
  832. <xs:simpleType>
  833. <xs:restriction base="xs:string">
  834. <xs:maxLength value="50" />
  835. </xs:restriction>
  836. </xs:simpleType>
  837. </xs:element>
  838. <xs:element name="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_UserColumnName="Имя">
  839. <xs:simpleType>
  840. <xs:restriction base="xs:string">
  841. <xs:maxLength value="50" />
  842. </xs:restriction>
  843. </xs:simpleType>
  844. </xs:element>
  845. <xs:element name="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_UserColumnName="Отчество">
  846. <xs:simpleType>
  847. <xs:restriction base="xs:string">
  848. <xs:maxLength value="50" />
  849. </xs:restriction>
  850. </xs:simpleType>
  851. </xs:element>
  852. <xs:element name="Пол" msprop:Generator_ColumnVarNameInTable="columnПол" msprop:Generator_ColumnPropNameInRow="Пол" msprop:Generator_ColumnPropNameInTable="ПолColumn" msprop:Generator_UserColumnName="Пол">
  853. <xs:simpleType>
  854. <xs:restriction base="xs:string">
  855. <xs:maxLength value="50" />
  856. </xs:restriction>
  857. </xs:simpleType>
  858. </xs:element>
  859. <xs:element name="Телефон" msprop:Generator_ColumnVarNameInTable="columnТелефон" msprop:Generator_ColumnPropNameInRow="Телефон" msprop:Generator_ColumnPropNameInTable="ТелефонColumn" msprop:Generator_UserColumnName="Телефон">
  860. <xs:simpleType>
  861. <xs:restriction base="xs:string">
  862. <xs:maxLength value="50" />
  863. </xs:restriction>
  864. </xs:simpleType>
  865. </xs:element>
  866. <xs:element name="Дата_рождения" msprop:Generator_ColumnVarNameInTable="columnДата_рождения" msprop:Generator_ColumnPropNameInRow="Дата_рождения" msprop:Generator_ColumnPropNameInTable="Дата_рожденияColumn" msprop:Generator_UserColumnName="Дата_рождения" type="xs:dateTime" />
  867. <xs:element name="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_UserColumnName="Email">
  868. <xs:simpleType>
  869. <xs:restriction base="xs:string">
  870. <xs:maxLength value="50" />
  871. </xs:restriction>
  872. </xs:simpleType>
  873. </xs:element>
  874. <xs:element name="Дата_регистрации" msprop:Generator_ColumnVarNameInTable="columnДата_регистрации" msprop:Generator_ColumnPropNameInRow="Дата_регистрации" msprop:Generator_ColumnPropNameInTable="Дата_регистрацииColumn" msprop:Generator_UserColumnName="Дата_регистрации" type="xs:dateTime" />
  875. </xs:sequence>
  876. </xs:complexType>
  877. </xs:element>
  878. <xs:element name="client_x0020_Service_x0020_" msprop:Generator_TableClassName="client_Service_DataTable" msprop:Generator_TableVarName="tableclient_Service_" msprop:Generator_TablePropName="client_Service_" msprop:Generator_RowDeletingName="client_Service_RowDeleting" msprop:Generator_RowChangingName="client_Service_RowChanging" msprop:Generator_RowEvHandlerName="client_Service_RowChangeEventHandler" msprop:Generator_RowDeletedName="client_Service_RowDeleted" msprop:Generator_UserTableName="client Service " msprop:Generator_RowChangedName="client_Service_RowChanged" msprop:Generator_RowEvArgName="client_Service_RowChangeEvent" msprop:Generator_RowClassName="client_Service_Row">
  879. <xs:complexType>
  880. <xs:sequence>
  881. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  882. <xs:element name="ID_client" msprop:Generator_ColumnVarNameInTable="columnID_client" msprop:Generator_ColumnPropNameInRow="ID_client" msprop:Generator_ColumnPropNameInTable="ID_clientColumn" msprop:Generator_UserColumnName="ID_client" type="xs:int" />
  883. <xs:element name="ID_service" msprop:Generator_ColumnVarNameInTable="columnID_service" msprop:Generator_ColumnPropNameInRow="ID_service" msprop:Generator_ColumnPropNameInTable="ID_serviceColumn" msprop:Generator_UserColumnName="ID_service" type="xs:int" />
  884. <xs:element name="StartTime" msprop:Generator_ColumnVarNameInTable="columnStartTime" msprop:Generator_ColumnPropNameInRow="StartTime" msprop:Generator_ColumnPropNameInTable="StartTimeColumn" msprop:Generator_UserColumnName="StartTime" type="xs:dateTime" />
  885. <xs:element name="Comments" msprop:Generator_ColumnVarNameInTable="columnComments" msprop:Generator_ColumnPropNameInRow="Comments" msprop:Generator_ColumnPropNameInTable="CommentsColumn" msprop:Generator_UserColumnName="Comments" minOccurs="0">
  886. <xs:simpleType>
  887. <xs:restriction base="xs:string">
  888. <xs:maxLength value="2147483647" />
  889. </xs:restriction>
  890. </xs:simpleType>
  891. </xs:element>
  892. </xs:sequence>
  893. </xs:complexType>
  894. </xs:element>
  895. <xs:element name="DocumentService" msprop:Generator_TableClassName="DocumentServiceDataTable" msprop:Generator_TableVarName="tableDocumentService" msprop:Generator_TablePropName="DocumentService" msprop:Generator_RowDeletingName="DocumentServiceRowDeleting" msprop:Generator_RowChangingName="DocumentServiceRowChanging" msprop:Generator_RowEvHandlerName="DocumentServiceRowChangeEventHandler" msprop:Generator_RowDeletedName="DocumentServiceRowDeleted" msprop:Generator_UserTableName="DocumentService" msprop:Generator_RowChangedName="DocumentServiceRowChanged" msprop:Generator_RowEvArgName="DocumentServiceRowChangeEvent" msprop:Generator_RowClassName="DocumentServiceRow">
  896. <xs:complexType>
  897. <xs:sequence>
  898. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  899. <xs:element name="ID_client_service" msprop:Generator_ColumnVarNameInTable="columnID_client_service" msprop:Generator_ColumnPropNameInRow="ID_client_service" msprop:Generator_ColumnPropNameInTable="ID_client_serviceColumn" msprop:Generator_UserColumnName="ID_client_service" type="xs:int" />
  900. <xs:element name="DocumentPath" msprop:Generator_ColumnVarNameInTable="columnDocumentPath" msprop:Generator_ColumnPropNameInRow="DocumentPath" msprop:Generator_ColumnPropNameInTable="DocumentPathColumn" msprop:Generator_UserColumnName="DocumentPath">
  901. <xs:simpleType>
  902. <xs:restriction base="xs:string">
  903. <xs:maxLength value="2147483647" />
  904. </xs:restriction>
  905. </xs:simpleType>
  906. </xs:element>
  907. </xs:sequence>
  908. </xs:complexType>
  909. </xs:element>
  910. <xs:element name="Gender" msprop:Generator_TableClassName="GenderDataTable" msprop:Generator_TableVarName="tableGender" msprop:Generator_TablePropName="Gender" msprop:Generator_RowDeletingName="GenderRowDeleting" msprop:Generator_RowChangingName="GenderRowChanging" msprop:Generator_RowEvHandlerName="GenderRowChangeEventHandler" msprop:Generator_RowDeletedName="GenderRowDeleted" msprop:Generator_UserTableName="Gender" msprop:Generator_RowChangedName="GenderRowChanged" msprop:Generator_RowEvArgName="GenderRowChangeEvent" msprop:Generator_RowClassName="GenderRow">
  911. <xs:complexType>
  912. <xs:sequence>
  913. <xs:element name="Code" msprop:Generator_ColumnVarNameInTable="columnCode" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_UserColumnName="Code" type="xs:int" />
  914. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
  915. <xs:simpleType>
  916. <xs:restriction base="xs:string">
  917. <xs:maxLength value="50" />
  918. </xs:restriction>
  919. </xs:simpleType>
  920. </xs:element>
  921. </xs:sequence>
  922. </xs:complexType>
  923. </xs:element>
  924. <xs:element name="Manufacture" msprop:Generator_TableClassName="ManufactureDataTable" msprop:Generator_TableVarName="tableManufacture" msprop:Generator_TablePropName="Manufacture" msprop:Generator_RowDeletingName="ManufactureRowDeleting" msprop:Generator_RowChangingName="ManufactureRowChanging" msprop:Generator_RowEvHandlerName="ManufactureRowChangeEventHandler" msprop:Generator_RowDeletedName="ManufactureRowDeleted" msprop:Generator_UserTableName="Manufacture" msprop:Generator_RowChangedName="ManufactureRowChanged" msprop:Generator_RowEvArgName="ManufactureRowChangeEvent" msprop:Generator_RowClassName="ManufactureRow">
  925. <xs:complexType>
  926. <xs:sequence>
  927. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  928. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
  929. <xs:simpleType>
  930. <xs:restriction base="xs:string">
  931. <xs:maxLength value="50" />
  932. </xs:restriction>
  933. </xs:simpleType>
  934. </xs:element>
  935. <xs:element name="Date_Start" msprop:Generator_ColumnVarNameInTable="columnDate_Start" msprop:Generator_ColumnPropNameInRow="Date_Start" msprop:Generator_ColumnPropNameInTable="Date_StartColumn" msprop:Generator_UserColumnName="Date_Start" type="xs:dateTime" minOccurs="0" />
  936. </xs:sequence>
  937. </xs:complexType>
  938. </xs:element>
  939. <xs:element name="Photo_x0020_prouct" msprop:Generator_TableClassName="Photo_prouctDataTable" msprop:Generator_TableVarName="tablePhoto_prouct" msprop:Generator_TablePropName="Photo_prouct" msprop:Generator_RowDeletingName="Photo_prouctRowDeleting" msprop:Generator_RowChangingName="Photo_prouctRowChanging" msprop:Generator_RowEvHandlerName="Photo_prouctRowChangeEventHandler" msprop:Generator_RowDeletedName="Photo_prouctRowDeleted" msprop:Generator_UserTableName="Photo prouct" msprop:Generator_RowChangedName="Photo_prouctRowChanged" msprop:Generator_RowEvArgName="Photo_prouctRowChangeEvent" msprop:Generator_RowClassName="Photo_prouctRow">
  940. <xs:complexType>
  941. <xs:sequence>
  942. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  943. <xs:element name="ID_product" msprop:Generator_ColumnVarNameInTable="columnID_product" msprop:Generator_ColumnPropNameInRow="ID_product" msprop:Generator_ColumnPropNameInTable="ID_productColumn" msprop:Generator_UserColumnName="ID_product" type="xs:int" />
  944. <xs:element name="Path_photo" msprop:Generator_ColumnVarNameInTable="columnPath_photo" msprop:Generator_ColumnPropNameInRow="Path_photo" msprop:Generator_ColumnPropNameInTable="Path_photoColumn" msprop:Generator_UserColumnName="Path_photo">
  945. <xs:simpleType>
  946. <xs:restriction base="xs:string">
  947. <xs:maxLength value="50" />
  948. </xs:restriction>
  949. </xs:simpleType>
  950. </xs:element>
  951. </xs:sequence>
  952. </xs:complexType>
  953. </xs:element>
  954. <xs:element name="Product" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_TablePropName="Product" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_UserTableName="Product" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_RowEvArgName="ProductRowChangeEvent" msprop:Generator_RowClassName="ProductRow">
  955. <xs:complexType>
  956. <xs:sequence>
  957. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  958. <xs:element name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title">
  959. <xs:simpleType>
  960. <xs:restriction base="xs:string">
  961. <xs:maxLength value="2147483647" />
  962. </xs:restriction>
  963. </xs:simpleType>
  964. </xs:element>
  965. <xs:element name="Cost" msprop:Generator_ColumnVarNameInTable="columnCost" msprop:Generator_ColumnPropNameInRow="Cost" msprop:Generator_ColumnPropNameInTable="CostColumn" msprop:Generator_UserColumnName="Cost" type="xs:decimal" />
  966. <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
  967. <xs:simpleType>
  968. <xs:restriction base="xs:string">
  969. <xs:maxLength value="2147483647" />
  970. </xs:restriction>
  971. </xs:simpleType>
  972. </xs:element>
  973. <xs:element name="Path_MainImage" msprop:Generator_ColumnVarNameInTable="columnPath_MainImage" msprop:Generator_ColumnPropNameInRow="Path_MainImage" msprop:Generator_ColumnPropNameInTable="Path_MainImageColumn" msprop:Generator_UserColumnName="Path_MainImage" minOccurs="0">
  974. <xs:simpleType>
  975. <xs:restriction base="xs:string">
  976. <xs:maxLength value="2147483647" />
  977. </xs:restriction>
  978. </xs:simpleType>
  979. </xs:element>
  980. <xs:element name="Active" msprop:Generator_ColumnVarNameInTable="columnActive" msprop:Generator_ColumnPropNameInRow="Active" msprop:Generator_ColumnPropNameInTable="ActiveColumn" msprop:Generator_UserColumnName="Active" type="xs:boolean" />
  981. <xs:element name="ID_manufacturer" msprop:Generator_ColumnVarNameInTable="columnID_manufacturer" msprop:Generator_ColumnPropNameInRow="ID_manufacturer" msprop:Generator_ColumnPropNameInTable="ID_manufacturerColumn" msprop:Generator_UserColumnName="ID_manufacturer" type="xs:int" minOccurs="0" />
  982. </xs:sequence>
  983. </xs:complexType>
  984. </xs:element>
  985. <xs:element name="Sale" msprop:Generator_TableClassName="SaleDataTable" msprop:Generator_TableVarName="tableSale" msprop:Generator_TablePropName="Sale" msprop:Generator_RowDeletingName="SaleRowDeleting" msprop:Generator_RowChangingName="SaleRowChanging" msprop:Generator_RowEvHandlerName="SaleRowChangeEventHandler" msprop:Generator_RowDeletedName="SaleRowDeleted" msprop:Generator_UserTableName="Sale" msprop:Generator_RowChangedName="SaleRowChanged" msprop:Generator_RowEvArgName="SaleRowChangeEvent" msprop:Generator_RowClassName="SaleRow">
  986. <xs:complexType>
  987. <xs:sequence>
  988. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  989. <xs:element name="Date_Sale" msprop:Generator_ColumnVarNameInTable="columnDate_Sale" msprop:Generator_ColumnPropNameInRow="Date_Sale" msprop:Generator_ColumnPropNameInTable="Date_SaleColumn" msprop:Generator_UserColumnName="Date_Sale" type="xs:dateTime" />
  990. <xs:element name="ID_Product" msprop:Generator_ColumnVarNameInTable="columnID_Product" msprop:Generator_ColumnPropNameInRow="ID_Product" msprop:Generator_ColumnPropNameInTable="ID_ProductColumn" msprop:Generator_UserColumnName="ID_Product" type="xs:int" />
  991. <xs:element name="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" msprop:Generator_UserColumnName="Quantity" type="xs:int" />
  992. <xs:element name="ID_client_service" msprop:Generator_ColumnVarNameInTable="columnID_client_service" msprop:Generator_ColumnPropNameInRow="ID_client_service" msprop:Generator_ColumnPropNameInTable="ID_client_serviceColumn" msprop:Generator_UserColumnName="ID_client_service" type="xs:int" minOccurs="0" />
  993. </xs:sequence>
  994. </xs:complexType>
  995. </xs:element>
  996. <xs:element name="service" msprop:Generator_TableClassName="serviceDataTable" msprop:Generator_TableVarName="tableservice" msprop:Generator_TablePropName="service" msprop:Generator_RowDeletingName="serviceRowDeleting" msprop:Generator_RowChangingName="serviceRowChanging" msprop:Generator_RowEvHandlerName="serviceRowChangeEventHandler" msprop:Generator_RowDeletedName="serviceRowDeleted" msprop:Generator_UserTableName="service" msprop:Generator_RowChangedName="serviceRowChanged" msprop:Generator_RowEvArgName="serviceRowChangeEvent" msprop:Generator_RowClassName="serviceRow">
  997. <xs:complexType>
  998. <xs:sequence>
  999. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  1000. <xs:element name="Наименование_услуги" msprop:Generator_ColumnVarNameInTable="columnНаименование_услуги" msprop:Generator_ColumnPropNameInRow="Наименование_услуги" msprop:Generator_ColumnPropNameInTable="Наименование_услугиColumn" msprop:Generator_UserColumnName="Наименование_услуги">
  1001. <xs:simpleType>
  1002. <xs:restriction base="xs:string">
  1003. <xs:maxLength value="50" />
  1004. </xs:restriction>
  1005. </xs:simpleType>
  1006. </xs:element>
  1007. <xs:element name="Главное_изображение" msprop:Generator_ColumnVarNameInTable="columnГлавное_изображение" msprop:Generator_ColumnPropNameInRow="Главное_изображение" msprop:Generator_ColumnPropNameInTable="Главное_изображениеColumn" msprop:Generator_UserColumnName="Главное_изображение">
  1008. <xs:simpleType>
  1009. <xs:restriction base="xs:string">
  1010. <xs:maxLength value="100" />
  1011. </xs:restriction>
  1012. </xs:simpleType>
  1013. </xs:element>
  1014. <xs:element name="Длительность" msprop:Generator_ColumnVarNameInTable="columnДлительность" msprop:Generator_ColumnPropNameInRow="Длительность" msprop:Generator_ColumnPropNameInTable="ДлительностьColumn" msprop:Generator_UserColumnName="Длительность">
  1015. <xs:simpleType>
  1016. <xs:restriction base="xs:string">
  1017. <xs:maxLength value="50" />
  1018. </xs:restriction>
  1019. </xs:simpleType>
  1020. </xs:element>
  1021. <xs:element name="Стоимость" msprop:Generator_ColumnVarNameInTable="columnСтоимость" msprop:Generator_ColumnPropNameInRow="Стоимость" msprop:Generator_ColumnPropNameInTable="СтоимостьColumn" msprop:Generator_UserColumnName="Стоимость">
  1022. <xs:simpleType>
  1023. <xs:restriction base="xs:string">
  1024. <xs:maxLength value="50" />
  1025. </xs:restriction>
  1026. </xs:simpleType>
  1027. </xs:element>
  1028. <xs:element name="Действующая_скидка" msprop:Generator_ColumnVarNameInTable="columnДействующая_скидка" msprop:Generator_ColumnPropNameInRow="Действующая_скидка" msprop:Generator_ColumnPropNameInTable="Действующая_скидкаColumn" msprop:Generator_UserColumnName="Действующая_скидка">
  1029. <xs:simpleType>
  1030. <xs:restriction base="xs:string">
  1031. <xs:maxLength value="50" />
  1032. </xs:restriction>
  1033. </xs:simpleType>
  1034. </xs:element>
  1035. </xs:sequence>
  1036. </xs:complexType>
  1037. </xs:element>
  1038. <xs:element name="Service_x0020_photo" msprop:Generator_TableClassName="Service_photoDataTable" msprop:Generator_TableVarName="tableService_photo" msprop:Generator_TablePropName="Service_photo" msprop:Generator_RowDeletingName="Service_photoRowDeleting" msprop:Generator_RowChangingName="Service_photoRowChanging" msprop:Generator_RowEvHandlerName="Service_photoRowChangeEventHandler" msprop:Generator_RowDeletedName="Service_photoRowDeleted" msprop:Generator_UserTableName="Service photo" msprop:Generator_RowChangedName="Service_photoRowChanged" msprop:Generator_RowEvArgName="Service_photoRowChangeEvent" msprop:Generator_RowClassName="Service_photoRow">
  1039. <xs:complexType>
  1040. <xs:sequence>
  1041. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  1042. <xs:element name="ID_Service" msprop:Generator_ColumnVarNameInTable="columnID_Service" msprop:Generator_ColumnPropNameInRow="ID_Service" msprop:Generator_ColumnPropNameInTable="ID_ServiceColumn" msprop:Generator_UserColumnName="ID_Service" type="xs:int" />
  1043. <xs:element name="Path_photo" msprop:Generator_ColumnVarNameInTable="columnPath_photo" msprop:Generator_ColumnPropNameInRow="Path_photo" msprop:Generator_ColumnPropNameInTable="Path_photoColumn" msprop:Generator_UserColumnName="Path_photo">
  1044. <xs:simpleType>
  1045. <xs:restriction base="xs:string">
  1046. <xs:maxLength value="2147483647" />
  1047. </xs:restriction>
  1048. </xs:simpleType>
  1049. </xs:element>
  1050. </xs:sequence>
  1051. </xs:complexType>
  1052. </xs:element>
  1053. <xs:element name="Tag" msprop:Generator_TableClassName="TagDataTable" msprop:Generator_TableVarName="tableTag" msprop:Generator_TablePropName="Tag" msprop:Generator_RowDeletingName="TagRowDeleting" msprop:Generator_RowChangingName="TagRowChanging" msprop:Generator_RowEvHandlerName="TagRowChangeEventHandler" msprop:Generator_RowDeletedName="TagRowDeleted" msprop:Generator_UserTableName="Tag" msprop:Generator_RowChangedName="TagRowChanged" msprop:Generator_RowEvArgName="TagRowChangeEvent" msprop:Generator_RowClassName="TagRow">
  1054. <xs:complexType>
  1055. <xs:sequence>
  1056. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  1057. <xs:element name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title">
  1058. <xs:simpleType>
  1059. <xs:restriction base="xs:string">
  1060. <xs:maxLength value="2147483647" />
  1061. </xs:restriction>
  1062. </xs:simpleType>
  1063. </xs:element>
  1064. <xs:element name="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" msprop:Generator_UserColumnName="Color">
  1065. <xs:simpleType>
  1066. <xs:restriction base="xs:string">
  1067. <xs:maxLength value="2147483647" />
  1068. </xs:restriction>
  1069. </xs:simpleType>
  1070. </xs:element>
  1071. </xs:sequence>
  1072. </xs:complexType>
  1073. </xs:element>
  1074. <xs:element name="Tag_x0020_client" msprop:Generator_TableClassName="Tag_clientDataTable" msprop:Generator_TableVarName="tableTag_client" msprop:Generator_TablePropName="Tag_client" msprop:Generator_RowDeletingName="Tag_clientRowDeleting" msprop:Generator_RowChangingName="Tag_clientRowChanging" msprop:Generator_RowEvHandlerName="Tag_clientRowChangeEventHandler" msprop:Generator_RowDeletedName="Tag_clientRowDeleted" msprop:Generator_UserTableName="Tag client" msprop:Generator_RowChangedName="Tag_clientRowChanged" msprop:Generator_RowEvArgName="Tag_clientRowChangeEvent" msprop:Generator_RowClassName="Tag_clientRow">
  1075. <xs:complexType>
  1076. <xs:sequence>
  1077. <xs:element name="ID_client" msprop:Generator_ColumnVarNameInTable="columnID_client" msprop:Generator_ColumnPropNameInRow="ID_client" msprop:Generator_ColumnPropNameInTable="ID_clientColumn" msprop:Generator_UserColumnName="ID_client" type="xs:int" />
  1078. <xs:element name="ID_Tag" msprop:Generator_ColumnVarNameInTable="columnID_Tag" msprop:Generator_ColumnPropNameInRow="ID_Tag" msprop:Generator_ColumnPropNameInTable="ID_TagColumn" msprop:Generator_UserColumnName="ID_Tag" type="xs:int" />
  1079. </xs:sequence>
  1080. </xs:complexType>
  1081. </xs:element>
  1082. </xs:choice>
  1083. </xs:complexType>
  1084. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  1085. <xs:selector xpath=".//mstns:AttachedProduct" />
  1086. <xs:field xpath="mstns:Main_Product_ID" />
  1087. </xs:unique>
  1088. <xs:unique name="client_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1089. <xs:selector xpath=".//mstns:client" />
  1090. <xs:field xpath="mstns:ID" />
  1091. </xs:unique>
  1092. <xs:unique name="client_x0020_Service_x0020__Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1093. <xs:selector xpath=".//mstns:client_x0020_Service_x0020_" />
  1094. <xs:field xpath="mstns:ID" />
  1095. </xs:unique>
  1096. <xs:unique name="DocumentService_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1097. <xs:selector xpath=".//mstns:DocumentService" />
  1098. <xs:field xpath="mstns:ID" />
  1099. </xs:unique>
  1100. <xs:unique name="Gender_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1101. <xs:selector xpath=".//mstns:Gender" />
  1102. <xs:field xpath="mstns:Code" />
  1103. </xs:unique>
  1104. <xs:unique name="Manufacture_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1105. <xs:selector xpath=".//mstns:Manufacture" />
  1106. <xs:field xpath="mstns:ID" />
  1107. </xs:unique>
  1108. <xs:unique name="Photo_x0020_prouct_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1109. <xs:selector xpath=".//mstns:Photo_x0020_prouct" />
  1110. <xs:field xpath="mstns:ID" />
  1111. </xs:unique>
  1112. <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1113. <xs:selector xpath=".//mstns:Product" />
  1114. <xs:field xpath="mstns:ID" />
  1115. </xs:unique>
  1116. <xs:unique name="Sale_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1117. <xs:selector xpath=".//mstns:Sale" />
  1118. <xs:field xpath="mstns:ID" />
  1119. </xs:unique>
  1120. <xs:unique name="service_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1121. <xs:selector xpath=".//mstns:service" />
  1122. <xs:field xpath="mstns:ID" />
  1123. </xs:unique>
  1124. <xs:unique name="Service_x0020_photo_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1125. <xs:selector xpath=".//mstns:Service_x0020_photo" />
  1126. <xs:field xpath="mstns:ID" />
  1127. </xs:unique>
  1128. <xs:unique name="Tag_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1129. <xs:selector xpath=".//mstns:Tag" />
  1130. <xs:field xpath="mstns:ID" />
  1131. </xs:unique>
  1132. <xs:unique name="Tag_x0020_client_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  1133. <xs:selector xpath=".//mstns:Tag_x0020_client" />
  1134. <xs:field xpath="mstns:ID_client" />
  1135. </xs:unique>
  1136. </xs:element>
  1137. </xs:schema>