Школа_языковDataSet.xsd 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="Школа_языковDataSet" targetNamespace="http://tempuri.org/Школа_языковDataSet.xsd" xmlns:mstns="http://tempuri.org/Школа_языковDataSet.xsd" xmlns="http://tempuri.org/Школа_языковDataSet.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="Школа_языковConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Школа_языковConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Демо.Properties.Settings.GlobalReference.Default.Школа_языковConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="АдминистраторыTableAdapter" GeneratorDataComponentClassName="АдминистраторыTableAdapter" Name="Администраторы" UserDataComponentName="АдминистраторыTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="Школа_языковConnectionString (Settings)" DbObjectName="[Школа языков].dbo.Администраторы" 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].[Администраторы] WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ((@IsNull_Почта = 1 AND [Почта] IS NULL) OR ([Почта] = @Original_Почта)) AND ((@IsNull_Пароль = 1 AND [Пароль] IS NULL) OR ([Пароль] = @Original_Пароль)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Почта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="true" SourceVersion="Original" />
  23. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Почта" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пароль" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="true" SourceVersion="Original" />
  25. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. </Parameters>
  27. </DbCommand>
  28. </DeleteCommand>
  29. <InsertCommand>
  30. <DbCommand CommandType="Text" ModifiedByUser="false">
  31. <CommandText>INSERT INTO [dbo].[Администраторы] ([Фамилия], [Имя], [Отчество], [Почта], [Пароль]) VALUES (@Фамилия, @Имя, @Отчество, @Почта, @Пароль);
  32. SELECT Фамилия, Имя, Отчество, Почта, Пароль FROM Администраторы WHERE (Фамилия = @Фамилия)</CommandText>
  33. <Parameters>
  34. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  35. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  36. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  37. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Почта" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="false" SourceVersion="Current" />
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
  39. </Parameters>
  40. </DbCommand>
  41. </InsertCommand>
  42. <SelectCommand>
  43. <DbCommand CommandType="Text" ModifiedByUser="false">
  44. <CommandText>SELECT Фамилия, Имя, Отчество, Почта, Пароль FROM dbo.Администраторы</CommandText>
  45. <Parameters />
  46. </DbCommand>
  47. </SelectCommand>
  48. <UpdateCommand>
  49. <DbCommand CommandType="Text" ModifiedByUser="false">
  50. <CommandText>UPDATE [dbo].[Администраторы] SET [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Почта] = @Почта, [Пароль] = @Пароль WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ((@IsNull_Почта = 1 AND [Почта] IS NULL) OR ([Почта] = @Original_Почта)) AND ((@IsNull_Пароль = 1 AND [Пароль] IS NULL) OR ([Пароль] = @Original_Пароль)));
  51. SELECT Фамилия, Имя, Отчество, Почта, Пароль FROM Администраторы WHERE (Фамилия = @Фамилия)</CommandText>
  52. <Parameters>
  53. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  55. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Почта" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Пароль" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Current" />
  58. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  60. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  61. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="true" SourceVersion="Original" />
  62. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Почта" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="true" SourceVersion="Original" />
  64. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Почта" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Почта" SourceColumnNullMapping="false" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пароль" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="true" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Пароль" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пароль" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. </Parameters>
  68. </DbCommand>
  69. </UpdateCommand>
  70. </DbSource>
  71. </MainSource>
  72. <Mappings>
  73. <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
  74. <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
  75. <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
  76. <Mapping SourceColumn="Почта" DataSetColumn="Почта" />
  77. <Mapping SourceColumn="Пароль" DataSetColumn="Пароль" />
  78. </Mappings>
  79. <Sources />
  80. </TableAdapter>
  81. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ЗаписиTableAdapter" GeneratorDataComponentClassName="ЗаписиTableAdapter" Name="Записи" UserDataComponentName="ЗаписиTableAdapter">
  82. <MainSource>
  83. <DbSource ConnectionRef="Школа_языковConnectionString (Settings)" DbObjectName="[Школа языков].dbo.Записи" 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">
  84. <InsertCommand>
  85. <DbCommand CommandType="Text" ModifiedByUser="false">
  86. <CommandText>INSERT INTO [dbo].[Записи] ([Клиент], [Услуга], [Время]) VALUES (@Клиент, @Услуга, @Время)</CommandText>
  87. <Parameters>
  88. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Клиент" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Клиент" SourceColumnNullMapping="false" SourceVersion="Current" />
  89. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Услуга" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Услуга" SourceColumnNullMapping="false" SourceVersion="Current" />
  90. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Время" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Время" SourceColumnNullMapping="false" SourceVersion="Current" />
  91. </Parameters>
  92. </DbCommand>
  93. </InsertCommand>
  94. <SelectCommand>
  95. <DbCommand CommandType="Text" ModifiedByUser="false">
  96. <CommandText>SELECT Клиент, Услуга, Время FROM dbo.Записи</CommandText>
  97. <Parameters />
  98. </DbCommand>
  99. </SelectCommand>
  100. </DbSource>
  101. </MainSource>
  102. <Mappings>
  103. <Mapping SourceColumn="Клиент" DataSetColumn="Клиент" />
  104. <Mapping SourceColumn="Услуга" DataSetColumn="Услуга" />
  105. <Mapping SourceColumn="Время" DataSetColumn="Время" />
  106. </Mappings>
  107. <Sources />
  108. </TableAdapter>
  109. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="КлиентыTableAdapter" GeneratorDataComponentClassName="КлиентыTableAdapter" Name="Клиенты" UserDataComponentName="КлиентыTableAdapter">
  110. <MainSource>
  111. <DbSource ConnectionRef="Школа_языковConnectionString (Settings)" DbObjectName="[Школа языков].dbo.Клиенты" 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">
  112. <DeleteCommand>
  113. <DbCommand CommandType="Text" ModifiedByUser="false">
  114. <CommandText>DELETE FROM [dbo].[Клиенты] WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ((@IsNull_Дата_рождения = 1 AND [Дата_рождения] IS NULL) OR ([Дата_рождения] = @Original_Дата_рождения)) AND ((@IsNull_Дата_регистрации = 1 AND [Дата_регистрации] IS NULL) OR ([Дата_регистрации] = @Original_Дата_регистрации)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Пол = 1 AND [Пол] IS NULL) OR ([Пол] = @Original_Пол)))</CommandText>
  115. <Parameters>
  116. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="true" SourceVersion="Original" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_рождения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="true" SourceVersion="Original" />
  122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
  123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_регистрации" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="true" SourceVersion="Original" />
  124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_регистрации" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Original" />
  125. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="true" SourceVersion="Original" />
  126. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
  127. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
  128. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  129. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пол" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="true" SourceVersion="Original" />
  130. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Пол" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Original" />
  131. </Parameters>
  132. </DbCommand>
  133. </DeleteCommand>
  134. <InsertCommand>
  135. <DbCommand CommandType="Text" ModifiedByUser="false">
  136. <CommandText>INSERT INTO [dbo].[Клиенты] ([Фамилия], [Имя], [Отчество], [Дата_рождения], [Дата_регистрации], [Email], [Телефон], [Пол]) VALUES (@Фамилия, @Имя, @Отчество, @Дата_рождения, @Дата_регистрации, @Email, @Телефон, @Пол);
  137. SELECT Фамилия, Имя, Отчество, Дата_рождения, Дата_регистрации, Email, Телефон, Пол FROM Клиенты WHERE (Фамилия = @Фамилия)</CommandText>
  138. <Parameters>
  139. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_регистрации" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Current" />
  144. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Пол" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Current" />
  147. </Parameters>
  148. </DbCommand>
  149. </InsertCommand>
  150. <SelectCommand>
  151. <DbCommand CommandType="Text" ModifiedByUser="false">
  152. <CommandText>SELECT Фамилия, Имя, Отчество, Дата_рождения, Дата_регистрации, Email, Телефон, Пол FROM dbo.Клиенты</CommandText>
  153. <Parameters />
  154. </DbCommand>
  155. </SelectCommand>
  156. <UpdateCommand>
  157. <DbCommand CommandType="Text" ModifiedByUser="false">
  158. <CommandText>UPDATE [dbo].[Клиенты] SET [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Дата_рождения] = @Дата_рождения, [Дата_регистрации] = @Дата_регистрации, [Email] = @Email, [Телефон] = @Телефон, [Пол] = @Пол WHERE (([Фамилия] = @Original_Фамилия) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Отчество = 1 AND [Отчество] IS NULL) OR ([Отчество] = @Original_Отчество)) AND ((@IsNull_Дата_рождения = 1 AND [Дата_рождения] IS NULL) OR ([Дата_рождения] = @Original_Дата_рождения)) AND ((@IsNull_Дата_регистрации = 1 AND [Дата_регистрации] IS NULL) OR ([Дата_регистрации] = @Original_Дата_регистрации)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_Телефон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull_Пол = 1 AND [Пол] IS NULL) OR ([Пол] = @Original_Пол)));
  159. SELECT Фамилия, Имя, Отчество, Дата_рождения, Дата_регистрации, Email, Телефон, Пол FROM Клиенты WHERE (Фамилия = @Фамилия)</CommandText>
  160. <Parameters>
  161. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Current" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Current" />
  163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Current" />
  164. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Current" />
  165. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Дата_регистрации" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Current" />
  166. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
  167. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Current" />
  168. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Пол" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Current" />
  169. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Фамилия" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Фамилия" SourceColumnNullMapping="false" SourceVersion="Original" />
  170. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Имя" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="true" SourceVersion="Original" />
  171. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Имя" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Имя" SourceColumnNullMapping="false" SourceVersion="Original" />
  172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Отчество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="true" SourceVersion="Original" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Отчество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Отчество" SourceColumnNullMapping="false" SourceVersion="Original" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_рождения" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="true" SourceVersion="Original" />
  175. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_рождения" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_рождения" SourceColumnNullMapping="false" SourceVersion="Original" />
  176. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Дата_регистрации" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="true" SourceVersion="Original" />
  177. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Дата_регистрации" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Дата_регистрации" SourceColumnNullMapping="false" SourceVersion="Original" />
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="true" SourceVersion="Original" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
  180. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Телефон" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="true" SourceVersion="Original" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Телефон" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Телефон" SourceColumnNullMapping="false" SourceVersion="Original" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Пол" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="true" SourceVersion="Original" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Пол" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Пол" SourceColumnNullMapping="false" SourceVersion="Original" />
  184. </Parameters>
  185. </DbCommand>
  186. </UpdateCommand>
  187. </DbSource>
  188. </MainSource>
  189. <Mappings>
  190. <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
  191. <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
  192. <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
  193. <Mapping SourceColumn="Дата_рождения" DataSetColumn="Дата_рождения" />
  194. <Mapping SourceColumn="Дата_регистрации" DataSetColumn="Дата_регистрации" />
  195. <Mapping SourceColumn="Email" DataSetColumn="Email" />
  196. <Mapping SourceColumn="Телефон" DataSetColumn="Телефон" />
  197. <Mapping SourceColumn="Пол" DataSetColumn="Пол" />
  198. </Mappings>
  199. <Sources />
  200. </TableAdapter>
  201. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="УслугиTableAdapter" GeneratorDataComponentClassName="УслугиTableAdapter" Name="Услуги" UserDataComponentName="УслугиTableAdapter">
  202. <MainSource>
  203. <DbSource ConnectionRef="Школа_языковConnectionString (Settings)" DbObjectName="[Школа языков].dbo.Услуги" 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">
  204. <DeleteCommand>
  205. <DbCommand CommandType="Text" ModifiedByUser="false">
  206. <CommandText>DELETE FROM [dbo].[Услуги] WHERE (([Наименование] = @Original_Наименование) AND ((@IsNull_Длительность_мин = 1 AND [Длительность_мин] IS NULL) OR ([Длительность_мин] = @Original_Длительность_мин)) AND ((@IsNull_Стоимость_руб = 1 AND [Стоимость_руб] IS NULL) OR ([Стоимость_руб] = @Original_Стоимость_руб)) AND ((@IsNull_Скидка = 1 AND [Скидка] IS NULL) OR ([Скидка] = @Original_Скидка)) AND ((@IsNull_Изображение = 1 AND [Изображение] IS NULL) OR ([Изображение] = @Original_Изображение)))</CommandText>
  207. <Parameters>
  208. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Наименование" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Original" />
  209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="true" SourceVersion="Original" />
  210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="false" SourceVersion="Original" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="true" SourceVersion="Original" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="false" SourceVersion="Original" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Скидка" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  217. </Parameters>
  218. </DbCommand>
  219. </DeleteCommand>
  220. <InsertCommand>
  221. <DbCommand CommandType="Text" ModifiedByUser="false">
  222. <CommandText>INSERT INTO [dbo].[Услуги] ([Наименование], [Длительность_мин], [Стоимость_руб], [Скидка], [Изображение]) VALUES (@Наименование, @Длительность_мин, @Стоимость_руб, @Скидка, @Изображение);
  223. SELECT Наименование, Длительность_мин, Стоимость_руб, Скидка, Изображение FROM Услуги WHERE (Наименование = @Наименование)</CommandText>
  224. <Parameters>
  225. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
  226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="false" SourceVersion="Current" />
  227. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="false" SourceVersion="Current" />
  228. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Скидка" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  230. </Parameters>
  231. </DbCommand>
  232. </InsertCommand>
  233. <SelectCommand>
  234. <DbCommand CommandType="Text" ModifiedByUser="false">
  235. <CommandText>SELECT Наименование, Длительность_мин, Стоимость_руб, Скидка, Изображение FROM dbo.Услуги</CommandText>
  236. <Parameters />
  237. </DbCommand>
  238. </SelectCommand>
  239. <UpdateCommand>
  240. <DbCommand CommandType="Text" ModifiedByUser="false">
  241. <CommandText>UPDATE [dbo].[Услуги] SET [Наименование] = @Наименование, [Длительность_мин] = @Длительность_мин, [Стоимость_руб] = @Стоимость_руб, [Скидка] = @Скидка, [Изображение] = @Изображение WHERE (([Наименование] = @Original_Наименование) AND ((@IsNull_Длительность_мин = 1 AND [Длительность_мин] IS NULL) OR ([Длительность_мин] = @Original_Длительность_мин)) AND ((@IsNull_Стоимость_руб = 1 AND [Стоимость_руб] IS NULL) OR ([Стоимость_руб] = @Original_Стоимость_руб)) AND ((@IsNull_Скидка = 1 AND [Скидка] IS NULL) OR ([Скидка] = @Original_Скидка)) AND ((@IsNull_Изображение = 1 AND [Изображение] IS NULL) OR ([Изображение] = @Original_Изображение)));
  242. SELECT Наименование, Длительность_мин, Стоимость_руб, Скидка, Изображение FROM Услуги WHERE (Наименование = @Наименование)</CommandText>
  243. <Parameters>
  244. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Наименование" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Current" />
  245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="false" SourceVersion="Current" />
  246. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="false" SourceVersion="Current" />
  247. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Скидка" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="false" SourceVersion="Current" />
  248. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Current" />
  249. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Наименование" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Наименование" SourceColumnNullMapping="false" SourceVersion="Original" />
  250. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="true" SourceVersion="Original" />
  251. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Длительность_мин" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Длительность_мин" SourceColumnNullMapping="false" SourceVersion="Original" />
  252. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="true" SourceVersion="Original" />
  253. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Стоимость_руб" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Стоимость_руб" SourceColumnNullMapping="false" SourceVersion="Original" />
  254. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Скидка" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="true" SourceVersion="Original" />
  255. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Скидка" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Скидка" SourceColumnNullMapping="false" SourceVersion="Original" />
  256. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Изображение" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="true" SourceVersion="Original" />
  257. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Изображение" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Изображение" SourceColumnNullMapping="false" SourceVersion="Original" />
  258. </Parameters>
  259. </DbCommand>
  260. </UpdateCommand>
  261. </DbSource>
  262. </MainSource>
  263. <Mappings>
  264. <Mapping SourceColumn="Наименование" DataSetColumn="Наименование" />
  265. <Mapping SourceColumn="Длительность_мин" DataSetColumn="Длительность_мин" />
  266. <Mapping SourceColumn="Стоимость_руб" DataSetColumn="Стоимость_руб" />
  267. <Mapping SourceColumn="Скидка" DataSetColumn="Скидка" />
  268. <Mapping SourceColumn="Изображение" DataSetColumn="Изображение" />
  269. </Mappings>
  270. <Sources>
  271. <DbSource ConnectionRef="Школа_языковConnectionString (Settings)" DbObjectName="[Школа языков].dbo.Услуги" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
  272. <SelectCommand>
  273. <DbCommand CommandType="Text" ModifiedByUser="false">
  274. <CommandText>SELECT Наименование, Длительность_мин, Стоимость_руб, Скидка, Изображение FROM dbo.Услуги</CommandText>
  275. <Parameters />
  276. </DbCommand>
  277. </SelectCommand>
  278. </DbSource>
  279. </Sources>
  280. </TableAdapter>
  281. </Tables>
  282. <Sources />
  283. </DataSource>
  284. </xs:appinfo>
  285. </xs:annotation>
  286. <xs:element name="Школа_языковDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="Школа_языковDataSet" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Школа_языковDataSet">
  287. <xs:complexType>
  288. <xs:choice minOccurs="0" maxOccurs="unbounded">
  289. <xs:element name="Администраторы" msprop:Generator_RowClassName="АдминистраторыRow" msprop:Generator_RowEvHandlerName="АдминистраторыRowChangeEventHandler" msprop:Generator_RowDeletedName="АдминистраторыRowDeleted" msprop:Generator_RowDeletingName="АдминистраторыRowDeleting" msprop:Generator_RowEvArgName="АдминистраторыRowChangeEvent" msprop:Generator_TablePropName="Администраторы" msprop:Generator_RowChangedName="АдминистраторыRowChanged" msprop:Generator_UserTableName="Администраторы" msprop:Generator_RowChangingName="АдминистраторыRowChanging" msprop:Generator_TableClassName="АдминистраторыDataTable" msprop:Generator_TableVarName="tableАдминистраторы">
  290. <xs:complexType>
  291. <xs:sequence>
  292. <xs:element name="Фамилия" msprop:Generator_UserColumnName="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия">
  293. <xs:simpleType>
  294. <xs:restriction base="xs:string">
  295. <xs:maxLength value="50" />
  296. </xs:restriction>
  297. </xs:simpleType>
  298. </xs:element>
  299. <xs:element name="Имя" msprop:Generator_UserColumnName="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" minOccurs="0">
  300. <xs:simpleType>
  301. <xs:restriction base="xs:string">
  302. <xs:maxLength value="50" />
  303. </xs:restriction>
  304. </xs:simpleType>
  305. </xs:element>
  306. <xs:element name="Отчество" msprop:Generator_UserColumnName="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" minOccurs="0">
  307. <xs:simpleType>
  308. <xs:restriction base="xs:string">
  309. <xs:maxLength value="50" />
  310. </xs:restriction>
  311. </xs:simpleType>
  312. </xs:element>
  313. <xs:element name="Почта" msprop:Generator_UserColumnName="Почта" msprop:Generator_ColumnPropNameInTable="ПочтаColumn" msprop:Generator_ColumnPropNameInRow="Почта" msprop:Generator_ColumnVarNameInTable="columnПочта" minOccurs="0">
  314. <xs:simpleType>
  315. <xs:restriction base="xs:string">
  316. <xs:maxLength value="50" />
  317. </xs:restriction>
  318. </xs:simpleType>
  319. </xs:element>
  320. <xs:element name="Пароль" msprop:Generator_UserColumnName="Пароль" msprop:Generator_ColumnPropNameInTable="ПарольColumn" msprop:Generator_ColumnPropNameInRow="Пароль" msprop:Generator_ColumnVarNameInTable="columnПароль" minOccurs="0">
  321. <xs:simpleType>
  322. <xs:restriction base="xs:string">
  323. <xs:maxLength value="4" />
  324. </xs:restriction>
  325. </xs:simpleType>
  326. </xs:element>
  327. </xs:sequence>
  328. </xs:complexType>
  329. </xs:element>
  330. <xs:element name="Записи" msprop:Generator_RowClassName="ЗаписиRow" msprop:Generator_RowEvHandlerName="ЗаписиRowChangeEventHandler" msprop:Generator_RowDeletedName="ЗаписиRowDeleted" msprop:Generator_RowDeletingName="ЗаписиRowDeleting" msprop:Generator_RowEvArgName="ЗаписиRowChangeEvent" msprop:Generator_TablePropName="Записи" msprop:Generator_RowChangedName="ЗаписиRowChanged" msprop:Generator_UserTableName="Записи" msprop:Generator_RowChangingName="ЗаписиRowChanging" msprop:Generator_TableClassName="ЗаписиDataTable" msprop:Generator_TableVarName="tableЗаписи">
  331. <xs:complexType>
  332. <xs:sequence>
  333. <xs:element name="Клиент" msprop:Generator_UserColumnName="Клиент" msprop:Generator_ColumnPropNameInTable="КлиентColumn" msprop:Generator_ColumnPropNameInRow="Клиент" msprop:Generator_ColumnVarNameInTable="columnКлиент" minOccurs="0">
  334. <xs:simpleType>
  335. <xs:restriction base="xs:string">
  336. <xs:maxLength value="50" />
  337. </xs:restriction>
  338. </xs:simpleType>
  339. </xs:element>
  340. <xs:element name="Услуга" msprop:Generator_UserColumnName="Услуга" msprop:Generator_ColumnPropNameInTable="УслугаColumn" msprop:Generator_ColumnPropNameInRow="Услуга" msprop:Generator_ColumnVarNameInTable="columnУслуга" minOccurs="0">
  341. <xs:simpleType>
  342. <xs:restriction base="xs:string">
  343. <xs:maxLength value="100" />
  344. </xs:restriction>
  345. </xs:simpleType>
  346. </xs:element>
  347. <xs:element name="Время" msprop:Generator_UserColumnName="Время" msprop:Generator_ColumnPropNameInTable="ВремяColumn" msprop:Generator_ColumnPropNameInRow="Время" msprop:Generator_ColumnVarNameInTable="columnВремя" type="xs:dateTime" minOccurs="0" />
  348. </xs:sequence>
  349. </xs:complexType>
  350. </xs:element>
  351. <xs:element name="Клиенты" msprop:Generator_RowClassName="КлиентыRow" msprop:Generator_RowEvHandlerName="КлиентыRowChangeEventHandler" msprop:Generator_RowDeletedName="КлиентыRowDeleted" msprop:Generator_RowDeletingName="КлиентыRowDeleting" msprop:Generator_RowEvArgName="КлиентыRowChangeEvent" msprop:Generator_TablePropName="Клиенты" msprop:Generator_RowChangedName="КлиентыRowChanged" msprop:Generator_UserTableName="Клиенты" msprop:Generator_RowChangingName="КлиентыRowChanging" msprop:Generator_TableClassName="КлиентыDataTable" msprop:Generator_TableVarName="tableКлиенты">
  352. <xs:complexType>
  353. <xs:sequence>
  354. <xs:element name="Фамилия" msprop:Generator_UserColumnName="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия">
  355. <xs:simpleType>
  356. <xs:restriction base="xs:string">
  357. <xs:maxLength value="50" />
  358. </xs:restriction>
  359. </xs:simpleType>
  360. </xs:element>
  361. <xs:element name="Имя" msprop:Generator_UserColumnName="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" minOccurs="0">
  362. <xs:simpleType>
  363. <xs:restriction base="xs:string">
  364. <xs:maxLength value="50" />
  365. </xs:restriction>
  366. </xs:simpleType>
  367. </xs:element>
  368. <xs:element name="Отчество" msprop:Generator_UserColumnName="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" minOccurs="0">
  369. <xs:simpleType>
  370. <xs:restriction base="xs:string">
  371. <xs:maxLength value="50" />
  372. </xs:restriction>
  373. </xs:simpleType>
  374. </xs:element>
  375. <xs:element name="Дата_рождения" msprop:Generator_UserColumnName="Дата_рождения" msprop:Generator_ColumnPropNameInTable="Дата_рожденияColumn" msprop:Generator_ColumnPropNameInRow="Дата_рождения" msprop:Generator_ColumnVarNameInTable="columnДата_рождения" type="xs:dateTime" minOccurs="0" />
  376. <xs:element name="Дата_регистрации" msprop:Generator_UserColumnName="Дата_регистрации" msprop:Generator_ColumnPropNameInTable="Дата_регистрацииColumn" msprop:Generator_ColumnPropNameInRow="Дата_регистрации" msprop:Generator_ColumnVarNameInTable="columnДата_регистрации" type="xs:dateTime" minOccurs="0" />
  377. <xs:element name="Email" msprop:Generator_UserColumnName="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" minOccurs="0">
  378. <xs:simpleType>
  379. <xs:restriction base="xs:string">
  380. <xs:maxLength value="50" />
  381. </xs:restriction>
  382. </xs:simpleType>
  383. </xs:element>
  384. <xs:element name="Телефон" msprop:Generator_UserColumnName="Телефон" msprop:Generator_ColumnPropNameInTable="ТелефонColumn" msprop:Generator_ColumnPropNameInRow="Телефон" msprop:Generator_ColumnVarNameInTable="columnТелефон" minOccurs="0">
  385. <xs:simpleType>
  386. <xs:restriction base="xs:string">
  387. <xs:maxLength value="50" />
  388. </xs:restriction>
  389. </xs:simpleType>
  390. </xs:element>
  391. <xs:element name="Пол" msprop:Generator_UserColumnName="Пол" msprop:Generator_ColumnPropNameInTable="ПолColumn" msprop:Generator_ColumnPropNameInRow="Пол" msprop:Generator_ColumnVarNameInTable="columnПол" minOccurs="0">
  392. <xs:simpleType>
  393. <xs:restriction base="xs:string">
  394. <xs:maxLength value="1" />
  395. </xs:restriction>
  396. </xs:simpleType>
  397. </xs:element>
  398. </xs:sequence>
  399. </xs:complexType>
  400. </xs:element>
  401. <xs:element name="Услуги" msprop:Generator_RowClassName="УслугиRow" msprop:Generator_RowEvHandlerName="УслугиRowChangeEventHandler" msprop:Generator_RowDeletedName="УслугиRowDeleted" msprop:Generator_RowDeletingName="УслугиRowDeleting" msprop:Generator_RowEvArgName="УслугиRowChangeEvent" msprop:Generator_TablePropName="Услуги" msprop:Generator_RowChangedName="УслугиRowChanged" msprop:Generator_UserTableName="Услуги" msprop:Generator_RowChangingName="УслугиRowChanging" msprop:Generator_TableClassName="УслугиDataTable" msprop:Generator_TableVarName="tableУслуги">
  402. <xs:complexType>
  403. <xs:sequence>
  404. <xs:element name="Наименование" msprop:Generator_UserColumnName="Наименование" msprop:Generator_ColumnPropNameInTable="НаименованиеColumn" msprop:Generator_ColumnPropNameInRow="Наименование" msprop:Generator_ColumnVarNameInTable="columnНаименование">
  405. <xs:simpleType>
  406. <xs:restriction base="xs:string">
  407. <xs:maxLength value="100" />
  408. </xs:restriction>
  409. </xs:simpleType>
  410. </xs:element>
  411. <xs:element name="Длительность_мин" msprop:Generator_UserColumnName="Длительность_мин" msprop:Generator_ColumnPropNameInTable="Длительность_минColumn" msprop:Generator_ColumnPropNameInRow="Длительность_мин" msprop:Generator_ColumnVarNameInTable="columnДлительность_мин" type="xs:int" minOccurs="0" />
  412. <xs:element name="Стоимость_руб" msprop:Generator_UserColumnName="Стоимость_руб" msprop:Generator_ColumnPropNameInTable="Стоимость_рубColumn" msprop:Generator_ColumnPropNameInRow="Стоимость_руб" msprop:Generator_ColumnVarNameInTable="columnСтоимость_руб" type="xs:int" minOccurs="0" />
  413. <xs:element name="Скидка" msprop:Generator_UserColumnName="Скидка" msprop:Generator_ColumnPropNameInTable="СкидкаColumn" msprop:Generator_ColumnPropNameInRow="Скидка" msprop:Generator_ColumnVarNameInTable="columnСкидка" type="xs:double" minOccurs="0" />
  414. <xs:element name="Изображение" msprop:Generator_UserColumnName="Изображение" msprop:Generator_ColumnPropNameInTable="ИзображениеColumn" msprop:Generator_ColumnPropNameInRow="Изображение" msprop:Generator_ColumnVarNameInTable="columnИзображение" minOccurs="0">
  415. <xs:simpleType>
  416. <xs:restriction base="xs:string">
  417. <xs:maxLength value="50" />
  418. </xs:restriction>
  419. </xs:simpleType>
  420. </xs:element>
  421. </xs:sequence>
  422. </xs:complexType>
  423. </xs:element>
  424. </xs:choice>
  425. </xs:complexType>
  426. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  427. <xs:selector xpath=".//mstns:Администраторы" />
  428. <xs:field xpath="mstns:Фамилия" />
  429. </xs:unique>
  430. <xs:unique name="Клиенты_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  431. <xs:selector xpath=".//mstns:Клиенты" />
  432. <xs:field xpath="mstns:Фамилия" />
  433. </xs:unique>
  434. <xs:unique name="Услуги_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  435. <xs:selector xpath=".//mstns:Услуги" />
  436. <xs:field xpath="mstns:Наименование" />
  437. </xs:unique>
  438. </xs:element>
  439. <xs:annotation>
  440. <xs:appinfo>
  441. <msdata:Relationship name="FK_Записи_Клиенты" msdata:parent="Клиенты" msdata:child="Записи" msdata:parentkey="Фамилия" msdata:childkey="Клиент" msprop:Generator_UserParentTable="Клиенты" msprop:Generator_UserChildTable="Записи" msprop:Generator_RelationVarName="relationFK_Записи_Клиенты" msprop:Generator_ChildPropName="GetЗаписиRows" msprop:Generator_ParentPropName="КлиентыRow" msprop:Generator_UserRelationName="FK_Записи_Клиенты" />
  442. <msdata:Relationship name="FK_Записи_Услуги" msdata:parent="Услуги" msdata:child="Записи" msdata:parentkey="Наименование" msdata:childkey="Услуга" msprop:Generator_UserParentTable="Услуги" msprop:Generator_UserChildTable="Записи" msprop:Generator_RelationVarName="relationFK_Записи_Услуги" msprop:Generator_ChildPropName="GetЗаписиRows" msprop:Generator_ParentPropName="УслугиRow" msprop:Generator_UserRelationName="FK_Записи_Услуги" />
  443. </xs:appinfo>
  444. </xs:annotation>
  445. </xs:schema>