123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="utf-8"?>
- <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">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <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" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentsTableAdapter" GeneratorDataComponentClassName="StudentsTableAdapter" Name="Students" UserDataComponentName="StudentsTableAdapter">
- <MainSource>
- <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">
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <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>
- <Parameters>
- <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" />
- <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" />
- <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" />
- <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" />
- <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" />
- <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" />
- <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" />
- <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" />
- <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" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT Surname, FirstName, LastName, BrithDate, Address, TelNumber, StudentCardID, GradeBookID, GroupID FROM dbo.Students</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Surname" DataSetColumn="Surname" />
- <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
- <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
- <Mapping SourceColumn="BrithDate" DataSetColumn="BrithDate" />
- <Mapping SourceColumn="Address" DataSetColumn="Address" />
- <Mapping SourceColumn="TelNumber" DataSetColumn="TelNumber" />
- <Mapping SourceColumn="StudentCardID" DataSetColumn="StudentCardID" />
- <Mapping SourceColumn="GradeBookID" DataSetColumn="GradeBookID" />
- <Mapping SourceColumn="GroupID" DataSetColumn="GroupID" />
- </Mappings>
- <Sources />
- </TableAdapter>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="СтудентыГруппыTableAdapter" GeneratorDataComponentClassName="СтудентыГруппыTableAdapter" Name="СтудентыГруппы" UserDataComponentName="СтудентыГруппыTableAdapter">
- <MainSource>
- <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">
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT Фамилия, Имя, Отчество, [Дата рождения], Адрес, [Номер телефона], [Номер студ.билета], [Номер зач.книжки], Группа FROM dbo.СтудентыГруппы</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="Фамилия" DataSetColumn="Фамилия" />
- <Mapping SourceColumn="Имя" DataSetColumn="Имя" />
- <Mapping SourceColumn="Отчество" DataSetColumn="Отчество" />
- <Mapping SourceColumn="Дата рождения" DataSetColumn="Дата рождения" />
- <Mapping SourceColumn="Адрес" DataSetColumn="Адрес" />
- <Mapping SourceColumn="Номер телефона" DataSetColumn="Номер телефона" />
- <Mapping SourceColumn="Номер студ.билета" DataSetColumn="Номер студ_билета" />
- <Mapping SourceColumn="Номер зач.книжки" DataSetColumn="Номер зач_книжки" />
- <Mapping SourceColumn="Группа" DataSetColumn="Группа" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="studOperDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="studOperDataSet" msprop:Generator_UserDSName="studOperDataSet">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <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">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Surname" msprop:Generator_ColumnVarNameInTable="columnSurname" msprop:Generator_ColumnPropNameInRow="Surname" msprop:Generator_ColumnPropNameInTable="SurnameColumn" msprop:Generator_UserColumnName="Surname">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="10" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_UserColumnName="FirstName">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="10" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_UserColumnName="LastName" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="10" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="BrithDate" msprop:Generator_ColumnVarNameInTable="columnBrithDate" msprop:Generator_ColumnPropNameInRow="BrithDate" msprop:Generator_ColumnPropNameInTable="BrithDateColumn" msprop:Generator_UserColumnName="BrithDate" type="xs:dateTime" />
- <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="TelNumber" msprop:Generator_ColumnVarNameInTable="columnTelNumber" msprop:Generator_ColumnPropNameInRow="TelNumber" msprop:Generator_ColumnPropNameInTable="TelNumberColumn" msprop:Generator_UserColumnName="TelNumber" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="11" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="StudentCardID" msprop:Generator_ColumnVarNameInTable="columnStudentCardID" msprop:Generator_ColumnPropNameInRow="StudentCardID" msprop:Generator_ColumnPropNameInTable="StudentCardIDColumn" msprop:Generator_UserColumnName="StudentCardID" type="xs:int" />
- <xs:element name="GradeBookID" msprop:Generator_ColumnVarNameInTable="columnGradeBookID" msprop:Generator_ColumnPropNameInRow="GradeBookID" msprop:Generator_ColumnPropNameInTable="GradeBookIDColumn" msprop:Generator_UserColumnName="GradeBookID" type="xs:int" />
- <xs:element name="GroupID" msprop:Generator_ColumnVarNameInTable="columnGroupID" msprop:Generator_ColumnPropNameInRow="GroupID" msprop:Generator_ColumnPropNameInTable="GroupIDColumn" msprop:Generator_UserColumnName="GroupID" type="xs:int" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <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">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Фамилия" msprop:Generator_ColumnVarNameInTable="columnФамилия" msprop:Generator_ColumnPropNameInRow="Фамилия" msprop:Generator_ColumnPropNameInTable="ФамилияColumn" msprop:Generator_UserColumnName="Фамилия">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="15" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Имя" msprop:Generator_ColumnVarNameInTable="columnИмя" msprop:Generator_ColumnPropNameInRow="Имя" msprop:Generator_ColumnPropNameInTable="ИмяColumn" msprop:Generator_UserColumnName="Имя">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="15" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Отчество" msprop:Generator_ColumnVarNameInTable="columnОтчество" msprop:Generator_ColumnPropNameInRow="Отчество" msprop:Generator_ColumnPropNameInTable="ОтчествоColumn" msprop:Generator_UserColumnName="Отчество">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="15" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Дата_x0020_рождения" msprop:Generator_ColumnVarNameInTable="columnДата_рождения" msprop:Generator_ColumnPropNameInRow="Дата_рождения" msprop:Generator_ColumnPropNameInTable="Дата_рожденияColumn" msprop:Generator_UserColumnName="Дата рождения" type="xs:dateTime" />
- <xs:element name="Адрес" msprop:Generator_ColumnVarNameInTable="columnАдрес" msprop:Generator_ColumnPropNameInRow="Адрес" msprop:Generator_ColumnPropNameInTable="АдресColumn" msprop:Generator_UserColumnName="Адрес">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="100" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Номер_x0020_телефона" msprop:Generator_ColumnVarNameInTable="columnНомер_телефона" msprop:Generator_ColumnPropNameInRow="Номер_телефона" msprop:Generator_ColumnPropNameInTable="Номер_телефонаColumn" msprop:Generator_UserColumnName="Номер телефона">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="15" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Номер_x0020_студ_билета" msprop:Generator_ColumnVarNameInTable="columnНомер_студ_билета" msprop:Generator_ColumnPropNameInRow="Номер_студ_билета" msprop:Generator_ColumnPropNameInTable="Номер_студ_билетаColumn" msprop:Generator_UserColumnName="Номер студ_билета" type="xs:int" />
- <xs:element name="Номер_x0020_зач_книжки" msprop:Generator_ColumnVarNameInTable="columnНомер_зач_книжки" msprop:Generator_ColumnPropNameInRow="Номер_зач_книжки" msprop:Generator_ColumnPropNameInTable="Номер_зач_книжкиColumn" msprop:Generator_UserColumnName="Номер зач_книжки" type="xs:int" />
- <xs:element name="Группа" msprop:Generator_ColumnVarNameInTable="columnГруппа" msprop:Generator_ColumnPropNameInRow="Группа" msprop:Generator_ColumnPropNameInTable="ГруппаColumn" msprop:Generator_UserColumnName="Группа">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="50" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|