Rp41MursahkinDataSet.xsd 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="Rp41MursahkinDataSet" targetNamespace="http://tempuri.org/Rp41MursahkinDataSet.xsd" xmlns:mstns="http://tempuri.org/Rp41MursahkinDataSet.xsd" xmlns="http://tempuri.org/Rp41MursahkinDataSet.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="Rp41MursahkinConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Rp41MursahkinConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Rp41Murashkin.Properties.Settings.GlobalReference.Default.Rp41MursahkinConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="clientsTableAdapter" GeneratorDataComponentClassName="clientsTableAdapter" Name="clients" UserDataComponentName="clientsTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="Rp41MursahkinConnectionString (Settings)" DbObjectName="Rp41Mursahkin.dbo.clients" 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. <InsertCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>INSERT INTO [dbo].[clients] ([surname], [name], [patronymic], [gender], [phone], [birth_date], [email], [created_at]) VALUES (@surname, @name, @patronymic, @gender, @phone, @birth_date, @email, @created_at)</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@surname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="surname" SourceColumnNullMapping="false" SourceVersion="Current" />
  18. <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" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@patronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="patronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  22. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@birth_date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="birth_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  23. <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" />
  24. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@created_at" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="created_at" SourceColumnNullMapping="false" SourceVersion="Current" />
  25. </Parameters>
  26. </DbCommand>
  27. </InsertCommand>
  28. <SelectCommand>
  29. <DbCommand CommandType="Text" ModifiedByUser="false">
  30. <CommandText>SELECT surname, name, patronymic, gender, phone, birth_date, email, created_at FROM dbo.clients</CommandText>
  31. <Parameters />
  32. </DbCommand>
  33. </SelectCommand>
  34. </DbSource>
  35. </MainSource>
  36. <Mappings>
  37. <Mapping SourceColumn="surname" DataSetColumn="surname" />
  38. <Mapping SourceColumn="name" DataSetColumn="name" />
  39. <Mapping SourceColumn="patronymic" DataSetColumn="patronymic" />
  40. <Mapping SourceColumn="gender" DataSetColumn="gender" />
  41. <Mapping SourceColumn="phone" DataSetColumn="phone" />
  42. <Mapping SourceColumn="birth_date" DataSetColumn="birth_date" />
  43. <Mapping SourceColumn="email" DataSetColumn="email" />
  44. <Mapping SourceColumn="created_at" DataSetColumn="created_at" />
  45. </Mappings>
  46. <Sources />
  47. </TableAdapter>
  48. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="service_clientsTableAdapter" GeneratorDataComponentClassName="service_clientsTableAdapter" Name="service_clients" UserDataComponentName="service_clientsTableAdapter">
  49. <MainSource>
  50. <DbSource ConnectionRef="Rp41MursahkinConnectionString (Settings)" DbObjectName="Rp41Mursahkin.dbo.service_clients" 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">
  51. <InsertCommand>
  52. <DbCommand CommandType="Text" ModifiedByUser="false">
  53. <CommandText>INSERT INTO [dbo].[service_clients] ([service], [start_date], [client]) VALUES (@service, @start_date, @client)</CommandText>
  54. <Parameters>
  55. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@service" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="service" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@start_date" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="start_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@client" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="client" SourceColumnNullMapping="false" SourceVersion="Current" />
  58. </Parameters>
  59. </DbCommand>
  60. </InsertCommand>
  61. <SelectCommand>
  62. <DbCommand CommandType="Text" ModifiedByUser="false">
  63. <CommandText>SELECT service, start_date, client FROM dbo.service_clients</CommandText>
  64. <Parameters />
  65. </DbCommand>
  66. </SelectCommand>
  67. </DbSource>
  68. </MainSource>
  69. <Mappings>
  70. <Mapping SourceColumn="service" DataSetColumn="service" />
  71. <Mapping SourceColumn="start_date" DataSetColumn="start_date" />
  72. <Mapping SourceColumn="client" DataSetColumn="client" />
  73. </Mappings>
  74. <Sources />
  75. </TableAdapter>
  76. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="servicesTableAdapter" GeneratorDataComponentClassName="servicesTableAdapter" Name="services" UserDataComponentName="servicesTableAdapter">
  77. <MainSource>
  78. <DbSource ConnectionRef="Rp41MursahkinConnectionString (Settings)" DbObjectName="Rp41Mursahkin.dbo.services" 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">
  79. <InsertCommand>
  80. <DbCommand CommandType="Text" ModifiedByUser="false">
  81. <CommandText>INSERT INTO [dbo].[services] ([title], [image], [duration], [price], [discount]) VALUES (@title, @image, @duration, @price, @discount)</CommandText>
  82. <Parameters>
  83. <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" />
  84. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@image" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="image" SourceColumnNullMapping="false" SourceVersion="Current" />
  85. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@duration" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="duration" SourceColumnNullMapping="false" SourceVersion="Current" />
  86. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@price" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="price" SourceColumnNullMapping="false" SourceVersion="Current" />
  87. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@discount" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="discount" SourceColumnNullMapping="false" SourceVersion="Current" />
  88. </Parameters>
  89. </DbCommand>
  90. </InsertCommand>
  91. <SelectCommand>
  92. <DbCommand CommandType="Text" ModifiedByUser="false">
  93. <CommandText>SELECT title, image, duration, price, discount FROM dbo.services</CommandText>
  94. <Parameters />
  95. </DbCommand>
  96. </SelectCommand>
  97. </DbSource>
  98. </MainSource>
  99. <Mappings>
  100. <Mapping SourceColumn="title" DataSetColumn="title" />
  101. <Mapping SourceColumn="image" DataSetColumn="image" />
  102. <Mapping SourceColumn="duration" DataSetColumn="duration" />
  103. <Mapping SourceColumn="price" DataSetColumn="price" />
  104. <Mapping SourceColumn="discount" DataSetColumn="discount" />
  105. </Mappings>
  106. <Sources />
  107. </TableAdapter>
  108. </Tables>
  109. <Sources />
  110. </DataSource>
  111. </xs:appinfo>
  112. </xs:annotation>
  113. <xs:element name="Rp41MursahkinDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Rp41MursahkinDataSet" msprop:Generator_UserDSName="Rp41MursahkinDataSet">
  114. <xs:complexType>
  115. <xs:choice minOccurs="0" maxOccurs="unbounded">
  116. <xs:element name="clients" msprop:Generator_TableClassName="clientsDataTable" msprop:Generator_TableVarName="tableclients" msprop:Generator_TablePropName="clients" msprop:Generator_RowDeletingName="clientsRowDeleting" msprop:Generator_RowChangingName="clientsRowChanging" msprop:Generator_RowEvHandlerName="clientsRowChangeEventHandler" msprop:Generator_RowDeletedName="clientsRowDeleted" msprop:Generator_UserTableName="clients" msprop:Generator_RowChangedName="clientsRowChanged" msprop:Generator_RowEvArgName="clientsRowChangeEvent" msprop:Generator_RowClassName="clientsRow">
  117. <xs:complexType>
  118. <xs:sequence>
  119. <xs:element name="surname" msprop:Generator_ColumnVarNameInTable="columnsurname" msprop:Generator_ColumnPropNameInRow="surname" msprop:Generator_ColumnPropNameInTable="surnameColumn" msprop:Generator_UserColumnName="surname">
  120. <xs:simpleType>
  121. <xs:restriction base="xs:string">
  122. <xs:maxLength value="50" />
  123. </xs:restriction>
  124. </xs:simpleType>
  125. </xs:element>
  126. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  127. <xs:simpleType>
  128. <xs:restriction base="xs:string">
  129. <xs:maxLength value="50" />
  130. </xs:restriction>
  131. </xs:simpleType>
  132. </xs:element>
  133. <xs:element name="patronymic" msprop:Generator_ColumnVarNameInTable="columnpatronymic" msprop:Generator_ColumnPropNameInRow="patronymic" msprop:Generator_ColumnPropNameInTable="patronymicColumn" msprop:Generator_UserColumnName="patronymic" minOccurs="0">
  134. <xs:simpleType>
  135. <xs:restriction base="xs:string">
  136. <xs:maxLength value="50" />
  137. </xs:restriction>
  138. </xs:simpleType>
  139. </xs:element>
  140. <xs:element name="gender" msprop:Generator_ColumnVarNameInTable="columngender" msprop:Generator_ColumnPropNameInRow="gender" msprop:Generator_ColumnPropNameInTable="genderColumn" msprop:Generator_UserColumnName="gender">
  141. <xs:simpleType>
  142. <xs:restriction base="xs:string">
  143. <xs:maxLength value="50" />
  144. </xs:restriction>
  145. </xs:simpleType>
  146. </xs:element>
  147. <xs:element name="phone" msprop:Generator_ColumnVarNameInTable="columnphone" msprop:Generator_ColumnPropNameInRow="phone" msprop:Generator_ColumnPropNameInTable="phoneColumn" msprop:Generator_UserColumnName="phone">
  148. <xs:simpleType>
  149. <xs:restriction base="xs:string">
  150. <xs:maxLength value="50" />
  151. </xs:restriction>
  152. </xs:simpleType>
  153. </xs:element>
  154. <xs:element name="birth_date" msprop:Generator_ColumnVarNameInTable="columnbirth_date" msprop:Generator_ColumnPropNameInRow="birth_date" msprop:Generator_ColumnPropNameInTable="birth_dateColumn" msprop:Generator_UserColumnName="birth_date" type="xs:dateTime" />
  155. <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email">
  156. <xs:simpleType>
  157. <xs:restriction base="xs:string">
  158. <xs:maxLength value="50" />
  159. </xs:restriction>
  160. </xs:simpleType>
  161. </xs:element>
  162. <xs:element name="created_at" msprop:Generator_ColumnVarNameInTable="columncreated_at" msprop:Generator_ColumnPropNameInRow="created_at" msprop:Generator_ColumnPropNameInTable="created_atColumn" msprop:Generator_UserColumnName="created_at" type="xs:dateTime" />
  163. </xs:sequence>
  164. </xs:complexType>
  165. </xs:element>
  166. <xs:element name="service_clients" msprop:Generator_TableClassName="service_clientsDataTable" msprop:Generator_TableVarName="tableservice_clients" msprop:Generator_TablePropName="service_clients" msprop:Generator_RowDeletingName="service_clientsRowDeleting" msprop:Generator_RowChangingName="service_clientsRowChanging" msprop:Generator_RowEvHandlerName="service_clientsRowChangeEventHandler" msprop:Generator_RowDeletedName="service_clientsRowDeleted" msprop:Generator_UserTableName="service_clients" msprop:Generator_RowChangedName="service_clientsRowChanged" msprop:Generator_RowEvArgName="service_clientsRowChangeEvent" msprop:Generator_RowClassName="service_clientsRow">
  167. <xs:complexType>
  168. <xs:sequence>
  169. <xs:element name="service" msprop:Generator_ColumnVarNameInTable="columnservice" msprop:Generator_ColumnPropNameInRow="service" msprop:Generator_ColumnPropNameInTable="serviceColumn" msprop:Generator_UserColumnName="service">
  170. <xs:simpleType>
  171. <xs:restriction base="xs:string">
  172. <xs:maxLength value="50" />
  173. </xs:restriction>
  174. </xs:simpleType>
  175. </xs:element>
  176. <xs:element name="start_date" msprop:Generator_ColumnVarNameInTable="columnstart_date" msprop:Generator_ColumnPropNameInRow="start_date" msprop:Generator_ColumnPropNameInTable="start_dateColumn" msprop:Generator_UserColumnName="start_date" type="xs:dateTime" />
  177. <xs:element name="client" msprop:Generator_ColumnVarNameInTable="columnclient" msprop:Generator_ColumnPropNameInRow="client" msprop:Generator_ColumnPropNameInTable="clientColumn" msprop:Generator_UserColumnName="client">
  178. <xs:simpleType>
  179. <xs:restriction base="xs:string">
  180. <xs:maxLength value="50" />
  181. </xs:restriction>
  182. </xs:simpleType>
  183. </xs:element>
  184. </xs:sequence>
  185. </xs:complexType>
  186. </xs:element>
  187. <xs:element name="services" msprop:Generator_TableClassName="servicesDataTable" msprop:Generator_TableVarName="tableservices" msprop:Generator_TablePropName="services" msprop:Generator_RowDeletingName="servicesRowDeleting" msprop:Generator_RowChangingName="servicesRowChanging" msprop:Generator_RowEvHandlerName="servicesRowChangeEventHandler" msprop:Generator_RowDeletedName="servicesRowDeleted" msprop:Generator_UserTableName="services" msprop:Generator_RowChangedName="servicesRowChanged" msprop:Generator_RowEvArgName="servicesRowChangeEvent" msprop:Generator_RowClassName="servicesRow">
  188. <xs:complexType>
  189. <xs:sequence>
  190. <xs:element name="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title">
  191. <xs:simpleType>
  192. <xs:restriction base="xs:string">
  193. <xs:maxLength value="50" />
  194. </xs:restriction>
  195. </xs:simpleType>
  196. </xs:element>
  197. <xs:element name="image" msprop:Generator_ColumnVarNameInTable="columnimage" msprop:Generator_ColumnPropNameInRow="image" msprop:Generator_ColumnPropNameInTable="imageColumn" msprop:Generator_UserColumnName="image" minOccurs="0">
  198. <xs:simpleType>
  199. <xs:restriction base="xs:string">
  200. <xs:maxLength value="100" />
  201. </xs:restriction>
  202. </xs:simpleType>
  203. </xs:element>
  204. <xs:element name="duration" msprop:Generator_ColumnVarNameInTable="columnduration" msprop:Generator_ColumnPropNameInRow="duration" msprop:Generator_ColumnPropNameInTable="durationColumn" msprop:Generator_UserColumnName="duration">
  205. <xs:simpleType>
  206. <xs:restriction base="xs:string">
  207. <xs:maxLength value="50" />
  208. </xs:restriction>
  209. </xs:simpleType>
  210. </xs:element>
  211. <xs:element name="price" msprop:Generator_ColumnVarNameInTable="columnprice" msprop:Generator_ColumnPropNameInRow="price" msprop:Generator_ColumnPropNameInTable="priceColumn" msprop:Generator_UserColumnName="price">
  212. <xs:simpleType>
  213. <xs:restriction base="xs:string">
  214. <xs:maxLength value="50" />
  215. </xs:restriction>
  216. </xs:simpleType>
  217. </xs:element>
  218. <xs:element name="discount" msprop:Generator_ColumnVarNameInTable="columndiscount" msprop:Generator_ColumnPropNameInRow="discount" msprop:Generator_ColumnPropNameInTable="discountColumn" msprop:Generator_UserColumnName="discount" minOccurs="0">
  219. <xs:simpleType>
  220. <xs:restriction base="xs:string">
  221. <xs:maxLength value="50" />
  222. </xs:restriction>
  223. </xs:simpleType>
  224. </xs:element>
  225. </xs:sequence>
  226. </xs:complexType>
  227. </xs:element>
  228. </xs:choice>
  229. </xs:complexType>
  230. </xs:element>
  231. </xs:schema>