This repository has been archived on 2022-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
metro/Metro/MetroDataSet.xsd

1741 lines
265 KiB
XML
Raw Normal View History

2019-01-04 10:21:08 +03:00
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MetroDataSet" targetNamespace="http://tempuri.org/MetroDataSet.xsd" xmlns:mstns="http://tempuri.org/MetroDataSet.xsd" xmlns="http://tempuri.org/MetroDataSet.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" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="MetroConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="MetroConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Metro.Properties.Settings.GlobalReference.Default.MetroConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dispetcherTableAdapter" GeneratorDataComponentClassName="dispetcherTableAdapter" Name="dispetcher" UserDataComponentName="dispetcherTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.dispetcher" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[dispetcher] WHERE (([serialpas] = @Original_serialpas) AND ([fio] = @Original_fio) AND ([tel] = @Original_tel) AND ([doljnost] = @Original_doljnost) AND ([pas] = @Original_pas))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doljnost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pas" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[dispetcher] ([serialpas], [fio], [tel], [doljnost], [pas]) VALUES (@serialpas, @fio, @tel, @doljnost, @pas);
SELECT serialpas, fio, tel, doljnost, pas FROM dispetcher WHERE (serialpas = @serialpas)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doljnost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pas" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pas" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT serialpas, fio, tel, doljnost, pas FROM dbo.dispetcher</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[dispetcher] SET [serialpas] = @serialpas, [fio] = @fio, [tel] = @tel, [doljnost] = @doljnost, [pas] = @pas WHERE (([serialpas] = @Original_serialpas) AND ([fio] = @Original_fio) AND ([tel] = @Original_tel) AND ([doljnost] = @Original_doljnost) AND ([pas] = @Original_pas));
SELECT serialpas, fio, tel, doljnost, pas FROM dispetcher WHERE (serialpas = @serialpas)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doljnost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pas" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="doljnost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pas" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="serialpas" DataSetColumn="serialpas" />
<Mapping SourceColumn="fio" DataSetColumn="fio" />
<Mapping SourceColumn="tel" DataSetColumn="tel" />
<Mapping SourceColumn="doljnost" DataSetColumn="doljnost" />
<Mapping SourceColumn="pas" DataSetColumn="pas" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="jurnalTableAdapter" GeneratorDataComponentClassName="jurnalTableAdapter" Name="jurnal" UserDataComponentName="jurnalTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.jurnal" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[jurnal] WHERE (([start] = @Original_start) AND ([serialpas] = @Original_serialpas) AND ([serial] = @Original_serial) AND ([typik] = @Original_typik) AND ((@IsNull_zametka = 1 AND [zametka] IS NULL) OR ([zametka] = @Original_zametka)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zametka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_zametka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[jurnal] ([start], [serialpas], [serial], [typik], [zametka]) VALUES (@start, @serialpas, @serial, @typik, @zametka);
SELECT start, serialpas, serial, typik, zametka FROM jurnal WHERE (serial = @serial) AND (serialpas = @serialpas) AND (start = @start) AND (typik = @typik)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@zametka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT start, serialpas, serial, typik, zametka FROM dbo.jurnal</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[jurnal] SET [start] = @start, [serialpas] = @serialpas, [serial] = @serial, [typik] = @typik, [zametka] = @zametka WHERE (([start] = @Original_start) AND ([serialpas] = @Original_serialpas) AND ([serial] = @Original_serial) AND ([typik] = @Original_typik) AND ((@IsNull_zametka = 1 AND [zametka] IS NULL) OR ([zametka] = @Original_zametka)));
SELECT start, serialpas, serial, typik, zametka FROM jurnal WHERE (serial = @serial) AND (serialpas = @serialpas) AND (start = @start) AND (typik = @typik)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@zametka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zametka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_zametka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="zametka" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="start" DataSetColumn="start" />
<Mapping SourceColumn="serialpas" DataSetColumn="serialpas" />
<Mapping SourceColumn="serial" DataSetColumn="serial" />
<Mapping SourceColumn="typik" DataSetColumn="typik" />
<Mapping SourceColumn="zametka" DataSetColumn="zametka" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="mashinistTableAdapter" GeneratorDataComponentClassName="mashinistTableAdapter" Name="mashinist" UserDataComponentName="mashinistTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.mashinist" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[mashinist] WHERE (([serialpas] = @Original_serialpas) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ([fio] = @Original_fio) AND ([tel] = @Original_tel) AND ([staj] = @Original_staj) AND ((@IsNull_kvalif = 1 AND [kvalif] IS NULL) OR ([kvalif] = @Original_kvalif)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_staj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staj" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kvalif" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[mashinist] ([serialpas], [serial], [fio], [tel], [staj], [kvalif]) VALUES (@serialpas, @serial, @fio, @tel, @staj, @kvalif);
SELECT serialpas, serial, fio, tel, staj, kvalif FROM mashinist WHERE (serialpas = @serialpas)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@staj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staj" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT serialpas, serial, fio, tel, staj, kvalif FROM dbo.mashinist</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[mashinist] SET [serialpas] = @serialpas, [serial] = @serial, [fio] = @fio, [tel] = @tel, [staj] = @staj, [kvalif] = @kvalif WHERE (([serialpas] = @Original_serialpas) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ([fio] = @Original_fio) AND ([tel] = @Original_tel) AND ([staj] = @Original_staj) AND ((@IsNull_kvalif = 1 AND [kvalif] IS NULL) OR ([kvalif] = @Original_kvalif)));
SELECT serialpas, serial, fio, tel, staj, kvalif FROM mashinist WHERE (serialpas = @serialpas)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@staj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staj" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fio" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_staj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="staj" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kvalif" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kvalif" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="serialpas" DataSetColumn="serialpas" />
<Mapping SourceColumn="serial" DataSetColumn="serial" />
<Mapping SourceColumn="fio" DataSetColumn="fio" />
<Mapping SourceColumn="tel" DataSetColumn="tel" />
<Mapping SourceColumn="staj" DataSetColumn="staj" />
<Mapping SourceColumn="kvalif" DataSetColumn="kvalif" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="psostavTableAdapter" GeneratorDataComponentClassName="psostavTableAdapter" Name="psostav" UserDataComponentName="psostavTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.psostav" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[psostav] WHERE (([serial] = @Original_serial) AND ((@IsNull_typkod = 1 AND [typkod] IS NULL) OR ([typkod] = @Original_typkod)) AND ((@IsNull_stat = 1 AND [stat] IS NULL) OR ([stat] = @Original_stat)) AND ([probeg] = @Original_probeg) AND ([iznos_motor] = @Original_iznos_motor) AND ([iznos_tk] = @Original_iznos_tk))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_probeg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="probeg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iznos_motor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_motor" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iznos_tk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_tk" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[psostav] ([serial], [typkod], [stat], [probeg], [iznos_motor], [iznos_tk]) VALUES (@serial, @typkod, @stat, @probeg, @iznos_motor, @iznos_tk);
SELECT serial, typkod, stat, probeg, iznos_motor, iznos_tk FROM psostav WHERE (serial = @serial)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@probeg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="probeg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iznos_motor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_motor" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iznos_tk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_tk" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT serial, typkod, stat, probeg, iznos_motor, iznos_tk FROM dbo.psostav</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[psostav] SET [serial] = @serial, [typkod] = @typkod, [stat] = @stat, [probeg] = @probeg, [iznos_motor] = @iznos_motor, [iznos_tk] = @iznos_tk WHERE (([serial] = @Original_serial) AND ((@IsNull_typkod = 1 AND [typkod] IS NULL) OR ([typkod] = @Original_typkod)) AND ((@IsNull_stat = 1 AND [stat] IS NULL) OR ([stat] = @Original_stat)) AND ([probeg] = @Original_probeg) AND ([iznos_motor] = @Original_iznos_motor) AND ([iznos_tk] = @Original_iznos_tk));
SELECT serial, typkod, stat, probeg, iznos_motor, iznos_tk FROM psostav WHERE (serial = @serial)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@probeg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="probeg" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iznos_motor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_motor" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@iznos_tk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_tk" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_probeg" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="probeg" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iznos_motor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_motor" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_iznos_tk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="iznos_tk" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="serial" DataSetColumn="serial" />
<Mapping SourceColumn="typkod" DataSetColumn="typkod" />
<Mapping SourceColumn="stat" DataSetColumn="stat" />
<Mapping SourceColumn="probeg" DataSetColumn="probeg" />
<Mapping SourceColumn="iznos_motor" DataSetColumn="iznos_motor" />
<Mapping SourceColumn="iznos_tk" DataSetColumn="iznos_tk" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="raspisanieTableAdapter" GeneratorDataComponentClassName="raspisanieTableAdapter" Name="raspisanie" UserDataComponentName="raspisanieTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.raspisanie" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[raspisanie] WHERE (([start_vremya] = @Original_start_vremya) AND ([start_kod] = @Original_start_kod) AND ((@IsNull_finish_vremya = 1 AND [finish_vremya] IS NULL) OR ([finish_vremya] = @Original_finish_vremya)) AND ((@IsNull_finish_kod = 1 AND [finish_kod] IS NULL) OR ([finish_kod] = @Original_finish_kod)) AND ((@IsNull_naprav = 1 AND [naprav] IS NULL) OR ([naprav] = @Original_naprav)) AND ((@IsNull_vetka = 1 AND [vetka] IS NULL) OR ([vetka] = @Original_vetka)) AND ([serial] = @Original_serial) AND ([serialpas] = @Original_serialpas))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_start_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_vremya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_vremya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_finish_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vetka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[raspisanie] ([start_vremya], [start_kod], [finish_vremya], [finish_kod], [naprav], [vetka], [serial], [serialpas]) VALUES (@start_vremya, @start_kod, @finish_vremya, @finish_kod, @naprav, @vetka, @serial, @serialpas);
SELECT start_vremya, start_kod, finish_vremya, finish_kod, naprav, vetka, serial, serialpas FROM raspisanie WHERE (serial = @serial) AND (serialpas = @serialpas) AND (start_kod = @start_kod) AND (start_vremya = @start_vremya)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@start_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_vremya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@finish_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT start_vremya, start_kod, finish_vremya, finish_kod, naprav, vetka, serial, serialpas FROM dbo.raspisanie</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[raspisanie] SET [start_vremya] = @start_vremya, [start_kod] = @start_kod, [finish_vremya] = @finish_vremya, [finish_kod] = @finish_kod, [naprav] = @naprav, [vetka] = @vetka, [serial] = @serial, [serialpas] = @serialpas WHERE (([start_vremya] = @Original_start_vremya) AND ([start_kod] = @Original_start_kod) AND ((@IsNull_finish_vremya = 1 AND [finish_vremya] IS NULL) OR ([finish_vremya] = @Original_finish_vremya)) AND ((@IsNull_finish_kod = 1 AND [finish_kod] IS NULL) OR ([finish_kod] = @Original_finish_kod)) AND ((@IsNull_naprav = 1 AND [naprav] IS NULL) OR ([naprav] = @Original_naprav)) AND ((@IsNull_vetka = 1 AND [vetka] IS NULL) OR ([vetka] = @Original_vetka)) AND ([serial] = @Original_serial) AND ([serialpas] = @Original_serialpas));
SELECT start_vremya, start_kod, finish_vremya, finish_kod, naprav, vetka, serial, serialpas FROM raspisanie WHERE (serial = @serial) AND (serialpas = @serialpas) AND (start_kod = @start_kod) AND (start_vremya = @start_vremya)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@start_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_vremya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@finish_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_start_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_vremya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_vremya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_finish_vremya" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_vremya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_naprav" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naprav" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vetka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vetka" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_serialpas" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="serialpas" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="start_vremya" DataSetColumn="start_vremya" />
<Mapping SourceColumn="start_kod" DataSetColumn="start_kod" />
<Mapping SourceColumn="finish_vremya" DataSetColumn="finish_vremya" />
<Mapping SourceColumn="finish_kod" DataSetColumn="finish_kod" />
<Mapping SourceColumn="naprav" DataSetColumn="naprav" />
<Mapping SourceColumn="vetka" DataSetColumn="vetka" />
<Mapping SourceColumn="serial" DataSetColumn="serial" />
<Mapping SourceColumn="serialpas" DataSetColumn="serialpas" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="remontTableAdapter" GeneratorDataComponentClassName="remontTableAdapter" Name="remont" UserDataComponentName="remontTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.remont" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[remont] WHERE (([typik] = @Original_typik) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_start = 1 AND [start] IS NULL) OR ([start] = @Original_start)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[remont] ([typik], [serial], [start], [kod]) VALUES (@typik, @serial, @start, @kod);
SELECT typik, serial, start, kod FROM remont WHERE (typik = @typik)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT typik, serial, start, kod FROM dbo.remont</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[remont] SET [typik] = @typik, [serial] = @serial, [start] = @start, [kod] = @kod WHERE (([typik] = @Original_typik) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_start = 1 AND [start] IS NULL) OR ([start] = @Original_start)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)));
SELECT typik, serial, start, kod FROM remont WHERE (typik = @typik)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typik" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_serial" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="serial" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_start" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="start" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="typik" DataSetColumn="typik" />
<Mapping SourceColumn="serial" DataSetColumn="serial" />
<Mapping SourceColumn="start" DataSetColumn="start" />
<Mapping SourceColumn="kod" DataSetColumn="kod" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spravkaTableAdapter" GeneratorDataComponentClassName="spravkaTableAdapter" Name="spravka" UserDataComponentName="spravkaTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.spravka" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[spravka] WHERE (([kod] = @Original_kod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_krit = 1 AND [krit] IS NULL) OR ([krit] = @Original_krit)) AND ((@IsNull_srok_dos_det = 1 AND [srok_dos_det] IS NULL) OR ([srok_dos_det] = @Original_srok_dos_det)) AND ((@IsNull_vremya_remonta = 1 AND [vremya_remonta] IS NULL) OR ([vremya_remonta] = @Original_vremya_remonta)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_krit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_krit" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[spravka] ([kod], [name], [krit], [srok_dos_det], [vremya_remonta]) VALUES (@kod, @name, @krit, @srok_dos_det, @vremya_remonta);
SELECT kod, name, krit, srok_dos_det, vremya_remonta FROM spravka WHERE (kod = @kod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@krit" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT kod, name, krit, srok_dos_det, vremya_remonta FROM dbo.spravka</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[spravka] SET [kod] = @kod, [name] = @name, [krit] = @krit, [srok_dos_det] = @srok_dos_det, [vremya_remonta] = @vremya_remonta WHERE (([kod] = @Original_kod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_krit = 1 AND [krit] IS NULL) OR ([krit] = @Original_krit)) AND ((@IsNull_srok_dos_det = 1 AND [srok_dos_det] IS NULL) OR ([srok_dos_det] = @Original_srok_dos_det)) AND ((@IsNull_vremya_remonta = 1 AND [vremya_remonta] IS NULL) OR ([vremya_remonta] = @Original_vremya_remonta)));
SELECT kod, name, krit, srok_dos_det, vremya_remonta FROM spravka WHERE (kod = @kod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@krit" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_krit" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_krit" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="krit" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_srok_dos_det" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="srok_dos_det" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_vremya_remonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="vremya_remonta" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="kod" DataSetColumn="kod" />
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="krit" DataSetColumn="krit" />
<Mapping SourceColumn="srok_dos_det" DataSetColumn="srok_dos_det" />
<Mapping SourceColumn="vremya_remonta" DataSetColumn="vremya_remonta" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stanciyaTableAdapter" GeneratorDataComponentClassName="stanciyaTableAdapter" Name="stanciya" UserDataComponentName="stanciyaTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.stanciya" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[stanciya] WHERE (([kod] = @Original_kod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_paspotok = 1 AND [paspotok] IS NULL) OR ([paspotok] = @Original_paspotok)) AND ((@IsNull_kod_vpered = 1 AND [kod_vpered] IS NULL) OR ([kod_vpered] = @Original_kod_vpered)) AND ((@IsNull_rast_vpered = 1 AND [rast_vpered] IS NULL) OR ([rast_vpered] = @Original_rast_vpered)) AND ((@IsNull_kod_nazad = 1 AND [kod_nazad] IS NULL) OR ([kod_nazad] = @Original_kod_nazad)) AND ((@IsNull_rast_nazad = 1 AND [rast_nazad] IS NULL) OR ([rast_nazad] = @Original_rast_nazad)) AND ((@IsNull_stat = 1 AND [stat] IS NULL) OR ([stat] = @Original_stat)) AND ((@IsNull_start_time = 1 AND [start_time] IS NULL) OR ([start_time] = @Original_start_time)) AND ((@IsNull_finish_time = 1 AND [finish_time] IS NULL) OR ([finish_time] = @Original_finish_time)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_time" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_start_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_time" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_finish_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[stanciya] ([kod], [name], [paspotok], [kod_vpered], [rast_vpered], [kod_nazad], [rast_nazad], [stat], [start_time], [finish_time]) VALUES (@kod, @name, @paspotok, @kod_vpered, @rast_vpered, @kod_nazad, @rast_nazad, @stat, @start_time, @finish_time);
SELECT kod, name, paspotok, kod_vpered, rast_vpered, kod_nazad, rast_nazad, stat, start_time, finish_time FROM stanciya WHERE (kod = @kod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@finish_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT kod, name, paspotok, kod_vpered, rast_vpered, kod_nazad, rast_nazad, stat, start_time, finish_time FROM dbo.stanciya</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[stanciya] SET [kod] = @kod, [name] = @name, [paspotok] = @paspotok, [kod_vpered] = @kod_vpered, [rast_vpered] = @rast_vpered, [kod_nazad] = @kod_nazad, [rast_nazad] = @rast_nazad, [stat] = @stat, [start_time] = @start_time, [finish_time] = @finish_time WHERE (([kod] = @Original_kod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_paspotok = 1 AND [paspotok] IS NULL) OR ([paspotok] = @Original_paspotok)) AND ((@IsNull_kod_vpered = 1 AND [kod_vpered] IS NULL) OR ([kod_vpered] = @Original_kod_vpered)) AND ((@IsNull_rast_vpered = 1 AND [rast_vpered] IS NULL) OR ([rast_vpered] = @Original_rast_vpered)) AND ((@IsNull_kod_nazad = 1 AND [kod_nazad] IS NULL) OR ([kod_nazad] = @Original_kod_nazad)) AND ((@IsNull_rast_nazad = 1 AND [rast_nazad] IS NULL) OR ([rast_nazad] = @Original_rast_nazad)) AND ((@IsNull_stat = 1 AND [stat] IS NULL) OR ([stat] = @Original_stat)) AND ((@IsNull_start_time = 1 AND [start_time] IS NULL) OR ([start_time] = @Original_start_time)) AND ((@IsNull_finish_time = 1 AND [finish_time] IS NULL) OR ([finish_time] = @Original_finish_time)));
SELECT kod, name, paspotok, kod_vpered, rast_vpered, kod_nazad, rast_nazad, stat, start_time, finish_time FROM stanciya WHERE (kod = @kod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@finish_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_paspotok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paspotok" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_vpered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rast_vpered" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_vpered" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod_nazad" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rast_nazad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rast_nazad" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_stat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="stat" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_time" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_start_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="start_time" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_time" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Time" Direction="Input" ParameterName="@Original_finish_time" Precision="0" ProviderType="Time" Scale="0" Size="0" SourceColumn="finish_time" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="kod" DataSetColumn="kod" />
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="paspotok" DataSetColumn="paspotok" />
<Mapping SourceColumn="kod_vpered" DataSetColumn="kod_vpered" />
<Mapping SourceColumn="rast_vpered" DataSetColumn="rast_vpered" />
<Mapping SourceColumn="kod_nazad" DataSetColumn="kod_nazad" />
<Mapping SourceColumn="rast_nazad" DataSetColumn="rast_nazad" />
<Mapping SourceColumn="stat" DataSetColumn="stat" />
<Mapping SourceColumn="start_time" DataSetColumn="start_time" />
<Mapping SourceColumn="finish_time" DataSetColumn="finish_time" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stanitsaTableAdapter" GeneratorDataComponentClassName="stanitsaTableAdapter" Name="stanitsa" UserDataComponentName="stanitsaTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.stanitsa" 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].[stanitsa] ([Столбец 0], [Столбец 1], [Столбец 2], [Столбец 3], [Столбец 4], [Столбец 5]) VALUES (@Столбец_0, @Столбец_1, @Столбец_2, @Столбец_3, @Столбец_4, @Столбец_5)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_0" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 0" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_3" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 3" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_4" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Столбец_5" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Столбец 5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT [Столбец 0], [Столбец 1], [Столбец 2], [Столбец 3], [Столбец 4], [Столбец 5] FROM dbo.stanitsa</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Столбец 0" DataSetColumn="Столбец 0" />
<Mapping SourceColumn="Столбец 1" DataSetColumn="Столбец 1" />
<Mapping SourceColumn="Столбец 2" DataSetColumn="Столбец 2" />
<Mapping SourceColumn="Столбец 3" DataSetColumn="Столбец 3" />
<Mapping SourceColumn="Столбец 4" DataSetColumn="Столбец 4" />
<Mapping SourceColumn="Столбец 5" DataSetColumn="Столбец 5" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="typsostavTableAdapter" GeneratorDataComponentClassName="typsostavTableAdapter" Name="typsostav" UserDataComponentName="typsostavTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.typsostav" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[typsostav] WHERE (([typkod] = @Original_typkod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_kolmest = 1 AND [kolmest] IS NULL) OR ([kolmest] = @Original_kolmest)) AND ([dlina] = @Original_dlina) AND ([shirina] = @Original_shirina) AND ([visota] = @Original_visota) AND ((@IsNull_naznachenie = 1 AND [naznachenie] IS NULL) OR ([naznachenie] = @Original_naznachenie)) AND ([koleya] = @Original_koleya) AND ((@IsNull_speed = 1 AND [speed] IS NULL) OR ([speed] = @Original_speed)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_dlina" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="dlina" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="shirina" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_visota" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visota" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naznachenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_koleya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="koleya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[typsostav] ([typkod], [name], [kolmest], [dlina], [shirina], [visota], [naznachenie], [koleya], [speed]) VALUES (@typkod, @name, @kolmest, @dlina, @shirina, @visota, @naznachenie, @koleya, @speed);
SELECT typkod, name, kolmest, dlina, shirina, visota, naznachenie, koleya, speed FROM typsostav WHERE (typkod = @typkod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@dlina" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="dlina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="shirina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@visota" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visota" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@koleya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="koleya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT typkod, name, kolmest, dlina, shirina, visota, naznachenie, koleya, speed FROM dbo.typsostav</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[typsostav] SET [typkod] = @typkod, [name] = @name, [kolmest] = @kolmest, [dlina] = @dlina, [shirina] = @shirina, [visota] = @visota, [naznachenie] = @naznachenie, [koleya] = @koleya, [speed] = @speed WHERE (([typkod] = @Original_typkod) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_kolmest = 1 AND [kolmest] IS NULL) OR ([kolmest] = @Original_kolmest)) AND ([dlina] = @Original_dlina) AND ([shirina] = @Original_shirina) AND ([visota] = @Original_visota) AND ((@IsNull_naznachenie = 1 AND [naznachenie] IS NULL) OR ([naznachenie] = @Original_naznachenie)) AND ([koleya] = @Original_koleya) AND ((@IsNull_speed = 1 AND [speed] IS NULL) OR ([speed] = @Original_speed)));
SELECT typkod, name, kolmest, dlina, shirina, visota, naznachenie, koleya, speed FROM typsostav WHERE (typkod = @typkod)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@dlina" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="dlina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="shirina" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@visota" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visota" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@koleya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="koleya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typkod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typkod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kolmest" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kolmest" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_dlina" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="dlina" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_shirina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="shirina" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_visota" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="visota" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naznachenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="naznachenie" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_koleya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="koleya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_speed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="speed" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="typkod" DataSetColumn="typkod" />
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="kolmest" DataSetColumn="kolmest" />
<Mapping SourceColumn="dlina" DataSetColumn="dlina" />
<Mapping SourceColumn="shirina" DataSetColumn="shirina" />
<Mapping SourceColumn="visota" DataSetColumn="visota" />
<Mapping SourceColumn="naznachenie" DataSetColumn="naznachenie" />
<Mapping SourceColumn="koleya" DataSetColumn="koleya" />
<Mapping SourceColumn="speed" DataSetColumn="speed" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vetkaTableAdapter" GeneratorDataComponentClassName="vetkaTableAdapter" Name="vetka" UserDataComponentName="vetkaTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.vetka" 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">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[vetka] WHERE (([name] = @Original_name) AND ((@IsNull_start_stanciya = 1 AND [start_stanciya] IS NULL) OR ([start_stanciya] = @Original_start_stanciya)) AND ((@IsNull_finish_stanciya = 1 AND [finish_stanciya] IS NULL) OR ([finish_stanciya] = @Original_finish_stanciya)) AND ((@IsNull_depo_status = 1 AND [depo_status] IS NULL) OR ([depo_status] = @Original_depo_status)) AND ((@IsNull_start_status = 1 AND [start_status] IS NULL) OR ([start_status] = @Original_start_status)) AND ((@IsNull_finish_status = 1 AND [finish_status] IS NULL) OR ([finish_status] = @Original_finish_status)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[vetka] ([name], [start_stanciya], [finish_stanciya], [depo_status], [start_status], [finish_status]) VALUES (@name, @start_stanciya, @finish_stanciya, @depo_status, @start_status, @finish_status);
SELECT name, start_stanciya, finish_stanciya, depo_status, start_status, finish_status FROM vetka WHERE (name = @name)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT name, start_stanciya, finish_stanciya, depo_status, start_status, finish_status FROM dbo.vetka</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[vetka] SET [name] = @name, [start_stanciya] = @start_stanciya, [finish_stanciya] = @finish_stanciya, [depo_status] = @depo_status, [start_status] = @start_status, [finish_status] = @finish_status WHERE (([name] = @Original_name) AND ((@IsNull_start_stanciya = 1 AND [start_stanciya] IS NULL) OR ([start_stanciya] = @Original_start_stanciya)) AND ((@IsNull_finish_stanciya = 1 AND [finish_stanciya] IS NULL) OR ([finish_stanciya] = @Original_finish_stanciya)) AND ((@IsNull_depo_status = 1 AND [depo_status] IS NULL) OR ([depo_status] = @Original_depo_status)) AND ((@IsNull_start_status = 1 AND [start_status] IS NULL) OR ([start_status] = @Original_start_status)) AND ((@IsNull_finish_status = 1 AND [finish_status] IS NULL) OR ([finish_status] = @Original_finish_status)));
SELECT name, start_stanciya, finish_stanciya, depo_status, start_status, finish_status FROM vetka WHERE (name = @name)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_stanciya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_stanciya" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_stanciya" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_depo_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="depo_status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_start_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="start_status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_finish_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="finish_status" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="start_stanciya" DataSetColumn="start_stanciya" />
<Mapping SourceColumn="finish_stanciya" DataSetColumn="finish_stanciya" />
<Mapping SourceColumn="depo_status" DataSetColumn="depo_status" />
<Mapping SourceColumn="start_status" DataSetColumn="start_status" />
<Mapping SourceColumn="finish_status" DataSetColumn="finish_status" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_raspisanieTableAdapter" GeneratorDataComponentClassName="v_raspisanieTableAdapter" Name="v_raspisanie" UserDataComponentName="v_raspisanieTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.v_raspisanie" 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.v_raspisanie</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Отправление" DataSetColumn="Отправление" />
<Mapping SourceColumn="Со станции" DataSetColumn="Со станции" />
<Mapping SourceColumn="Прибытие" DataSetColumn="Прибытие" />
<Mapping SourceColumn="На станцию" DataSetColumn="На станцию" />
<Mapping SourceColumn="Ветка" DataSetColumn="Ветка" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_remontTableAdapter" GeneratorDataComponentClassName="v_remontTableAdapter" Name="v_remont" UserDataComponentName="v_remontTableAdapter">
<MainSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.v_remont" 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.v_remont</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Тупик" DataSetColumn="Тупик" />
<Mapping SourceColumn="Состав" DataSetColumn="Состав" />
<Mapping SourceColumn="Неисправность" DataSetColumn="Неисправность" />
<Mapping SourceColumn="Время начала" DataSetColumn="Время начала" />
<Mapping SourceColumn="Предположительное окончание" DataSetColumn="Предположительное окончание" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_dispetcher" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_dispetcher" MethodsParameterType="CLR" Modifier="Public" Name="add_dispetcher" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="add_dispetcher">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_dispetcher</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@pas" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_mashinist" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_mashinist" MethodsParameterType="CLR" Modifier="Public" Name="add_mashinist" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="add_mashinist">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_mashinist</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@staj" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_remont" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_remont" MethodsParameterType="CLR" Modifier="Public" Name="add_remont" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="add_remont">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_remont</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@date" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpass" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@zametka" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_sostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_sostav" MethodsParameterType="CLR" Modifier="Public" Name="add_sostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="add_sostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_sostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@probeg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@iznos_motor" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@iznos_tk" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_sostav_raspis" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_sostav_raspis" MethodsParameterType="CLR" Modifier="Public" Name="add_sostav_raspis" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="add_sostav_raspis">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_sostav_raspis</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ser" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_stanciya" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_stanciya" MethodsParameterType="CLR" Modifier="Public" Name="add_stanciya" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="add_stanciya">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_stanciya</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@paspotok" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kod_nazad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rast_nazad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rast_vpered" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@finish_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_typik" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_typik" MethodsParameterType="CLR" Modifier="Public" Name="add_typik" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="add_typik">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_typik</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_typsostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_typsostav" MethodsParameterType="CLR" Modifier="Public" Name="add_typsostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="add_typsostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_typsostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kolmest" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@dlina" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@shirina" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@visota" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@koleya" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@speed" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.add_vetka" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="add_vetka" MethodsParameterType="CLR" Modifier="Public" Name="add_vetka" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="add_vetka">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.add_vetka</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@start_stanciya" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@depo_status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@start_status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@finish_status" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.alignment_interval" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="alignment_interval" MethodsParameterType="CLR" Modifier="Public" Name="alignment_interval" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="alignment_interval">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.alignment_interval</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kol_sostav" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_dispetcher" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_dispetcher" MethodsParameterType="CLR" Modifier="Public" Name="del_dispetcher" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy10" UserSourceName="del_dispetcher">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_dispetcher</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_mashinist" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_mashinist" MethodsParameterType="CLR" Modifier="Public" Name="del_mashinist" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy11" UserSourceName="del_mashinist">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_mashinist</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_rasp" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_rasp" MethodsParameterType="CLR" Modifier="Public" Name="del_rasp" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy12" UserSourceName="del_rasp">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_rasp</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_remont" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_remont" MethodsParameterType="CLR" Modifier="Public" Name="del_remont" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy13" UserSourceName="del_remont">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_remont</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpass" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_sostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_sostav" MethodsParameterType="CLR" Modifier="Public" Name="del_sostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy14" UserSourceName="del_sostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_sostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_sostav_raspisanie" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_sostav_raspisanie" MethodsParameterType="CLR" Modifier="Public" Name="del_sostav_raspisanie" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy15" UserSourceName="del_sostav_raspisanie">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_sostav_raspisanie</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ser" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_stanciya" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_stanciya" MethodsParameterType="CLR" Modifier="Public" Name="del_stanciya" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy16" UserSourceName="del_stanciya">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_stanciya</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_typik" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_typik" MethodsParameterType="CLR" Modifier="Public" Name="del_typik" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy17" UserSourceName="del_typik">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_typik</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typik" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_typsostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_typsostav" MethodsParameterType="CLR" Modifier="Public" Name="del_typsostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy18" UserSourceName="del_typsostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_typsostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.del_vetka" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="del_vetka" MethodsParameterType="CLR" Modifier="Public" Name="del_vetka" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy19" UserSourceName="del_vetka">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.del_vetka</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name2" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.edit_dispetcher" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="edit_dispetcher" MethodsParameterType="CLR" Modifier="Public" Name="edit_dispetcher" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy20" UserSourceName="edit_dispetcher">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.edit_dispetcher</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@doljnost" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@pas" Precision="0" ProviderType="VarChar" Scale="0" Size="1000" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.edit_mashinist" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="edit_mashinist" MethodsParameterType="CLR" Modifier="Public" Name="edit_mashinist" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy21" UserSourceName="edit_mashinist">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.edit_mashinist</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fio" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="16" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@staj" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@kvalif" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.edit_psostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="edit_psostav" MethodsParameterType="CLR" Modifier="Public" Name="edit_psostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy22" UserSourceName="edit_psostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.edit_psostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@probeg" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@iznos_motor" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@iznos_tk" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.edit_stanciya" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="edit_stanciya" MethodsParameterType="CLR" Modifier="Public" Name="edit_stanciya" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy23" UserSourceName="edit_stanciya">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.edit_stanciya</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@paspotok" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rast_nazad" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@rast_vpered" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@stat" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@finish_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.edit_typsostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="edit_typsostav" MethodsParameterType="CLR" Modifier="Public" Name="edit_typsostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy24" UserSourceName="edit_typsostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.edit_typsostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typkod" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kolmest" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@dlina" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@shirina" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@visota" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@koleya" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@naznachenie" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@speed" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.onesostav" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="onesostav" MethodsParameterType="CLR" Modifier="Public" Name="onesostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy25" UserSourceName="onesostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.onesostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ser" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@start_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@k_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.prov_raspisanie" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="prov_raspisanie" MethodsParameterType="CLR" Modifier="Public" Name="prov_raspisanie" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy26" UserSourceName="prov_raspisanie">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.prov_raspisanie</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@n_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@k_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kol" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.sostav_raspisanie" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="sostav_raspisanie" MethodsParameterType="CLR" Modifier="Public" Name="sostav_raspisanie" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy27" UserSourceName="sostav_raspisanie">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.sostav_raspisanie</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@n_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@k_time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kol" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@serialpas" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.adtime" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="adtime" MethodsParameterType="CLR" Modifier="Public" Name="adtime" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy28" UserSourceName="adtime">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.adtime</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@stan" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@naprav" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.dlina" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="dlina" MethodsParameterType="CLR" Modifier="Public" Name="dlina" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy29" UserSourceName="dlina">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.dlina</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@stanciya" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@finish" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@p" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@p2" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.dlina_vetka" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="dlina_vetka" MethodsParameterType="CLR" Modifier="Public" Name="dlina_vetka" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy30" UserSourceName="dlina_vetka">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.dlina_vetka</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.kol_stanciy" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="kol_stanciy" MethodsParameterType="CLR" Modifier="Public" Name="kol_stanciy" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy31" UserSourceName="kol_stanciy">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.kol_stanciy</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.maxi_sostav" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="maxi_sostav" MethodsParameterType="CLR" Modifier="Public" Name="maxi_sostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy32" UserSourceName="maxi_sostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.maxi_sostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.paspotok_vetki" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="paspotok_vetki" MethodsParameterType="CLR" Modifier="Public" Name="paspotok_vetki" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy33" UserSourceName="paspotok_vetki">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.paspotok_vetki</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.proverka_sostav" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="proverka_sostav" MethodsParameterType="CLR" Modifier="Public" Name="proverka_sostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy34" UserSourceName="proverka_sostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.proverka_sostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@serial" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.sled_sostav" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="sled_sostav" MethodsParameterType="CLR" Modifier="Public" Name="sled_sostav" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy35" UserSourceName="sled_sostav">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.sled_sostav</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ser" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="time" DbType="Time" Direction="Input" ParameterName="@time" Precision="16" ProviderType="Time" Scale="7" Size="5" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MetroConnectionString (Settings)" DbObjectName="Metro.dbo.start_interval" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="start_interval" MethodsParameterType="CLR" Modifier="Public" Name="start_interval" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy36" UserSourceName="start_interval">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.start_interval</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@vetka" Precision="0" ProviderType="NVarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@typ" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@kol_sostav" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="MetroDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="MetroDataSet" msprop:Generator_UserDSName="MetroDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="dispetcher" msprop:Generator_TableClassName="dispetcherDataTable" msprop:Generator_TableVarName="tabledispetcher" msprop:Generator_TablePropName="dispetcher" msprop:Generator_RowDeletingName="dispetcherRowDeleting" msprop:Generator_RowChangingName="dispetcherRowChanging" msprop:Generator_RowEvHandlerName="dispetcherRowChangeEventHandler" msprop:Generator_RowDeletedName="dispetcherRowDeleted" msprop:Generator_UserTableName="dispetcher" msprop:Generator_RowChangedName="dispetcherRowChanged" msprop:Generator_RowEvArgName="dispetcherRowChangeEvent" msprop:Generator_RowClassName="dispetcherRow">
<xs:complexType>
<xs:sequence>
<xs:element name="serialpas" msprop:Generator_ColumnVarNameInTable="columnserialpas" msprop:Generator_ColumnPropNameInRow="serialpas" msprop:Generator_ColumnPropNameInTable="serialpasColumn" msprop:Generator_UserColumnName="serialpas" type="xs:double" />
<xs:element name="fio" msprop:Generator_ColumnVarNameInTable="columnfio" msprop:Generator_ColumnPropNameInRow="fio" msprop:Generator_ColumnPropNameInTable="fioColumn" msprop:Generator_UserColumnName="fio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tel" msprop:Generator_ColumnVarNameInTable="columntel" msprop:Generator_ColumnPropNameInRow="tel" msprop:Generator_ColumnPropNameInTable="telColumn" msprop:Generator_UserColumnName="tel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="doljnost" msprop:Generator_ColumnVarNameInTable="columndoljnost" msprop:Generator_ColumnPropNameInRow="doljnost" msprop:Generator_ColumnPropNameInTable="doljnostColumn" msprop:Generator_UserColumnName="doljnost">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pas" msprop:Generator_ColumnVarNameInTable="columnpas" msprop:Generator_ColumnPropNameInRow="pas" msprop:Generator_ColumnPropNameInTable="pasColumn" msprop:Generator_UserColumnName="pas">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="jurnal" msprop:Generator_TableClassName="jurnalDataTable" msprop:Generator_TableVarName="tablejurnal" msprop:Generator_TablePropName="jurnal" msprop:Generator_RowDeletingName="jurnalRowDeleting" msprop:Generator_RowChangingName="jurnalRowChanging" msprop:Generator_RowEvHandlerName="jurnalRowChangeEventHandler" msprop:Generator_RowDeletedName="jurnalRowDeleted" msprop:Generator_UserTableName="jurnal" msprop:Generator_RowChangedName="jurnalRowChanged" msprop:Generator_RowEvArgName="jurnalRowChangeEvent" msprop:Generator_RowClassName="jurnalRow">
<xs:complexType>
<xs:sequence>
<xs:element name="start" msprop:Generator_ColumnVarNameInTable="columnstart" msprop:Generator_ColumnPropNameInRow="start" msprop:Generator_ColumnPropNameInTable="startColumn" msprop:Generator_UserColumnName="start" type="xs:dateTime" />
<xs:element name="serialpas" msprop:Generator_ColumnVarNameInTable="columnserialpas" msprop:Generator_ColumnPropNameInRow="serialpas" msprop:Generator_ColumnPropNameInTable="serialpasColumn" msprop:Generator_UserColumnName="serialpas" type="xs:double" />
<xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" type="xs:int" />
<xs:element name="typik" msprop:Generator_ColumnVarNameInTable="columntypik" msprop:Generator_ColumnPropNameInRow="typik" msprop:Generator_ColumnPropNameInTable="typikColumn" msprop:Generator_UserColumnName="typik" type="xs:int" />
<xs:element name="zametka" msprop:Generator_ColumnVarNameInTable="columnzametka" msprop:Generator_ColumnPropNameInRow="zametka" msprop:Generator_ColumnPropNameInTable="zametkaColumn" msprop:Generator_UserColumnName="zametka" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="mashinist" msprop:Generator_TableClassName="mashinistDataTable" msprop:Generator_TableVarName="tablemashinist" msprop:Generator_TablePropName="mashinist" msprop:Generator_RowDeletingName="mashinistRowDeleting" msprop:Generator_RowChangingName="mashinistRowChanging" msprop:Generator_RowEvHandlerName="mashinistRowChangeEventHandler" msprop:Generator_RowDeletedName="mashinistRowDeleted" msprop:Generator_UserTableName="mashinist" msprop:Generator_RowChangedName="mashinistRowChanged" msprop:Generator_RowEvArgName="mashinistRowChangeEvent" msprop:Generator_RowClassName="mashinistRow">
<xs:complexType>
<xs:sequence>
<xs:element name="serialpas" msprop:Generator_ColumnVarNameInTable="columnserialpas" msprop:Generator_ColumnPropNameInRow="serialpas" msprop:Generator_ColumnPropNameInTable="serialpasColumn" msprop:Generator_UserColumnName="serialpas" type="xs:double" />
<xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" type="xs:int" minOccurs="0" />
<xs:element name="fio" msprop:Generator_ColumnVarNameInTable="columnfio" msprop:Generator_ColumnPropNameInRow="fio" msprop:Generator_ColumnPropNameInTable="fioColumn" msprop:Generator_UserColumnName="fio">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tel" msprop:Generator_ColumnVarNameInTable="columntel" msprop:Generator_ColumnPropNameInRow="tel" msprop:Generator_ColumnPropNameInTable="telColumn" msprop:Generator_UserColumnName="tel">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="staj" msprop:Generator_ColumnVarNameInTable="columnstaj" msprop:Generator_ColumnPropNameInRow="staj" msprop:Generator_ColumnPropNameInTable="stajColumn" msprop:Generator_UserColumnName="staj" type="xs:int" />
<xs:element name="kvalif" msprop:Generator_ColumnVarNameInTable="columnkvalif" msprop:Generator_ColumnPropNameInRow="kvalif" msprop:Generator_ColumnPropNameInTable="kvalifColumn" msprop:Generator_UserColumnName="kvalif" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="psostav" msprop:Generator_TableClassName="psostavDataTable" msprop:Generator_TableVarName="tablepsostav" msprop:Generator_TablePropName="psostav" msprop:Generator_RowDeletingName="psostavRowDeleting" msprop:Generator_RowChangingName="psostavRowChanging" msprop:Generator_RowEvHandlerName="psostavRowChangeEventHandler" msprop:Generator_RowDeletedName="psostavRowDeleted" msprop:Generator_UserTableName="psostav" msprop:Generator_RowChangedName="psostavRowChanged" msprop:Generator_RowEvArgName="psostavRowChangeEvent" msprop:Generator_RowClassName="psostavRow">
<xs:complexType>
<xs:sequence>
<xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" type="xs:int" />
<xs:element name="typkod" msprop:Generator_ColumnVarNameInTable="columntypkod" msprop:Generator_ColumnPropNameInRow="typkod" msprop:Generator_ColumnPropNameInTable="typkodColumn" msprop:Generator_UserColumnName="typkod" type="xs:int" minOccurs="0" />
<xs:element name="stat" msprop:Generator_ColumnVarNameInTable="columnstat" msprop:Generator_ColumnPropNameInRow="stat" msprop:Generator_ColumnPropNameInTable="statColumn" msprop:Generator_UserColumnName="stat" type="xs:int" minOccurs="0" />
<xs:element name="probeg" msprop:Generator_ColumnVarNameInTable="columnprobeg" msprop:Generator_ColumnPropNameInRow="probeg" msprop:Generator_ColumnPropNameInTable="probegColumn" msprop:Generator_UserColumnName="probeg" type="xs:int" />
<xs:element name="iznos_motor" msprop:Generator_ColumnVarNameInTable="columniznos_motor" msprop:Generator_ColumnPropNameInRow="iznos_motor" msprop:Generator_ColumnPropNameInTable="iznos_motorColumn" msprop:Generator_UserColumnName="iznos_motor" type="xs:int" />
<xs:element name="iznos_tk" msprop:Generator_ColumnVarNameInTable="columniznos_tk" msprop:Generator_ColumnPropNameInRow="iznos_tk" msprop:Generator_ColumnPropNameInTable="iznos_tkColumn" msprop:Generator_UserColumnName="iznos_tk" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="raspisanie" msprop:Generator_TableClassName="raspisanieDataTable" msprop:Generator_TableVarName="tableraspisanie" msprop:Generator_TablePropName="raspisanie" msprop:Generator_RowDeletingName="raspisanieRowDeleting" msprop:Generator_RowChangingName="raspisanieRowChanging" msprop:Generator_RowEvHandlerName="raspisanieRowChangeEventHandler" msprop:Generator_RowDeletedName="raspisanieRowDeleted" msprop:Generator_UserTableName="raspisanie" msprop:Generator_RowChangedName="raspisanieRowChanged" msprop:Generator_RowEvArgName="raspisanieRowChangeEvent" msprop:Generator_RowClassName="raspisanieRow">
<xs:complexType>
<xs:sequence>
<xs:element name="start_vremya" msprop:Generator_ColumnVarNameInTable="columnstart_vremya" msprop:Generator_ColumnPropNameInRow="start_vremya" msprop:Generator_ColumnPropNameInTable="start_vremyaColumn" msprop:Generator_UserColumnName="start_vremya" type="xs:duration" />
<xs:element name="start_kod" msprop:Generator_ColumnVarNameInTable="columnstart_kod" msprop:Generator_ColumnPropNameInRow="start_kod" msprop:Generator_ColumnPropNameInTable="start_kodColumn" msprop:Generator_UserColumnName="start_kod" type="xs:int" />
<xs:element name="finish_vremya" msprop:Generator_ColumnVarNameInTable="columnfinish_vremya" msprop:Generator_ColumnPropNameInRow="finish_vremya" msprop:Generator_ColumnPropNameInTable="finish_vremyaColumn" msprop:Generator_UserColumnName="finish_vremya" type="xs:duration" minOccurs="0" />
<xs:element name="finish_kod" msprop:Generator_ColumnVarNameInTable="columnfinish_kod" msprop:Generator_ColumnPropNameInRow="finish_kod" msprop:Generator_ColumnPropNameInTable="finish_kodColumn" msprop:Generator_UserColumnName="finish_kod" type="xs:int" minOccurs="0" />
<xs:element name="naprav" msprop:Generator_ColumnVarNameInTable="columnnaprav" msprop:Generator_ColumnPropNameInRow="naprav" msprop:Generator_ColumnPropNameInTable="napravColumn" msprop:Generator_UserColumnName="naprav" type="xs:int" minOccurs="0" />
<xs:element name="vetka" msprop:Generator_ColumnVarNameInTable="columnvetka" msprop:Generator_ColumnPropNameInRow="vetka" msprop:Generator_ColumnPropNameInTable="vetkaColumn" msprop:Generator_UserColumnName="vetka" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" type="xs:int" />
<xs:element name="serialpas" msprop:Generator_ColumnVarNameInTable="columnserialpas" msprop:Generator_ColumnPropNameInRow="serialpas" msprop:Generator_ColumnPropNameInTable="serialpasColumn" msprop:Generator_UserColumnName="serialpas" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="remont" msprop:Generator_TableClassName="remontDataTable" msprop:Generator_TableVarName="tableremont" msprop:Generator_TablePropName="remont" msprop:Generator_RowDeletingName="remontRowDeleting" msprop:Generator_RowChangingName="remontRowChanging" msprop:Generator_RowEvHandlerName="remontRowChangeEventHandler" msprop:Generator_RowDeletedName="remontRowDeleted" msprop:Generator_UserTableName="remont" msprop:Generator_RowChangedName="remontRowChanged" msprop:Generator_RowEvArgName="remontRowChangeEvent" msprop:Generator_RowClassName="remontRow">
<xs:complexType>
<xs:sequence>
<xs:element name="typik" msprop:Generator_ColumnVarNameInTable="columntypik" msprop:Generator_ColumnPropNameInRow="typik" msprop:Generator_ColumnPropNameInTable="typikColumn" msprop:Generator_UserColumnName="typik" type="xs:int" />
<xs:element name="serial" msprop:Generator_ColumnVarNameInTable="columnserial" msprop:Generator_ColumnPropNameInRow="serial" msprop:Generator_ColumnPropNameInTable="serialColumn" msprop:Generator_UserColumnName="serial" type="xs:int" minOccurs="0" />
<xs:element name="start" msprop:Generator_ColumnVarNameInTable="columnstart" msprop:Generator_ColumnPropNameInRow="start" msprop:Generator_ColumnPropNameInTable="startColumn" msprop:Generator_UserColumnName="start" type="xs:dateTime" minOccurs="0" />
<xs:element name="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnPropNameInTable="kodColumn" msprop:Generator_UserColumnName="kod" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="spravka" msprop:Generator_TableClassName="spravkaDataTable" msprop:Generator_TableVarName="tablespravka" msprop:Generator_TablePropName="spravka" msprop:Generator_RowDeletingName="spravkaRowDeleting" msprop:Generator_RowChangingName="spravkaRowChanging" msprop:Generator_RowEvHandlerName="spravkaRowChangeEventHandler" msprop:Generator_RowDeletedName="spravkaRowDeleted" msprop:Generator_UserTableName="spravka" msprop:Generator_RowChangedName="spravkaRowChanged" msprop:Generator_RowEvArgName="spravkaRowChangeEvent" msprop:Generator_RowClassName="spravkaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnPropNameInTable="kodColumn" msprop:Generator_UserColumnName="kod" type="xs:int" />
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="krit" msprop:Generator_ColumnVarNameInTable="columnkrit" msprop:Generator_ColumnPropNameInRow="krit" msprop:Generator_ColumnPropNameInTable="kritColumn" msprop:Generator_UserColumnName="krit" type="xs:double" minOccurs="0" />
<xs:element name="srok_dos_det" msprop:Generator_ColumnVarNameInTable="columnsrok_dos_det" msprop:Generator_ColumnPropNameInRow="srok_dos_det" msprop:Generator_ColumnPropNameInTable="srok_dos_detColumn" msprop:Generator_UserColumnName="srok_dos_det" type="xs:int" minOccurs="0" />
<xs:element name="vremya_remonta" msprop:Generator_ColumnVarNameInTable="columnvremya_remonta" msprop:Generator_ColumnPropNameInRow="vremya_remonta" msprop:Generator_ColumnPropNameInTable="vremya_remontaColumn" msprop:Generator_UserColumnName="vremya_remonta" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stanciya" msprop:Generator_TableClassName="stanciyaDataTable" msprop:Generator_TableVarName="tablestanciya" msprop:Generator_TablePropName="stanciya" msprop:Generator_RowDeletingName="stanciyaRowDeleting" msprop:Generator_RowChangingName="stanciyaRowChanging" msprop:Generator_RowEvHandlerName="stanciyaRowChangeEventHandler" msprop:Generator_RowDeletedName="stanciyaRowDeleted" msprop:Generator_UserTableName="stanciya" msprop:Generator_RowChangedName="stanciyaRowChanged" msprop:Generator_RowEvArgName="stanciyaRowChangeEvent" msprop:Generator_RowClassName="stanciyaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnPropNameInTable="kodColumn" msprop:Generator_UserColumnName="kod" type="xs:int" />
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="paspotok" msprop:Generator_ColumnVarNameInTable="columnpaspotok" msprop:Generator_ColumnPropNameInRow="paspotok" msprop:Generator_ColumnPropNameInTable="paspotokColumn" msprop:Generator_UserColumnName="paspotok" type="xs:int" minOccurs="0" />
<xs:element name="kod_vpered" msprop:Generator_ColumnVarNameInTable="columnkod_vpered" msprop:Generator_ColumnPropNameInRow="kod_vpered" msprop:Generator_ColumnPropNameInTable="kod_vperedColumn" msprop:Generator_UserColumnName="kod_vpered" type="xs:int" minOccurs="0" />
<xs:element name="rast_vpered" msprop:Generator_ColumnVarNameInTable="columnrast_vpered" msprop:Generator_ColumnPropNameInRow="rast_vpered" msprop:Generator_ColumnPropNameInTable="rast_vperedColumn" msprop:Generator_UserColumnName="rast_vpered" type="xs:int" minOccurs="0" />
<xs:element name="kod_nazad" msprop:Generator_ColumnVarNameInTable="columnkod_nazad" msprop:Generator_ColumnPropNameInRow="kod_nazad" msprop:Generator_ColumnPropNameInTable="kod_nazadColumn" msprop:Generator_UserColumnName="kod_nazad" type="xs:int" minOccurs="0" />
<xs:element name="rast_nazad" msprop:Generator_ColumnVarNameInTable="columnrast_nazad" msprop:Generator_ColumnPropNameInRow="rast_nazad" msprop:Generator_ColumnPropNameInTable="rast_nazadColumn" msprop:Generator_UserColumnName="rast_nazad" type="xs:int" minOccurs="0" />
<xs:element name="stat" msprop:Generator_ColumnVarNameInTable="columnstat" msprop:Generator_ColumnPropNameInRow="stat" msprop:Generator_ColumnPropNameInTable="statColumn" msprop:Generator_UserColumnName="stat" type="xs:int" minOccurs="0" />
<xs:element name="start_time" msprop:Generator_ColumnVarNameInTable="columnstart_time" msprop:Generator_ColumnPropNameInRow="start_time" msprop:Generator_ColumnPropNameInTable="start_timeColumn" msprop:Generator_UserColumnName="start_time" type="xs:duration" minOccurs="0" />
<xs:element name="finish_time" msprop:Generator_ColumnVarNameInTable="columnfinish_time" msprop:Generator_ColumnPropNameInRow="finish_time" msprop:Generator_ColumnPropNameInTable="finish_timeColumn" msprop:Generator_UserColumnName="finish_time" type="xs:duration" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stanitsa" msprop:Generator_TableClassName="stanitsaDataTable" msprop:Generator_TableVarName="tablestanitsa" msprop:Generator_TablePropName="stanitsa" msprop:Generator_RowDeletingName="stanitsaRowDeleting" msprop:Generator_RowChangingName="stanitsaRowChanging" msprop:Generator_RowEvHandlerName="stanitsaRowChangeEventHandler" msprop:Generator_RowDeletedName="stanitsaRowDeleted" msprop:Generator_UserTableName="stanitsa" msprop:Generator_RowChangedName="stanitsaRowChanged" msprop:Generator_RowEvArgName="stanitsaRowChangeEvent" msprop:Generator_RowClassName="stanitsaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Столбец_x0020_0" msprop:Generator_ColumnVarNameInTable="columnСтолбец_0" msprop:Generator_ColumnPropNameInRow="Столбец_0" msprop:Generator_ColumnPropNameInTable="Столбец_0Column" msprop:Generator_UserColumnName="Столбец 0" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Столбец_x0020_1" msprop:Generator_ColumnVarNameInTable="columnСтолбец_1" msprop:Generator_ColumnPropNameInRow="Столбец_1" msprop:Generator_ColumnPropNameInTable="Столбец_1Column" msprop:Generator_UserColumnName="Столбец 1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Столбец_x0020_2" msprop:Generator_ColumnVarNameInTable="columnСтолбец_2" msprop:Generator_ColumnPropNameInRow="Столбец_2" msprop:Generator_ColumnPropNameInTable="Столбец_2Column" msprop:Generator_UserColumnName="Столбец 2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Столбец_x0020_3" msprop:Generator_ColumnVarNameInTable="columnСтолбец_3" msprop:Generator_ColumnPropNameInRow="Столбец_3" msprop:Generator_ColumnPropNameInTable="Столбец_3Column" msprop:Generator_UserColumnName="Столбец 3" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Столбец_x0020_4" msprop:Generator_ColumnVarNameInTable="columnСтолбец_4" msprop:Generator_ColumnPropNameInRow="Столбец_4" msprop:Generator_ColumnPropNameInTable="Столбец_4Column" msprop:Generator_UserColumnName="Столбец 4" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Столбец_x0020_5" msprop:Generator_ColumnVarNameInTable="columnСтолбец_5" msprop:Generator_ColumnPropNameInRow="Столбец_5" msprop:Generator_ColumnPropNameInTable="Столбец_5Column" msprop:Generator_UserColumnName="Столбец 5" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="typsostav" msprop:Generator_TableClassName="typsostavDataTable" msprop:Generator_TableVarName="tabletypsostav" msprop:Generator_TablePropName="typsostav" msprop:Generator_RowDeletingName="typsostavRowDeleting" msprop:Generator_RowChangingName="typsostavRowChanging" msprop:Generator_RowEvHandlerName="typsostavRowChangeEventHandler" msprop:Generator_RowDeletedName="typsostavRowDeleted" msprop:Generator_UserTableName="typsostav" msprop:Generator_RowChangedName="typsostavRowChanged" msprop:Generator_RowEvArgName="typsostavRowChangeEvent" msprop:Generator_RowClassName="typsostavRow">
<xs:complexType>
<xs:sequence>
<xs:element name="typkod" msprop:Generator_ColumnVarNameInTable="columntypkod" msprop:Generator_ColumnPropNameInRow="typkod" msprop:Generator_ColumnPropNameInTable="typkodColumn" msprop:Generator_UserColumnName="typkod" type="xs:int" />
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="kolmest" msprop:Generator_ColumnVarNameInTable="columnkolmest" msprop:Generator_ColumnPropNameInRow="kolmest" msprop:Generator_ColumnPropNameInTable="kolmestColumn" msprop:Generator_UserColumnName="kolmest" type="xs:int" minOccurs="0" />
<xs:element name="dlina" msprop:Generator_ColumnVarNameInTable="columndlina" msprop:Generator_ColumnPropNameInRow="dlina" msprop:Generator_ColumnPropNameInTable="dlinaColumn" msprop:Generator_UserColumnName="dlina" type="xs:double" />
<xs:element name="shirina" msprop:Generator_ColumnVarNameInTable="columnshirina" msprop:Generator_ColumnPropNameInRow="shirina" msprop:Generator_ColumnPropNameInTable="shirinaColumn" msprop:Generator_UserColumnName="shirina" type="xs:int" />
<xs:element name="visota" msprop:Generator_ColumnVarNameInTable="columnvisota" msprop:Generator_ColumnPropNameInRow="visota" msprop:Generator_ColumnPropNameInTable="visotaColumn" msprop:Generator_UserColumnName="visota" type="xs:int" />
<xs:element name="naznachenie" msprop:Generator_ColumnVarNameInTable="columnnaznachenie" msprop:Generator_ColumnPropNameInRow="naznachenie" msprop:Generator_ColumnPropNameInTable="naznachenieColumn" msprop:Generator_UserColumnName="naznachenie" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="koleya" msprop:Generator_ColumnVarNameInTable="columnkoleya" msprop:Generator_ColumnPropNameInRow="koleya" msprop:Generator_ColumnPropNameInTable="koleyaColumn" msprop:Generator_UserColumnName="koleya" type="xs:int" />
<xs:element name="speed" msprop:Generator_ColumnVarNameInTable="columnspeed" msprop:Generator_ColumnPropNameInRow="speed" msprop:Generator_ColumnPropNameInTable="speedColumn" msprop:Generator_UserColumnName="speed" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vetka" msprop:Generator_TableClassName="vetkaDataTable" msprop:Generator_TableVarName="tablevetka" msprop:Generator_TablePropName="vetka" msprop:Generator_RowDeletingName="vetkaRowDeleting" msprop:Generator_RowChangingName="vetkaRowChanging" msprop:Generator_RowEvHandlerName="vetkaRowChangeEventHandler" msprop:Generator_RowDeletedName="vetkaRowDeleted" msprop:Generator_UserTableName="vetka" msprop:Generator_RowChangedName="vetkaRowChanged" msprop:Generator_RowEvArgName="vetkaRowChangeEvent" msprop:Generator_RowClassName="vetkaRow">
<xs:complexType>
<xs:sequence>
<xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="start_stanciya" msprop:Generator_ColumnVarNameInTable="columnstart_stanciya" msprop:Generator_ColumnPropNameInRow="start_stanciya" msprop:Generator_ColumnPropNameInTable="start_stanciyaColumn" msprop:Generator_UserColumnName="start_stanciya" type="xs:int" minOccurs="0" />
<xs:element name="finish_stanciya" msprop:Generator_ColumnVarNameInTable="columnfinish_stanciya" msprop:Generator_ColumnPropNameInRow="finish_stanciya" msprop:Generator_ColumnPropNameInTable="finish_stanciyaColumn" msprop:Generator_UserColumnName="finish_stanciya" type="xs:int" minOccurs="0" />
<xs:element name="depo_status" msprop:Generator_ColumnVarNameInTable="columndepo_status" msprop:Generator_ColumnPropNameInRow="depo_status" msprop:Generator_ColumnPropNameInTable="depo_statusColumn" msprop:Generator_UserColumnName="depo_status" type="xs:int" minOccurs="0" />
<xs:element name="start_status" msprop:Generator_ColumnVarNameInTable="columnstart_status" msprop:Generator_ColumnPropNameInRow="start_status" msprop:Generator_ColumnPropNameInTable="start_statusColumn" msprop:Generator_UserColumnName="start_status" type="xs:int" minOccurs="0" />
<xs:element name="finish_status" msprop:Generator_ColumnVarNameInTable="columnfinish_status" msprop:Generator_ColumnPropNameInRow="finish_status" msprop:Generator_ColumnPropNameInTable="finish_statusColumn" msprop:Generator_UserColumnName="finish_status" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_raspisanie" msprop:Generator_TableClassName="v_raspisanieDataTable" msprop:Generator_TableVarName="tablev_raspisanie" msprop:Generator_TablePropName="v_raspisanie" msprop:Generator_RowDeletingName="v_raspisanieRowDeleting" msprop:Generator_RowChangingName="v_raspisanieRowChanging" msprop:Generator_RowEvHandlerName="v_raspisanieRowChangeEventHandler" msprop:Generator_RowDeletedName="v_raspisanieRowDeleted" msprop:Generator_UserTableName="v_raspisanie" msprop:Generator_RowChangedName="v_raspisanieRowChanged" msprop:Generator_RowEvArgName="v_raspisanieRowChangeEvent" msprop:Generator_RowClassName="v_raspisanieRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Отправление" msprop:Generator_ColumnVarNameInTable="columnОтправление" msprop:Generator_ColumnPropNameInRow="Отправление" msprop:Generator_ColumnPropNameInTable="ОтправлениеColumn" msprop:Generator_UserColumnName="Отправление" type="xs:duration" />
<xs:element name="Со_x0020_станции" msprop:Generator_ColumnVarNameInTable="columnСо_станции" msprop:Generator_ColumnPropNameInRow="Со_станции" msprop:Generator_ColumnPropNameInTable="Со_станцииColumn" msprop:Generator_UserColumnName="Со станции" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Прибытие" msprop:Generator_ColumnVarNameInTable="columnПрибытие" msprop:Generator_ColumnPropNameInRow="Прибытие" msprop:Generator_ColumnPropNameInTable=рибытиеColumn" msprop:Generator_UserColumnName="Прибытие" type="xs:duration" minOccurs="0" />
<xs:element name="На_x0020_станцию" msprop:Generator_ColumnVarNameInTable="columnНа_станцию" msprop:Generator_ColumnPropNameInRow="На_станцию" msprop:Generator_ColumnPropNameInTable="На_станциюColumn" msprop:Generator_UserColumnName="На станцию" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Ветка" msprop:Generator_ColumnVarNameInTable="columnВетка" msprop:Generator_ColumnPropNameInRow="Ветка" msprop:Generator_ColumnPropNameInTable="ВеткаColumn" msprop:Generator_UserColumnName="Ветка" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_remont" msprop:Generator_TableClassName="v_remontDataTable" msprop:Generator_TableVarName="tablev_remont" msprop:Generator_TablePropName="v_remont" msprop:Generator_RowDeletingName="v_remontRowDeleting" msprop:Generator_RowChangingName="v_remontRowChanging" msprop:Generator_RowEvHandlerName="v_remontRowChangeEventHandler" msprop:Generator_RowDeletedName="v_remontRowDeleted" msprop:Generator_UserTableName="v_remont" msprop:Generator_RowChangedName="v_remontRowChanged" msprop:Generator_RowEvArgName="v_remontRowChangeEvent" msprop:Generator_RowClassName="v_remontRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Тупик" 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="Состав" type="xs:int" minOccurs="0" />
<xs:element name="Неисправность" msprop:Generator_ColumnVarNameInTable="columnНеисправность" msprop:Generator_ColumnPropNameInRow="Неисправность" msprop:Generator_ColumnPropNameInTable="НеисправностьColumn" msprop:Generator_UserColumnName="Неисправность" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</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" minOccurs="0" />
<xs:element name=редположительное_x0020_окончание" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnПредположительное_окончание" msprop:Generator_ColumnPropNameInRow=редположительное_окончание" msprop:Generator_ColumnPropNameInTable=редположительное_окончаниеColumn" msprop:Generator_UserColumnName="Предположительное окончание" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:dispetcher" />
<xs:field xpath="mstns:serialpas" />
</xs:unique>
<xs:unique name="jurnal_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:jurnal" />
<xs:field xpath="mstns:start" />
<xs:field xpath="mstns:serialpas" />
<xs:field xpath="mstns:serial" />
<xs:field xpath="mstns:typik" />
</xs:unique>
<xs:unique name="mashinist_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:mashinist" />
<xs:field xpath="mstns:serialpas" />
</xs:unique>
<xs:unique name="psostav_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:psostav" />
<xs:field xpath="mstns:serial" />
</xs:unique>
<xs:unique name="raspisanie_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:raspisanie" />
<xs:field xpath="mstns:start_vremya" />
<xs:field xpath="mstns:start_kod" />
<xs:field xpath="mstns:serial" />
<xs:field xpath="mstns:serialpas" />
</xs:unique>
<xs:unique name="remont_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:remont" />
<xs:field xpath="mstns:typik" />
</xs:unique>
<xs:unique name="spravka_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:spravka" />
<xs:field xpath="mstns:kod" />
</xs:unique>
<xs:unique name="stanciya_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:stanciya" />
<xs:field xpath="mstns:kod" />
</xs:unique>
<xs:unique name="typsostav_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:typsostav" />
<xs:field xpath="mstns:typkod" />
</xs:unique>
<xs:unique name="vetka_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:vetka" />
<xs:field xpath="mstns:name" />
</xs:unique>
<xs:unique name="v_remont_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_remont" />
<xs:field xpath="mstns:Тупик" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
<msdata:Relationship name="FK_serial_jurnal" msdata:parent="psostav" msdata:child="jurnal" msdata:parentkey="serial" msdata:childkey="serial" msprop:Generator_UserChildTable="jurnal" msprop:Generator_ChildPropName="GetjurnalRows" msprop:Generator_UserRelationName="FK_serial_jurnal" msprop:Generator_RelationVarName="relationFK_serial_jurnal" msprop:Generator_UserParentTable="psostav" msprop:Generator_ParentPropName="psostavRow" />
<msdata:Relationship name="FK_serialpas_jurnal" msdata:parent="dispetcher" msdata:child="jurnal" msdata:parentkey="serialpas" msdata:childkey="serialpas" msprop:Generator_UserChildTable="jurnal" msprop:Generator_ChildPropName="GetjurnalRows" msprop:Generator_UserRelationName="FK_serialpas_jurnal" msprop:Generator_ParentPropName="dispetcherRow" msprop:Generator_RelationVarName="relationFK_serialpas_jurnal" msprop:Generator_UserParentTable="dispetcher" />
<msdata:Relationship name="FK_typik_jurnal" msdata:parent="remont" msdata:child="jurnal" msdata:parentkey="typik" msdata:childkey="typik" msprop:Generator_UserChildTable="jurnal" msprop:Generator_ChildPropName="GetjurnalRows" msprop:Generator_UserRelationName="FK_typik_jurnal" msprop:Generator_RelationVarName="relationFK_typik_jurnal" msprop:Generator_UserParentTable="remont" msprop:Generator_ParentPropName="remontRow" />
<msdata:Relationship name="FK_serial_mashinist" msdata:parent="psostav" msdata:child="mashinist" msdata:parentkey="serial" msdata:childkey="serial" msprop:Generator_UserChildTable="mashinist" msprop:Generator_ChildPropName="GetmashinistRows" msprop:Generator_UserRelationName="FK_serial_mashinist" msprop:Generator_RelationVarName="relationFK_serial_mashinist" msprop:Generator_UserParentTable="psostav" msprop:Generator_ParentPropName="psostavRow" />
<msdata:Relationship name="FK_typkod_psostav" msdata:parent="typsostav" msdata:child="psostav" msdata:parentkey="typkod" msdata:childkey="typkod" msprop:Generator_UserChildTable="psostav" msprop:Generator_ChildPropName="GetpsostavRows" msprop:Generator_UserRelationName="FK_typkod_psostav" msprop:Generator_RelationVarName="relationFK_typkod_psostav" msprop:Generator_UserParentTable="typsostav" msprop:Generator_ParentPropName="typsostavRow" />
<msdata:Relationship name="FK_finish_kod_raspisanie" msdata:parent="stanciya" msdata:child="raspisanie" msdata:parentkey="kod" msdata:childkey="finish_kod" msprop:Generator_UserChildTable="raspisanie" msprop:Generator_ChildPropName="GetraspisanieRowsByFK_finish_kod_raspisanie" msprop:Generator_UserRelationName="FK_finish_kod_raspisanie" msprop:Generator_RelationVarName="relationFK_finish_kod_raspisanie" msprop:Generator_UserParentTable="stanciya" msprop:Generator_ParentPropName="stanciyaRowByFK_finish_kod_raspisanie" />
<msdata:Relationship name="FK_serial_raspisanie" msdata:parent="psostav" msdata:child="raspisanie" msdata:parentkey="serial" msdata:childkey="serial" msprop:Generator_UserChildTable="raspisanie" msprop:Generator_ChildPropName="GetraspisanieRows" msprop:Generator_UserRelationName="FK_serial_raspisanie" msprop:Generator_ParentPropName="psostavRow" msprop:Generator_RelationVarName="relationFK_serial_raspisanie" msprop:Generator_UserParentTable="psostav" />
<msdata:Relationship name="FK_serialpas_raspisanie" msdata:parent="dispetcher" msdata:child="raspisanie" msdata:parentkey="serialpas" msdata:childkey="serialpas" msprop:Generator_UserChildTable="raspisanie" msprop:Generator_ChildPropName="GetraspisanieRows" msprop:Generator_UserRelationName="FK_serialpas_raspisanie" msprop:Generator_ParentPropName="dispetcherRow" msprop:Generator_RelationVarName="relationFK_serialpas_raspisanie" msprop:Generator_UserParentTable="dispetcher" />
<msdata:Relationship name="FK_start_kod_raspisanie" msdata:parent="stanciya" msdata:child="raspisanie" msdata:parentkey="kod" msdata:childkey="start_kod" msprop:Generator_UserChildTable="raspisanie" msprop:Generator_ChildPropName="GetraspisanieRowsByFK_start_kod_raspisanie" msprop:Generator_UserRelationName="FK_start_kod_raspisanie" msprop:Generator_RelationVarName="relationFK_start_kod_raspisanie" msprop:Generator_UserParentTable="stanciya" msprop:Generator_ParentPropName="stanciyaRowByFK_start_kod_raspisanie" />
<msdata:Relationship name="FK_vetka_raspisanie" msdata:parent="vetka" msdata:child="raspisanie" msdata:parentkey="name" msdata:childkey="vetka" msprop:Generator_UserChildTable="raspisanie" msprop:Generator_ChildPropName="GetraspisanieRows" msprop:Generator_UserRelationName="FK_vetka_raspisanie" msprop:Generator_RelationVarName="relationFK_vetka_raspisanie" msprop:Generator_UserParentTable="vetka" msprop:Generator_ParentPropName="vetkaRow" />
<msdata:Relationship name="FK_kod_remont" msdata:parent="spravka" msdata:child="remont" msdata:parentkey="kod" msdata:childkey="kod" msprop:Generator_UserChildTable="remont" msprop:Generator_ChildPropName="GetremontRows" msprop:Generator_UserRelationName="FK_kod_remont" msprop:Generator_RelationVarName="relationFK_kod_remont" msprop:Generator_UserParentTable="spravka" msprop:Generator_ParentPropName="spravkaRow" />
<msdata:Relationship name="FK_serial_remont" msdata:parent="psostav" msdata:child="remont" msdata:parentkey="serial" msdata:childkey="serial" msprop:Generator_UserChildTable="remont" msprop:Generator_ChildPropName="GetremontRows" msprop:Generator_UserRelationName="FK_serial_remont" msprop:Generator_ParentPropName="psostavRow" msprop:Generator_RelationVarName="relationFK_serial_remont" msprop:Generator_UserParentTable="psostav" />
<msdata:Relationship name="FK_finish_stanciya" msdata:parent="stanciya" msdata:child="vetka" msdata:parentkey="kod" msdata:childkey="finish_stanciya" msprop:Generator_UserChildTable="vetka" msprop:Generator_ChildPropName="GetvetkaRowsByFK_finish_stanciya" msprop:Generator_UserRelationName="FK_finish_stanciya" msprop:Generator_ParentPropName="stanciyaRowByFK_finish_stanciya" msprop:Generator_RelationVarName="relationFK_finish_stanciya" msprop:Generator_UserParentTable="stanciya" />
<msdata:Relationship name="FK_start_stanciya" msdata:parent="stanciya" msdata:child="vetka" msdata:parentkey="kod" msdata:childkey="start_stanciya" msprop:Generator_UserChildTable="vetka" msprop:Generator_ChildPropName="GetvetkaRowsByFK_start_stanciya" msprop:Generator_UserRelationName="FK_start_stanciya" msprop:Generator_ParentPropName="stanciyaRowByFK_start_stanciya" msprop:Generator_RelationVarName="relationFK_start_stanciya" msprop:Generator_UserParentTable="stanciya" />
</xs:appinfo>
</xs:annotation>
</xs:schema>