studOperDataSet.xsd 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="studOperDataSet" targetNamespace="http://tempuri.org/studOperDataSet.xsd" xmlns:mstns="http://tempuri.org/studOperDataSet.xsd" xmlns="http://tempuri.org/studOperDataSet.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="courseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="courseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Course_Project.Properties.Settings.GlobalReference.Default.courseConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentsTableAdapter" GeneratorDataComponentClassName="StudentsTableAdapter" Name="Students" UserDataComponentName="StudentsTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="courseConnectionString (Settings)" DbObjectName="course.dbo.Students" 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].[Students] ([Surname], [FirstName], [LastName], [BrithDate], [Address], [TelNumber], [StudentCardID], [GradeBookID], [GroupID]) VALUES (@Surname, @FirstName, @LastName, @BrithDate, @Address, @TelNumber, @StudentCardID, @GradeBookID, @GroupID)</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Surname" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Surname" SourceColumnNullMapping="false" SourceVersion="Current" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@BrithDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BrithDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@TelNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="TelNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  23. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StudentCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StudentCardID" SourceColumnNullMapping="false" SourceVersion="Current" />
  24. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@GradeBookID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GradeBookID" SourceColumnNullMapping="false" SourceVersion="Current" />
  25. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@GroupID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupID" SourceColumnNullMapping="false" SourceVersion="Current" />
  26. </Parameters>
  27. </DbCommand>
  28. </InsertCommand>
  29. <SelectCommand>
  30. <DbCommand CommandType="Text" ModifiedByUser="false">
  31. <CommandText>SELECT Surname, FirstName, LastName, BrithDate, Address, TelNumber, StudentCardID, GradeBookID, GroupID FROM dbo.Students</CommandText>
  32. <Parameters />
  33. </DbCommand>
  34. </SelectCommand>
  35. </DbSource>
  36. </MainSource>
  37. <Mappings>
  38. <Mapping SourceColumn="Surname" DataSetColumn="Surname" />
  39. <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
  40. <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
  41. <Mapping SourceColumn="BrithDate" DataSetColumn="BrithDate" />
  42. <Mapping SourceColumn="Address" DataSetColumn="Address" />
  43. <Mapping SourceColumn="TelNumber" DataSetColumn="TelNumber" />
  44. <Mapping SourceColumn="StudentCardID" DataSetColumn="StudentCardID" />
  45. <Mapping SourceColumn="GradeBookID" DataSetColumn="GradeBookID" />
  46. <Mapping SourceColumn="GroupID" DataSetColumn="GroupID" />
  47. </Mappings>
  48. <Sources />
  49. </TableAdapter>
  50. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="СтудентыГруппыTableAdapter" GeneratorDataComponentClassName="СтудентыГруппыTableAdapter" Name="СтудентыГруппы" UserDataComponentName="СтудентыГруппыTableAdapter">
  51. <MainSource>
  52. <DbSource ConnectionRef="courseConnectionString (Settings)" DbObjectName="course.dbo.СтудентыГруппы" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" 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">
  53. <SelectCommand>
  54. <DbCommand CommandType="Text" ModifiedByUser="false">
  55. <CommandText>SELECT Фамилия, Имя, Отчество, [Дата рождения], Адрес, [Номер телефона], [Номер студ.билета], [Номер зач.книжки], Группа FROM dbo.СтудентыГруппы</CommandText>
  56. <Parameters />
  57. </DbCommand>
  58. </SelectCommand>
  59. </DbSource>
  60. </MainSource>
  61. <Mappings>
  62. <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
  63. <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
  64. <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
  65. <Mapping SourceColumn="Дата рождения" DataSetColumn="Дата рождения" />
  66. <Mapping SourceColumn="Адрес" DataSetColumn="Адрес" />
  67. <Mapping SourceColumn="Номер телефона" DataSetColumn="Номер телефона" />
  68. <Mapping SourceColumn="Номер студ.билета" DataSetColumn="Номер студ_билета" />
  69. <Mapping SourceColumn="Номер зач.книжки" DataSetColumn="Номер зач_книжки" />
  70. <Mapping SourceColumn="Группа" DataSetColumn="Группа" />
  71. </Mappings>
  72. <Sources />
  73. </TableAdapter>
  74. </Tables>
  75. <Sources />
  76. </DataSource>
  77. </xs:appinfo>
  78. </xs:annotation>
  79. <xs:element name="studOperDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="studOperDataSet" msprop:Generator_UserDSName="studOperDataSet">
  80. <xs:complexType>
  81. <xs:choice minOccurs="0" maxOccurs="unbounded">
  82. <xs:element name="Students" msprop:Generator_TableClassName="StudentsDataTable" msprop:Generator_TableVarName="tableStudents" msprop:Generator_RowChangedName="StudentsRowChanged" msprop:Generator_TablePropName="Students" msprop:Generator_RowDeletingName="StudentsRowDeleting" msprop:Generator_RowChangingName="StudentsRowChanging" msprop:Generator_RowEvHandlerName="StudentsRowChangeEventHandler" msprop:Generator_RowDeletedName="StudentsRowDeleted" msprop:Generator_RowClassName="StudentsRow" msprop:Generator_UserTableName="Students" msprop:Generator_RowEvArgName="StudentsRowChangeEvent">
  83. <xs:complexType>
  84. <xs:sequence>
  85. <xs:element name="Surname" msprop:Generator_ColumnVarNameInTable="columnSurname" msprop:Generator_ColumnPropNameInRow="Surname" msprop:Generator_ColumnPropNameInTable="SurnameColumn" msprop:Generator_UserColumnName="Surname">
  86. <xs:simpleType>
  87. <xs:restriction base="xs:string">
  88. <xs:maxLength value="10" />
  89. </xs:restriction>
  90. </xs:simpleType>
  91. </xs:element>
  92. <xs:element name="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_UserColumnName="FirstName">
  93. <xs:simpleType>
  94. <xs:restriction base="xs:string">
  95. <xs:maxLength value="10" />
  96. </xs:restriction>
  97. </xs:simpleType>
  98. </xs:element>
  99. <xs:element name="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_UserColumnName="LastName" minOccurs="0">
  100. <xs:simpleType>
  101. <xs:restriction base="xs:string">
  102. <xs:maxLength value="10" />
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:element>
  106. <xs:element name="BrithDate" msprop:Generator_ColumnVarNameInTable="columnBrithDate" msprop:Generator_ColumnPropNameInRow="BrithDate" msprop:Generator_ColumnPropNameInTable="BrithDateColumn" msprop:Generator_UserColumnName="BrithDate" type="xs:dateTime" />
  107. <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
  108. <xs:simpleType>
  109. <xs:restriction base="xs:string">
  110. <xs:maxLength value="50" />
  111. </xs:restriction>
  112. </xs:simpleType>
  113. </xs:element>
  114. <xs:element name="TelNumber" msprop:Generator_ColumnVarNameInTable="columnTelNumber" msprop:Generator_ColumnPropNameInRow="TelNumber" msprop:Generator_ColumnPropNameInTable="TelNumberColumn" msprop:Generator_UserColumnName="TelNumber" minOccurs="0">
  115. <xs:simpleType>
  116. <xs:restriction base="xs:string">
  117. <xs:maxLength value="11" />
  118. </xs:restriction>
  119. </xs:simpleType>
  120. </xs:element>
  121. <xs:element name="StudentCardID" msprop:Generator_ColumnVarNameInTable="columnStudentCardID" msprop:Generator_ColumnPropNameInRow="StudentCardID" msprop:Generator_ColumnPropNameInTable="StudentCardIDColumn" msprop:Generator_UserColumnName="StudentCardID" type="xs:int" />
  122. <xs:element name="GradeBookID" msprop:Generator_ColumnVarNameInTable="columnGradeBookID" msprop:Generator_ColumnPropNameInRow="GradeBookID" msprop:Generator_ColumnPropNameInTable="GradeBookIDColumn" msprop:Generator_UserColumnName="GradeBookID" type="xs:int" />
  123. <xs:element name="GroupID" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn" msprop:Generator_UserColumnName="GroupID" type="xs:int" />
  124. </xs:sequence>
  125. </xs:complexType>
  126. </xs:element>
  127. <xs:element name="СтудентыГруппы" msprop:Generator_TableClassName="СтудентыГруппыDataTable" msprop:Generator_TableVarName="tableСтудентыГруппы" msprop:Generator_TablePropName="СтудентыГруппы" msprop:Generator_RowDeletingName="СтудентыГруппыRowDeleting" msprop:Generator_RowChangingName="СтудентыГруппыRowChanging" msprop:Generator_RowEvHandlerName="СтудентыГруппыRowChangeEventHandler" msprop:Generator_RowDeletedName="СтудентыГруппыRowDeleted" msprop:Generator_UserTableName="СтудентыГруппы" msprop:Generator_RowChangedName="СтудентыГруппыRowChanged" msprop:Generator_RowEvArgName="СтудентыГруппыRowChangeEvent" msprop:Generator_RowClassName="СтудентыГруппыRow">
  128. <xs:complexType>
  129. <xs:sequence>
  130. <xs:element name="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_UserColumnName="Фамилия">
  131. <xs:simpleType>
  132. <xs:restriction base="xs:string">
  133. <xs:maxLength value="15" />
  134. </xs:restriction>
  135. </xs:simpleType>
  136. </xs:element>
  137. <xs:element name="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_UserColumnName="Имя">
  138. <xs:simpleType>
  139. <xs:restriction base="xs:string">
  140. <xs:maxLength value="15" />
  141. </xs:restriction>
  142. </xs:simpleType>
  143. </xs:element>
  144. <xs:element name="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_UserColumnName="Отчество">
  145. <xs:simpleType>
  146. <xs:restriction base="xs:string">
  147. <xs:maxLength value="15" />
  148. </xs:restriction>
  149. </xs:simpleType>
  150. </xs:element>
  151. <xs:element name="Дата_x0020_рождения" msprop:Generator_ColumnVarNameInTable="columnДата_рождения" msprop:Generator_ColumnPropNameInRow="Дата_рождения" msprop:Generator_ColumnPropNameInTable="Дата_рожденияColumn" msprop:Generator_UserColumnName="Дата рождения" type="xs:dateTime" />
  152. <xs:element name="Адрес" msprop:Generator_ColumnVarNameInTable="columnАдрес" msprop:Generator_ColumnPropNameInRow="Адрес" msprop:Generator_ColumnPropNameInTable="АдресColumn" msprop:Generator_UserColumnName="Адрес">
  153. <xs:simpleType>
  154. <xs:restriction base="xs:string">
  155. <xs:maxLength value="100" />
  156. </xs:restriction>
  157. </xs:simpleType>
  158. </xs:element>
  159. <xs:element name="Номер_x0020_телефона" msprop:Generator_ColumnVarNameInTable="columnНомер_телефона" msprop:Generator_ColumnPropNameInRow="Номер_телефона" msprop:Generator_ColumnPropNameInTable="Номер_телефонаColumn" msprop:Generator_UserColumnName="Номер телефона">
  160. <xs:simpleType>
  161. <xs:restriction base="xs:string">
  162. <xs:maxLength value="15" />
  163. </xs:restriction>
  164. </xs:simpleType>
  165. </xs:element>
  166. <xs:element name="Номер_x0020_студ_билета" msprop:Generator_ColumnVarNameInTable="columnНомер_студ_билета" msprop:Generator_ColumnPropNameInRow="Номер_студ_билета" msprop:Generator_ColumnPropNameInTable="Номер_студ_билетаColumn" msprop:Generator_UserColumnName="Номер студ_билета" type="xs:int" />
  167. <xs:element name="Номер_x0020_зач_книжки" msprop:Generator_ColumnVarNameInTable="columnНомер_зач_книжки" msprop:Generator_ColumnPropNameInRow="Номер_зач_книжки" msprop:Generator_ColumnPropNameInTable="Номер_зач_книжкиColumn" msprop:Generator_UserColumnName="Номер зач_книжки" type="xs:int" />
  168. <xs:element name="Группа" msprop:Generator_ColumnVarNameInTable="columnГруппа" msprop:Generator_ColumnPropNameInRow="Группа" msprop:Generator_ColumnPropNameInTable="ГруппаColumn" msprop:Generator_UserColumnName="Группа">
  169. <xs:simpleType>
  170. <xs:restriction base="xs:string">
  171. <xs:maxLength value="50" />
  172. </xs:restriction>
  173. </xs:simpleType>
  174. </xs:element>
  175. </xs:sequence>
  176. </xs:complexType>
  177. </xs:element>
  178. </xs:choice>
  179. </xs:complexType>
  180. </xs:element>
  181. </xs:schema>