<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="SLOWNIKDataSet" targetNamespace="http://tempuri.org/SLOWNIKDataSet.xsd" xmlns:mstns="http://tempuri.org/SLOWNIKDataSet.xsd" xmlns="http://tempuri.org/SLOWNIKDataSet.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="3" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="testowe" IsAppSettingsProperty="True" Modifier="Assembly" Name="testowe (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Baza_Reklam.Properties.Settings.GlobalReference.Default.testowe" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="BAZA_REKLAMConnectionString1" IsAppSettingsProperty="True" Modifier="Assembly" Name="BAZA_REKLAMConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Baza_Reklam.Properties.Settings.GlobalReference.Default.BAZA_REKLAMConnectionString1" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="BAZA_REKLAM" IsAppSettingsProperty="True" Modifier="Assembly" Name="BAZA_REKLAM (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Baza_Reklam.Properties.Settings.GlobalReference.Default.BAZA_REKLAM" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Baza_ReklamConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="Baza_ReklamConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Baza_Reklam.Properties.Settings.GlobalReference.Default.Baza_ReklamConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GRZBIETYTableAdapter" GeneratorDataComponentClassName="GRZBIETYTableAdapter" Name="GRZBIETY" UserDataComponentName="GRZBIETYTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.GRZBIETY" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [GRZBIETY] WHERE (([ID] = @Original_ID) AND ((@IsNull_Nazwa = 1 AND [Nazwa] IS NULL) OR ([Nazwa] = @Original_Nazwa)) AND ((@IsNull_Koszt_Druku = 1 AND [Koszt_Druku] IS NULL) OR ([Koszt_Druku] = @Original_Koszt_Druku)) AND ((@IsNull_TytulId = 1 AND [TytulId] IS NULL) OR ([TytulId] = @Original_TytulId)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Koszt_Druku" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Koszt_Druku" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [GRZBIETY] ([Nazwa], [Koszt_Druku], [TytulId]) VALUES (@Nazwa, @Koszt_Druku, @TytulId);
SELECT ID, Nazwa, Koszt_Druku, TytulId FROM GRZBIETY WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Koszt_Druku" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID, Nazwa, Koszt_Druku, TytulId
FROM            GRZBIETY</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [GRZBIETY] SET [Nazwa] = @Nazwa, [Koszt_Druku] = @Koszt_Druku, [TytulId] = @TytulId WHERE (([ID] = @Original_ID) AND ((@IsNull_Nazwa = 1 AND [Nazwa] IS NULL) OR ([Nazwa] = @Original_Nazwa)) AND ((@IsNull_Koszt_Druku = 1 AND [Koszt_Druku] IS NULL) OR ([Koszt_Druku] = @Original_Koszt_Druku)) AND ((@IsNull_TytulId = 1 AND [TytulId] IS NULL) OR ([TytulId] = @Original_TytulId)));
SELECT ID, Nazwa, Koszt_Druku, TytulId FROM GRZBIETY WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Koszt_Druku" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Koszt_Druku" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Koszt_Druku" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Koszt_Druku" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TytulId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TytulId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID" ColumnName="ID" DataSourceName="BAZA_REKLAM_TEST.dbo.GRZBIETY" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="Nazwa" DataSetColumn="Nazwa" />
              <Mapping SourceColumn="Koszt_Druku" DataSetColumn="Koszt_Druku" />
              <Mapping SourceColumn="TytulId" DataSetColumn="TytulId" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LISTA_TYPOW_REKLAMYTableAdapter" GeneratorDataComponentClassName="LISTA_TYPOW_REKLAMYTableAdapter" Name="LISTA_TYPOW_REKLAMY" UserDataComponentName="LISTA_TYPOW_REKLAMYTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.[LISTA TYPÓW REKLAMY]" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [LISTA TYPÓW REKLAMY] WHERE (((@IsNull_SYMB = 1 AND [SYMB] IS NULL) OR ([SYMB] = @Original_SYMB)) AND ([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SYMB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [LISTA TYPÓW REKLAMY] ([SYMB]) VALUES (@SYMB);
SELECT SYMB, id FROM [LISTA TYPÓW REKLAMY] WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        SYMB, id
FROM            [LISTA TYPÓW REKLAMY]</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [LISTA TYPÓW REKLAMY] SET [SYMB] = @SYMB WHERE (((@IsNull_SYMB = 1 AND [SYMB] IS NULL) OR ([SYMB] = @Original_SYMB)) AND ([id] = @Original_id));
SELECT SYMB, id FROM [LISTA TYPÓW REKLAMY] WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SYMB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.[LISTA TYPÓW REKLAMY]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SYMB" DataSetColumn="SYMB" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.[LISTA TYPÓW REKLAMY]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByBezBezplatnych" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByBezBezplatnych" GeneratorSourceName="FillByBezBezplatnych" GetMethodModifier="Public" GetMethodName="GetDataByBezBezplatnych" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByBezBezplatnych" UserSourceName="FillByBezBezplatnych">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     SYMB, id
FROM         [LISTA TYPÓW REKLAMY]
WHERE     (id &lt;&gt; 2)</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LISTA_TYTULOWTableAdapter" GeneratorDataComponentClassName="LISTA_TYTULOWTableAdapter" Name="LISTA_TYTULOW" UserDataComponentName="LISTA_TYTULOWTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM.dbo.[LISTA TYTUŁÓW]" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [LISTA TYTUŁÓW] WHERE (([id] = @Original_id) AND ((@IsNull_SYMB = 1 AND [SYMB] IS NULL) OR ([SYMB] = @Original_SYMB)) AND ((@IsNull_TYT_FULL_NAME = 1 AND [TYT FULL NAME] IS NULL) OR ([TYT FULL NAME] = @Original_TYT_FULL_NAME)) AND ((@IsNull_TYT_LONG_NAME = 1 AND [TYT LONG NAME] IS NULL) OR ([TYT LONG NAME] = @Original_TYT_LONG_NAME)) AND ((@IsNull_TYT_PERIOD = 1 AND [TYT PERIOD] IS NULL) OR ([TYT PERIOD] = @Original_TYT_PERIOD)) AND ([HASŁO REKLAMOWE] = @Original_HASŁO_REKLAMOWE) AND ((@IsNull_logo_file_name = 1 AND [logo_file_name] IS NULL) OR ([logo_file_name] = @Original_logo_file_name)) AND ((@IsNull_st_aktywny = 1 AND [st_aktywny] IS NULL) OR ([st_aktywny] = @Original_st_aktywny)) AND ([SYMB2] = @Original_SYMB2) AND ([max_rabat] = @Original_max_rabat))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SYMB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_FULL_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_FULL_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_LONG_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_LONG_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_PERIOD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_PERIOD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_HASŁO_REKLAMOWE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HASŁO REKLAMOWE" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_logo_file_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_logo_file_name" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_st_aktywny" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_st_aktywny" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_max_rabat" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="max_rabat" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [LISTA TYTUŁÓW] ([SYMB], [TYT FULL NAME], [TYT LONG NAME], [TYT PERIOD], [HASŁO REKLAMOWE], [logo_file_name], [st_aktywny], [SYMB2], [max_rabat]) VALUES (@SYMB, @TYT_FULL_NAME, @TYT_LONG_NAME, @TYT_PERIOD, @HASŁO_REKLAMOWE, @logo_file_name, @st_aktywny, @SYMB2, @max_rabat);
SELECT id, SYMB, [TYT FULL NAME], [TYT LONG NAME], [TYT PERIOD], [HASŁO REKLAMOWE], logo_file_name, st_aktywny, SYMB2, max_rabat FROM [LISTA TYTUŁÓW] WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_FULL_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_LONG_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_PERIOD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@HASŁO_REKLAMOWE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HASŁO REKLAMOWE" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@logo_file_name" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@st_aktywny" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@max_rabat" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="max_rabat" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        id, SYMB, [TYT FULL NAME], [TYT LONG NAME], [TYT PERIOD], [HASŁO REKLAMOWE], logo_file_name, st_aktywny, SYMB2, max_rabat
FROM            [LISTA TYTUŁÓW]
WHERE        Active = 1</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [LISTA TYTUŁÓW] SET [SYMB] = @SYMB, [TYT FULL NAME] = @TYT_FULL_NAME, [TYT LONG NAME] = @TYT_LONG_NAME, [TYT PERIOD] = @TYT_PERIOD, [HASŁO REKLAMOWE] = @HASŁO_REKLAMOWE, [logo_file_name] = @logo_file_name, [st_aktywny] = @st_aktywny, [SYMB2] = @SYMB2, [max_rabat] = @max_rabat WHERE (([id] = @Original_id) AND ((@IsNull_SYMB = 1 AND [SYMB] IS NULL) OR ([SYMB] = @Original_SYMB)) AND ((@IsNull_TYT_FULL_NAME = 1 AND [TYT FULL NAME] IS NULL) OR ([TYT FULL NAME] = @Original_TYT_FULL_NAME)) AND ((@IsNull_TYT_LONG_NAME = 1 AND [TYT LONG NAME] IS NULL) OR ([TYT LONG NAME] = @Original_TYT_LONG_NAME)) AND ((@IsNull_TYT_PERIOD = 1 AND [TYT PERIOD] IS NULL) OR ([TYT PERIOD] = @Original_TYT_PERIOD)) AND ([HASŁO REKLAMOWE] = @Original_HASŁO_REKLAMOWE) AND ((@IsNull_logo_file_name = 1 AND [logo_file_name] IS NULL) OR ([logo_file_name] = @Original_logo_file_name)) AND ((@IsNull_st_aktywny = 1 AND [st_aktywny] IS NULL) OR ([st_aktywny] = @Original_st_aktywny)) AND ([SYMB2] = @Original_SYMB2) AND ([max_rabat] = @Original_max_rabat));
SELECT id, SYMB, [TYT FULL NAME], [TYT LONG NAME], [TYT PERIOD], [HASŁO REKLAMOWE], logo_file_name, st_aktywny, SYMB2, max_rabat FROM [LISTA TYTUŁÓW] WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_FULL_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_LONG_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT_PERIOD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@HASŁO_REKLAMOWE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HASŁO REKLAMOWE" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@logo_file_name" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@st_aktywny" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SYMB2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@max_rabat" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="max_rabat" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SYMB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_FULL_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_FULL_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT FULL NAME" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_LONG_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_LONG_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT LONG NAME" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT_PERIOD" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT_PERIOD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT PERIOD" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_HASŁO_REKLAMOWE" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="HASŁO REKLAMOWE" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_logo_file_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_logo_file_name" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="logo_file_name" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_st_aktywny" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_st_aktywny" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="st_aktywny" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SYMB2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SYMB2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_max_rabat" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="max_rabat" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.[LISTA TYTUŁÓW]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="SYMB" DataSetColumn="SYMB" />
              <Mapping SourceColumn="TYT FULL NAME" DataSetColumn="TYT FULL NAME" />
              <Mapping SourceColumn="TYT LONG NAME" DataSetColumn="TYT LONG NAME" />
              <Mapping SourceColumn="TYT PERIOD" DataSetColumn="TYT PERIOD" />
              <Mapping SourceColumn="HASŁO REKLAMOWE" DataSetColumn="HASŁO REKLAMOWE" />
              <Mapping SourceColumn="logo_file_name" DataSetColumn="logo_file_name" />
              <Mapping SourceColumn="st_aktywny" DataSetColumn="st_aktywny" />
              <Mapping SourceColumn="SYMB2" DataSetColumn="SYMB2" />
              <Mapping SourceColumn="max_rabat" DataSetColumn="max_rabat" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.[LISTA TYTUŁÓW]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillAll" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataAll" GeneratorSourceName="FillAll" GetMethodModifier="Public" GetMethodName="GetDataAll" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataAll" UserSourceName="FillAll">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT [HASŁO REKLAMOWE], SYMB, SYMB2, [TYT FULL NAME], [TYT LONG NAME], [TYT PERIOD], id, logo_file_name, max_rabat, st_aktywny FROM [LISTA TYTUŁÓW]</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NAZWY_MODULOWTableAdapter" GeneratorDataComponentClassName="NAZWY_MODULOWTableAdapter" Name="NAZWY_MODULOW" UserDataComponentName="NAZWY_MODULOWTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.[NAZWY MODUŁÓW]" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [NAZWY MODUŁÓW] WHERE (((@IsNull_MOD_TYP = 1 AND [MOD_TYP] IS NULL) OR ([MOD_TYP] = @Original_MOD_TYP)) AND ((@IsNull_MOD_SZER = 1 AND [MOD_SZER] IS NULL) OR ([MOD_SZER] = @Original_MOD_SZER)) AND ((@IsNull_MOD_WYS = 1 AND [MOD_WYS] IS NULL) OR ([MOD_WYS] = @Original_MOD_WYS)) AND ([id] = @Original_id) AND ((@IsNull_CENA_MIN = 1 AND [CENA_MIN] IS NULL) OR ([CENA_MIN] = @Original_CENA_MIN)) AND ((@IsNull_CENA = 1 AND [CENA] IS NULL) OR ([CENA] = @Original_CENA)) AND ((@IsNull_CENA_Euro = 1 AND [CENA_Euro] IS NULL) OR ([CENA_Euro] = @Original_CENA_Euro)) AND ((@IsNull_ST_AKTYWNY = 1 AND [ST_AKTYWNY] IS NULL) OR ([ST_AKTYWNY] = @Original_ST_AKTYWNY)) AND ((@IsNull_tytul = 1 AND [tytul] IS NULL) OR ([tytul] = @Original_tytul)) AND ((@IsNull_opis = 1 AND [opis] IS NULL) OR ([opis] = @Original_opis)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_TYP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MOD_TYP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_SZER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_MOD_SZER" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_WYS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_MOD_WYS" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA_MIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA_MIN" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA_Euro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA_Euro" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tytul" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tytul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [NAZWY MODUŁÓW] ([MOD_TYP], [MOD_SZER], [MOD_WYS], [CENA_MIN], [CENA], [CENA_Euro], [ST_AKTYWNY], [tytul], [opis]) VALUES (@MOD_TYP, @MOD_SZER, @MOD_WYS, @CENA_MIN, @CENA, @CENA_Euro, @ST_AKTYWNY, @tytul, @opis);
SELECT MOD_TYP, MOD_SZER, MOD_WYS, id, CENA_MIN, CENA, CENA_Euro, ST_AKTYWNY, tytul, opis FROM [NAZWY MODUŁÓW] WHERE (id = SCOPE_IDENTITY()) ORDER BY MOD_TYP</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MOD_TYP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@MOD_SZER" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@MOD_WYS" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA_MIN" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA_Euro" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tytul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        MOD_TYP, MOD_SZER, MOD_WYS, id, CENA_MIN, CENA, CENA_Euro, ST_AKTYWNY, tytul, opis
FROM            [NAZWY MODUŁÓW]
WHERE        (ST_AKTYWNY = 1)
ORDER BY MOD_TYP</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [NAZWY MODUŁÓW] SET [MOD_TYP] = @MOD_TYP, [MOD_SZER] = @MOD_SZER, [MOD_WYS] = @MOD_WYS, [CENA_MIN] = @CENA_MIN, [CENA] = @CENA, [CENA_Euro] = @CENA_Euro, [ST_AKTYWNY] = @ST_AKTYWNY, [tytul] = @tytul, [opis] = @opis WHERE (((@IsNull_MOD_TYP = 1 AND [MOD_TYP] IS NULL) OR ([MOD_TYP] = @Original_MOD_TYP)) AND ((@IsNull_MOD_SZER = 1 AND [MOD_SZER] IS NULL) OR ([MOD_SZER] = @Original_MOD_SZER)) AND ((@IsNull_MOD_WYS = 1 AND [MOD_WYS] IS NULL) OR ([MOD_WYS] = @Original_MOD_WYS)) AND ([id] = @Original_id) AND ((@IsNull_CENA_MIN = 1 AND [CENA_MIN] IS NULL) OR ([CENA_MIN] = @Original_CENA_MIN)) AND ((@IsNull_CENA = 1 AND [CENA] IS NULL) OR ([CENA] = @Original_CENA)) AND ((@IsNull_CENA_Euro = 1 AND [CENA_Euro] IS NULL) OR ([CENA_Euro] = @Original_CENA_Euro)) AND ((@IsNull_ST_AKTYWNY = 1 AND [ST_AKTYWNY] IS NULL) OR ([ST_AKTYWNY] = @Original_ST_AKTYWNY)) AND ((@IsNull_tytul = 1 AND [tytul] IS NULL) OR ([tytul] = @Original_tytul)) AND ((@IsNull_opis = 1 AND [opis] IS NULL) OR ([opis] = @Original_opis)));
SELECT MOD_TYP, MOD_SZER, MOD_WYS, id, CENA_MIN, CENA, CENA_Euro, ST_AKTYWNY, tytul, opis FROM [NAZWY MODUŁÓW] WHERE (id = @id) ORDER BY MOD_TYP</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MOD_TYP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@MOD_SZER" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@MOD_WYS" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA_MIN" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CENA_Euro" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tytul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_TYP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MOD_TYP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MOD_TYP" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_SZER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_MOD_SZER" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_SZER" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MOD_WYS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_MOD_WYS" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="MOD_WYS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA_MIN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA_MIN" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_MIN" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CENA_Euro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CENA_Euro" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CENA_Euro" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ST_AKTYWNY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ST_AKTYWNY" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tytul" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tytul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tytul" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.[NAZWY MODUŁÓW]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="MOD_TYP" DataSetColumn="MOD_TYP" />
              <Mapping SourceColumn="MOD_SZER" DataSetColumn="MOD_SZER" />
              <Mapping SourceColumn="MOD_WYS" DataSetColumn="MOD_WYS" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="CENA_MIN" DataSetColumn="CENA_MIN" />
              <Mapping SourceColumn="CENA" DataSetColumn="CENA" />
              <Mapping SourceColumn="CENA_Euro" DataSetColumn="CENA_Euro" />
              <Mapping SourceColumn="tytul" DataSetColumn="tytul" />
              <Mapping SourceColumn="ST_AKTYWNY" DataSetColumn="ST_AKTYWNY" />
              <Mapping SourceColumn="opis" DataSetColumn="opis" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.[NAZWY MODUŁÓW]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAll" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByAll" GeneratorSourceName="FillByAll" GetMethodModifier="Public" GetMethodName="GetDataByAll" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByAll" UserSourceName="FillByAll">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT CENA, CENA_Euro, CENA_MIN, MOD_SZER, MOD_TYP, MOD_WYS, ST_AKTYWNY, id, opis, tytul FROM [NAZWY MODUŁÓW] ORDER BY MOD_TYP</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PROMOCJETableAdapter" GeneratorDataComponentClassName="PROMOCJETableAdapter" Name="PROMOCJE" UserDataComponentName="PROMOCJETableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.PROMOCJE" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [PROMOCJE] WHERE (([id] = @Original_id) AND ((@IsNull_Nazwa = 1 AND [Nazwa] IS NULL) OR ([Nazwa] = @Original_Nazwa)) AND ((@IsNull_Cena_min = 1 AND [Cena_min] IS NULL) OR ([Cena_min] = @Original_Cena_min)) AND ((@IsNull_Okres_od = 1 AND [Okres_od] IS NULL) OR ([Okres_od] = @Original_Okres_od)) AND ((@IsNull_Okres_do = 1 AND [Okres_do] IS NULL) OR ([Okres_do] = @Original_Okres_do)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cena_min" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Cena_min" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Okres_od" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Okres_od" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Okres_do" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Okres_do" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [PROMOCJE] ([Nazwa], [Cena_min], [Okres_od], [Okres_do]) VALUES (@Nazwa, @Cena_min, @Okres_od, @Okres_do);
SELECT id, Nazwa, Cena_min, Okres_od, Okres_do FROM PROMOCJE WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Cena_min" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Okres_od" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Okres_do" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        id, Nazwa, Cena_min, Okres_od, Okres_do
FROM            PROMOCJE</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [PROMOCJE] SET [Nazwa] = @Nazwa, [Cena_min] = @Cena_min, [Okres_od] = @Okres_od, [Okres_do] = @Okres_do WHERE (([id] = @Original_id) AND ((@IsNull_Nazwa = 1 AND [Nazwa] IS NULL) OR ([Nazwa] = @Original_Nazwa)) AND ((@IsNull_Cena_min = 1 AND [Cena_min] IS NULL) OR ([Cena_min] = @Original_Cena_min)) AND ((@IsNull_Okres_od = 1 AND [Okres_od] IS NULL) OR ([Okres_od] = @Original_Okres_od)) AND ((@IsNull_Okres_do = 1 AND [Okres_do] IS NULL) OR ([Okres_do] = @Original_Okres_do)));
SELECT id, Nazwa, Cena_min, Okres_od, Okres_do FROM PROMOCJE WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Cena_min" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Okres_od" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Okres_do" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwa" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Cena_min" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Cena_min" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Cena_min" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Okres_od" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Okres_od" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_od" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Okres_do" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Okres_do" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Okres_do" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.PROMOCJE" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="Nazwa" DataSetColumn="Nazwa" />
              <Mapping SourceColumn="Cena_min" DataSetColumn="Cena_min" />
              <Mapping SourceColumn="Okres_od" DataSetColumn="Okres_od" />
              <Mapping SourceColumn="Okres_do" DataSetColumn="Okres_do" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NRTableAdapter" GeneratorDataComponentClassName="NRTableAdapter" Name="NR" UserDataComponentName="NRTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.NR" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [NR] WHERE (([ID] = @Original_ID) AND ((@IsNull_TYT = 1 AND [TYT] IS NULL) OR ([TYT] = @Original_TYT)) AND ((@IsNull_NRW = 1 AND [NRW] IS NULL) OR ([NRW] = @Original_NRW)) AND ((@IsNull_DATA_W = 1 AND [DATA_W] IS NULL) OR ([DATA_W] = @Original_DATA_W)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NRW" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_NRW" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_W" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DATA_W" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [NR] ([TYT], [NRW], [DATA_W]) VALUES (@TYT, @NRW, @DATA_W);
SELECT ID, TYT, NRW, DATA_W FROM NR WHERE (ID = SCOPE_IDENTITY()) ORDER BY DATA_W DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@NRW" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DATA_W" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        ID, TYT, NRW, DATA_W
FROM            NR
WHERE        (DATA_W IS NOT NULL)
ORDER BY DATA_W DESC</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [NR] SET [TYT] = @TYT, [NRW] = @NRW, [DATA_W] = @DATA_W WHERE (([ID] = @Original_ID) AND ((@IsNull_TYT = 1 AND [TYT] IS NULL) OR ([TYT] = @Original_TYT)) AND ((@IsNull_NRW = 1 AND [NRW] IS NULL) OR ([NRW] = @Original_NRW)) AND ((@IsNull_DATA_W = 1 AND [DATA_W] IS NULL) OR ([DATA_W] = @Original_DATA_W)));
SELECT ID, TYT, NRW, DATA_W FROM NR WHERE (ID = @ID) ORDER BY DATA_W DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TYT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@NRW" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DATA_W" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TYT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TYT" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NRW" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_NRW" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="NRW" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_W" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DATA_W" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="DATA_W" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID" ColumnName="ID" DataSourceName="BAZA_REKLAM.dbo.NR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="TYT" DataSetColumn="TYT" />
              <Mapping SourceColumn="NRW" DataSetColumn="NRW" />
              <Mapping SourceColumn="DATA_W" DataSetColumn="DATA_W" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.NR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNrTyt" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByNrTyt" GeneratorSourceName="FillByNrTyt" GetMethodModifier="Public" GetMethodName="GetDataByNrTyt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByNrTyt" UserSourceName="FillByNrTyt">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     ID, TYT, NRW, DATA_W
FROM         NR
WHERE     (DATA_W IS NOT NULL)
and (nrW=@nrWyd) and tyt=(@tyt)
ORDER BY DATA_W DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="nrWyd" ColumnName="NRW" DataSourceName="BAZA_REKLAM_TEST.dbo.NR" DataTypeServer="smallint" DbType="Int32" Direction="Input" ParameterName="@nrWyd" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="NRW" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="tyt" ColumnName="TYT" DataSourceName="BAZA_REKLAM_TEST.dbo.NR" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@tyt" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.NR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByTytulData" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByTytulData" GeneratorSourceName="FillByTytulData" GetMethodModifier="Public" GetMethodName="GetDataByTytulData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByTytulData" UserSourceName="FillByTytulData">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID, TYT, NRW, DATA_W
FROM            NR
WHERE        (DATA_W IS NOT NULL) AND (TYT = @tytyl) AND (DATA_W &gt;= @data)
ORDER BY DATA_W</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="tytyl" ColumnName="TYT" DataSourceName="BAZA_REKLAM.dbo.NR" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@tytyl" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="TYT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="data" ColumnName="DATA_W" DataSourceName="BAZA_REKLAM.dbo.NR" DataTypeServer="smalldatetime" DbType="DateTime" Direction="Input" ParameterName="@data" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="4" SourceColumn="DATA_W" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KONTATableAdapter" GeneratorDataComponentClassName="KONTATableAdapter" Name="KONTA" UserDataComponentName="KONTATableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KONTA" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [KONTA] WHERE (([IdKonta] = @Original_IdKonta) AND ((@IsNull_idAgencji = 1 AND [idAgencji] IS NULL) OR ([idAgencji] = @Original_idAgencji)) AND ((@IsNull_KONTO = 1 AND [KONTO] IS NULL) OR ([KONTO] = @Original_KONTO)) AND ([id] = @Original_id) AND ([opis] = @Original_opis))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdKonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdKonta" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KONTO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KONTO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [KONTA] ([IdKonta], [idAgencji], [KONTO], [opis]) VALUES (@IdKonta, @idAgencji, @KONTO, @opis);
SELECT IdKonta, idAgencji, KONTO, id, opis FROM KONTA WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdKonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdKonta" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KONTO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        IdKonta, idAgencji, KONTO, id, opis
FROM            KONTA</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [KONTA] SET [IdKonta] = @IdKonta, [idAgencji] = @idAgencji, [KONTO] = @KONTO, [opis] = @opis WHERE (([IdKonta] = @Original_IdKonta) AND ((@IsNull_idAgencji = 1 AND [idAgencji] IS NULL) OR ([idAgencji] = @Original_idAgencji)) AND ((@IsNull_KONTO = 1 AND [KONTO] IS NULL) OR ([KONTO] = @Original_KONTO)) AND ([id] = @Original_id) AND ([opis] = @Original_opis));
SELECT IdKonta, idAgencji, KONTO, id, opis FROM KONTA WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdKonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdKonta" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KONTO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdKonta" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdKonta" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idAgencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_KONTO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_KONTO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KONTO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.KONTA" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="IdKonta" DataSetColumn="IdKonta" />
              <Mapping SourceColumn="idAgencji" DataSetColumn="idAgencji" />
              <Mapping SourceColumn="KONTO" DataSetColumn="KONTO" />
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="opis" DataSetColumn="opis" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KONTA" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillById" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataById" GeneratorSourceName="FillById" GetMethodModifier="Public" GetMethodName="GetDataById" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataById" UserSourceName="FillById">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        IdKonta, idAgencji, KONTO, id, opis
FROM            KONTA where id=@param</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="id" DataSourceName="BAZA_REKLAM.dbo.KONTA" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KONTA" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgencji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgencji" GeneratorSourceName="FillByIdAgencji" GetMethodModifier="Public" GetMethodName="GetDataByIdAgencji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgencji" UserSourceName="FillByIdAgencji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        IdKonta, KONTO, id, idAgencji, opis
FROM            KONTA
WHERE        (idAgencji = @param)
ORDER BY IdKonta</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="param" ColumnName="idAgencji" DataSourceName="BAZA_REKLAM.dbo.KONTA" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idAgencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KL_1TableAdapter" GeneratorDataComponentClassName="KL_1TableAdapter" Name="KL_1" UserDataComponentName="KL_1TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KL_1" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [KL_1] WHERE (([ID_KL_1] = @Original_ID_KL_1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>INSERT INTO [KL_1] ([KL_1]) VALUES (@KL_1);
SELECT ID_KL_1, KL_1 FROM KL_1 WHERE (ID_KL_1 = SCOPE_IDENTITY()) ORDER BY KL_1</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        ID_KL_1, KL_1
FROM            KL_1
ORDER BY KL_1</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [KL_1] SET [KL_1] = @KL_1 WHERE (([ID_KL_1] = @Original_ID_KL_1));
SELECT ID_KL_1, KL_1 FROM KL_1 WHERE (ID_KL_1 = @ID_KL_1) ORDER BY KL_1</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID_KL_1" ColumnName="ID_KL_1" DataSourceName="BAZA_REKLAM.dbo.KL_1" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_KL_1" DataSetColumn="ID_KL_1" />
              <Mapping SourceColumn="KL_1" DataSetColumn="KL_1" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KL_2TableAdapter" GeneratorDataComponentClassName="KL_2TableAdapter" Name="KL_2" UserDataComponentName="KL_2TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KL_2" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByKlas1ID" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByKlas1ID" GeneratorSourceName="FillByKlas1ID" GetMethodModifier="Public" GetMethodName="GetDataByKlas1ID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetDataByKlas1ID" UserSourceName="FillByKlas1ID">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [KL_2] WHERE (([ID_KL_2] = @Original_ID_KL_2))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [KL_2] ([ID_KL_1], [KL_2]) VALUES (@ID_KL_1, @KL_2);
SELECT ID_KL_2, ID_KL_1, KL_2 FROM KL_2 WHERE (ID_KL_2 = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID_KL_2, ID_KL_1, KL_2
FROM            KL_2
WHERE        (ID_KL_1 = @param)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="ID_KL_1" DataSourceName="BAZA_REKLAM.dbo.KL_2" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [KL_2] SET [ID_KL_1] = @ID_KL_1, [KL_2] = @KL_2 WHERE (([ID_KL_2] = @Original_ID_KL_2));
SELECT ID_KL_2, ID_KL_1, KL_2 FROM KL_2 WHERE (ID_KL_2 = @ID_KL_2)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID_KL_2" ColumnName="ID_KL_2" DataSourceName="BAZA_REKLAM.dbo.KL_2" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_KL_2" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_KL_2" DataSetColumn="ID_KL_2" />
              <Mapping SourceColumn="ID_KL_1" DataSetColumn="ID_KL_1" />
              <Mapping SourceColumn="KL_2" DataSetColumn="KL_2" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KL_2" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID_KL_1, ID_KL_2, KL_2
FROM            KL_2
ORDER BY KL_2</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KL_3TableAdapter" GeneratorDataComponentClassName="KL_3TableAdapter" Name="KL_3" UserDataComponentName="KL_3TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KL_3" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByKlas2ID" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByKlas2ID" GeneratorSourceName="FillByKlas2ID" GetMethodModifier="Public" GetMethodName="GetDataByKlas2ID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetDataByKlas2ID" UserSourceName="FillByKlas2ID">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [KL_3] WHERE (([ID_KL_3] = @Original_ID_KL_3))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_3" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [KL_3] ([ID_KL_1], [ID_KL_2], [KL_3]) VALUES (@ID_KL_1, @ID_KL_2, @KL_3);
SELECT ID_KL_3, ID_KL_1, ID_KL_2, KL_3 FROM KL_3 WHERE (ID_KL_3 = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_3" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID_KL_3, ID_KL_1, ID_KL_2, KL_3
FROM            KL_3
WHERE        (ID_KL_2 = @param)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="ID_KL_2" DataSourceName="BAZA_REKLAM.dbo.KL_3" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [KL_3] SET [ID_KL_1] = @ID_KL_1, [ID_KL_2] = @ID_KL_2, [KL_3] = @KL_3 WHERE (([ID_KL_3] = @Original_ID_KL_3));
SELECT ID_KL_3, ID_KL_1, ID_KL_2, KL_3 FROM KL_3 WHERE (ID_KL_3 = @ID_KL_3)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_KL_2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@KL_3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="KL_3" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_KL_3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_KL_3" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID_KL_3" ColumnName="ID_KL_3" DataSourceName="BAZA_REKLAM.dbo.KL_3" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_KL_3" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_KL_3" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_KL_3" DataSetColumn="ID_KL_3" />
              <Mapping SourceColumn="ID_KL_1" DataSetColumn="ID_KL_1" />
              <Mapping SourceColumn="ID_KL_2" DataSetColumn="ID_KL_2" />
              <Mapping SourceColumn="KL_3" DataSetColumn="KL_3" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.KL_3" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID_KL_1, ID_KL_2, ID_KL_3, KL_3
FROM            KL_3
ORDER BY KL_3</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AGENCITableAdapter" GeneratorDataComponentClassName="AGENCITableAdapter" Name="AGENCI" UserDataComponentName="AGENCITableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [dbo].[AGENCI] WHERE (([ID_AGENTA] = @Original_ID_AGENTA) AND ((@IsNull_ID_AGENCJI = 1 AND [ID_AGENCJI] IS NULL) OR ([ID_AGENCJI] = @Original_ID_AGENCJI)) AND ([Symbol] = @Original_Symbol) AND ((@IsNull_Imię = 1 AND [Imię] IS NULL) OR ([Imię] = @Original_Imię)) AND ((@IsNull_Nazwisko = 1 AND [Nazwisko] IS NULL) OR ([Nazwisko] = @Original_Nazwisko)) AND ((@IsNull_ulica = 1 AND [ulica] IS NULL) OR ([ulica] = @Original_ulica)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)) AND ((@IsNull_miasto = 1 AND [miasto] IS NULL) OR ([miasto] = @Original_miasto)) AND ((@IsNull_woj = 1 AND [woj] IS NULL) OR ([woj] = @Original_woj)) AND ((@IsNull_państwo = 1 AND [państwo] IS NULL) OR ([państwo] = @Original_państwo)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@p3 = 1 AND [konto-wn] IS NULL) OR ([konto-wn] = @p2)) AND ((@p6 = 1 AND [konto-ma] IS NULL) OR ([konto-ma] = @p5)) AND ((@p9 = 1 AND [konto-pr] IS NULL) OR ([konto-pr] = @p8)) AND ((@IsNull_podstawa = 1 AND [podstawa] IS NULL) OR ([podstawa] = @Original_podstawa)) AND ([aktywny] = @Original_aktywny) AND ([pracownicy] = @Original_pracownicy) AND ((@IsNull_hasło = 1 AND [hasło] IS NULL) OR ([hasło] = @Original_hasło)) AND ([admin] = @Original_admin) AND ((@IsNull_F_ROZ = 1 AND [F_ROZ] IS NULL) OR ([F_ROZ] = @Original_F_ROZ)) AND ((@IsNull_New_ID = 1 AND [New_ID] IS NULL) OR ([New_ID] = @Original_New_ID)) AND ((@IsNull_Old_ID = 1 AND [Old_ID] IS NULL) OR ([Old_ID] = @Original_Old_ID)) AND ((@IsNull_show_info = 1 AND [show_info] IS NULL) OR ([show_info] = @Original_show_info)) AND ([ID_PLANU_PROWIZYJNEGO] = @Original_ID_PLANU_PROWIZYJNEGO) AND ((@IsNull_FotkaDoMenuStart = 1 AND [FotkaDoMenuStart] IS NULL) OR ([FotkaDoMenuStart] = @Original_FotkaDoMenuStart)) AND ((@IsNull_InvoiceProviderId = 1 AND [InvoiceProviderId] IS NULL) OR ([InvoiceProviderId] = @Original_InvoiceProviderId)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_AGENTA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENTA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Imię" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Imię" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwisko" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ulica" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_miasto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_woj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_państwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_podstawa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_podstawa" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_aktywny" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywny" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_pracownicy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="pracownicy" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hasło" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hasło" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="admin" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_F_ROZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_F_ROZ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_show_info" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_show_info" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FotkaDoMenuStart" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FotkaDoMenuStart" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[AGENCI] ([ID_AGENCJI], [Symbol], [Imię], [Nazwisko], [ulica], [kod], [miasto], [woj], [państwo], [tel], [fax], [opis], [konto-wn], [konto-ma], [konto-pr], [podstawa], [aktywny], [pracownicy], [hasło], [admin], [F_ROZ], [New_ID], [Old_ID], [show_info], [ID_PLANU_PROWIZYJNEGO], [FotkaDoMenuStart], [InvoiceProviderId]) VALUES (@ID_AGENCJI, @Symbol, @Imię, @Nazwisko, @ulica, @kod, @miasto, @woj, @państwo, @tel, @fax, @opis, @p1, @p4, @p7, @podstawa, @aktywny, @pracownicy, @hasło, @admin, @F_ROZ, @New_ID, @Old_ID, @show_info, @ID_PLANU_PROWIZYJNEGO, @FotkaDoMenuStart, @InvoiceProviderId);
SELECT ID_AGENTA, ID_AGENCJI, Symbol, Imię, Nazwisko, ulica, kod, miasto, woj, państwo, tel, fax, opis, [konto-wn], [konto-ma], [konto-pr], podstawa, aktywny, pracownicy, hasło, admin, F_ROZ, New_ID, Old_ID, show_info, ID_PLANU_PROWIZYJNEGO, FotkaDoMenuStart, InvoiceProviderId FROM AGENCI WHERE (ID_AGENTA = SCOPE_IDENTITY()) ORDER BY Symbol</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Imię" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@podstawa" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@aktywny" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywny" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@pracownicy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="pracownicy" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hasło" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="admin" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@F_ROZ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@show_info" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FotkaDoMenuStart" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT * FROM dbo.AGENCI ORDER BY Symbol</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [dbo].[AGENCI] SET [ID_AGENCJI] = @ID_AGENCJI, [Symbol] = @Symbol, [Imię] = @Imię, [Nazwisko] = @Nazwisko, [ulica] = @ulica, [kod] = @kod, [miasto] = @miasto, [woj] = @woj, [państwo] = @państwo, [tel] = @tel, [fax] = @fax, [opis] = @opis, [konto-wn] = @p1, [konto-ma] = @p4, [konto-pr] = @p7, [podstawa] = @podstawa, [aktywny] = @aktywny, [pracownicy] = @pracownicy, [hasło] = @hasło, [admin] = @admin, [F_ROZ] = @F_ROZ, [New_ID] = @New_ID, [Old_ID] = @Old_ID, [show_info] = @show_info, [ID_PLANU_PROWIZYJNEGO] = @ID_PLANU_PROWIZYJNEGO, [FotkaDoMenuStart] = @FotkaDoMenuStart, [InvoiceProviderId] = @InvoiceProviderId WHERE (([ID_AGENTA] = @Original_ID_AGENTA) AND ((@IsNull_ID_AGENCJI = 1 AND [ID_AGENCJI] IS NULL) OR ([ID_AGENCJI] = @Original_ID_AGENCJI)) AND ([Symbol] = @Original_Symbol) AND ((@IsNull_Imię = 1 AND [Imię] IS NULL) OR ([Imię] = @Original_Imię)) AND ((@IsNull_Nazwisko = 1 AND [Nazwisko] IS NULL) OR ([Nazwisko] = @Original_Nazwisko)) AND ((@IsNull_ulica = 1 AND [ulica] IS NULL) OR ([ulica] = @Original_ulica)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)) AND ((@IsNull_miasto = 1 AND [miasto] IS NULL) OR ([miasto] = @Original_miasto)) AND ((@IsNull_woj = 1 AND [woj] IS NULL) OR ([woj] = @Original_woj)) AND ((@IsNull_państwo = 1 AND [państwo] IS NULL) OR ([państwo] = @Original_państwo)) AND ((@IsNull_tel = 1 AND [tel] IS NULL) OR ([tel] = @Original_tel)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@p3 = 1 AND [konto-wn] IS NULL) OR ([konto-wn] = @p2)) AND ((@p6 = 1 AND [konto-ma] IS NULL) OR ([konto-ma] = @p5)) AND ((@p9 = 1 AND [konto-pr] IS NULL) OR ([konto-pr] = @p8)) AND ((@IsNull_podstawa = 1 AND [podstawa] IS NULL) OR ([podstawa] = @Original_podstawa)) AND ([aktywny] = @Original_aktywny) AND ([pracownicy] = @Original_pracownicy) AND ((@IsNull_hasło = 1 AND [hasło] IS NULL) OR ([hasło] = @Original_hasło)) AND ([admin] = @Original_admin) AND ((@IsNull_F_ROZ = 1 AND [F_ROZ] IS NULL) OR ([F_ROZ] = @Original_F_ROZ)) AND ((@IsNull_New_ID = 1 AND [New_ID] IS NULL) OR ([New_ID] = @Original_New_ID)) AND ((@IsNull_Old_ID = 1 AND [Old_ID] IS NULL) OR ([Old_ID] = @Original_Old_ID)) AND ((@IsNull_show_info = 1 AND [show_info] IS NULL) OR ([show_info] = @Original_show_info)) AND ([ID_PLANU_PROWIZYJNEGO] = @Original_ID_PLANU_PROWIZYJNEGO) AND ((@IsNull_FotkaDoMenuStart = 1 AND [FotkaDoMenuStart] IS NULL) OR ([FotkaDoMenuStart] = @Original_FotkaDoMenuStart)) AND ((@IsNull_InvoiceProviderId = 1 AND [InvoiceProviderId] IS NULL) OR ([InvoiceProviderId] = @Original_InvoiceProviderId)));
SELECT ID_AGENTA, ID_AGENCJI, Symbol, Imię, Nazwisko, ulica, kod, miasto, woj, państwo, tel, fax, opis, [konto-wn], [konto-ma], [konto-pr], podstawa, aktywny, pracownicy, hasło, admin, F_ROZ, New_ID, Old_ID, show_info, ID_PLANU_PROWIZYJNEGO, FotkaDoMenuStart, InvoiceProviderId FROM AGENCI WHERE (ID_AGENTA = @ID_AGENTA) ORDER BY Symbol</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Imię" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@podstawa" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@aktywny" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywny" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@pracownicy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="pracownicy" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@hasło" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="admin" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@F_ROZ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@show_info" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FotkaDoMenuStart" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_AGENTA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENTA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_AGENCJI" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Imię" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Imię" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwisko" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ulica" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_miasto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_woj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_państwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tel" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-wn" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-ma" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="konto-pr" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_podstawa" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_podstawa" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="podstawa" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_aktywny" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywny" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_pracownicy" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="pracownicy" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_hasło" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_hasło" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="hasło" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="admin" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_F_ROZ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_F_ROZ" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_New_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="New_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Old_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Old_ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_show_info" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_show_info" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="show_info" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FotkaDoMenuStart" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FotkaDoMenuStart" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FotkaDoMenuStart" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InvoiceProviderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceProviderId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID_AGENTA" ColumnName="ID_AGENTA" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_AGENTA" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_AGENTA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_AGENTA" DataSetColumn="ID_AGENTA" />
              <Mapping SourceColumn="ID_AGENCJI" DataSetColumn="ID_AGENCJI" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
              <Mapping SourceColumn="Imię" DataSetColumn="Imię" />
              <Mapping SourceColumn="Nazwisko" DataSetColumn="Nazwisko" />
              <Mapping SourceColumn="ulica" DataSetColumn="ulica" />
              <Mapping SourceColumn="kod" DataSetColumn="kod" />
              <Mapping SourceColumn="miasto" DataSetColumn="miasto" />
              <Mapping SourceColumn="woj" DataSetColumn="woj" />
              <Mapping SourceColumn="państwo" DataSetColumn="państwo" />
              <Mapping SourceColumn="tel" DataSetColumn="tel" />
              <Mapping SourceColumn="fax" DataSetColumn="fax" />
              <Mapping SourceColumn="opis" DataSetColumn="opis" />
              <Mapping SourceColumn="konto-wn" DataSetColumn="konto-wn" />
              <Mapping SourceColumn="konto-ma" DataSetColumn="konto-ma" />
              <Mapping SourceColumn="konto-pr" DataSetColumn="konto-pr" />
              <Mapping SourceColumn="podstawa" DataSetColumn="podstawa" />
              <Mapping SourceColumn="aktywny" DataSetColumn="aktywny" />
              <Mapping SourceColumn="pracownicy" DataSetColumn="pracownicy" />
              <Mapping SourceColumn="hasło" DataSetColumn="hasło" />
              <Mapping SourceColumn="admin" DataSetColumn="admin" />
              <Mapping SourceColumn="F_ROZ" DataSetColumn="F_ROZ" />
              <Mapping SourceColumn="New_ID" DataSetColumn="New_ID" />
              <Mapping SourceColumn="Old_ID" DataSetColumn="Old_ID" />
              <Mapping SourceColumn="show_info" DataSetColumn="show_info" />
              <Mapping SourceColumn="ID_PLANU_PROWIZYJNEGO" DataSetColumn="ID_PLANU_PROWIZYJNEGO" />
              <Mapping SourceColumn="FotkaDoMenuStart" DataSetColumn="FotkaDoMenuStart" />
              <Mapping SourceColumn="InvoiceProviderId" DataSetColumn="InvoiceProviderId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByAktywny" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByAktywny" GeneratorSourceName="FillByAktywny" GetMethodModifier="Public" GetMethodName="GetDataByAktywny" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByAktywny" UserSourceName="FillByAktywny">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (aktywny = 1) ORDER BY Symbol</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgencji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgencji" GeneratorSourceName="FillByIdAgencji" GetMethodModifier="Public" GetMethodName="GetDataByIdAgencji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgencji" UserSourceName="FillByIdAgencji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (ID_AGENCJI = @idAgencji)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="idAgencji" ColumnName="ID_AGENCJI" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgencjiAktywni" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgencjiAktywni" GeneratorSourceName="FillByIdAgencjiAktywni" GetMethodModifier="Public" GetMethodName="GetDataByIdAgencjiAktywni" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgencjiAktywni" UserSourceName="FillByIdAgencjiAktywni">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (ID_AGENCJI = @idAgencji) AND (aktywny = 1) ORDER BY Symbol</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="idAgencji" ColumnName="ID_AGENCJI" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgenta" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgenta" GeneratorSourceName="FillByIdAgenta" GetMethodModifier="Public" GetMethodName="GetDataByIdAgenta" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgenta" UserSourceName="FillByIdAgenta">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (ID_AGENTA = @param)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="ID_AGENTA" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_AGENTA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByKodAgenta" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByKodAgenta" GeneratorSourceName="FillByKodAgenta" GetMethodModifier="Public" GetMethodName="GetDataByKodAgenta" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByKodAgenta" UserSourceName="FillByKodAgenta">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (F_ROZ = @kodAgenta) ORDER BY Symbol</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="kodAgenta" ColumnName="F_ROZ" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="nvarchar(8)" DbType="String" Direction="Input" ParameterName="@kodAgenta" Precision="0" ProviderType="NVarChar" Scale="0" Size="8" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNieaktywniIDAgencji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByNieaktywniIDAgencji" GeneratorSourceName="FillByNieaktywniIDAgencji" GetMethodModifier="Public" GetMethodName="GetDataByNieaktywniIDAgencji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByNieaktywniIDAgencji" UserSourceName="FillByNieaktywniIDAgencji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (ID_AGENCJI = @idAgencji) AND (aktywny = 0) ORDER BY Symbol</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="idAgencji" ColumnName="ID_AGENCJI" DataSourceName="BAZA_REKLAM.dbo.AGENCI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idAgencji" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_AGENCJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCI" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBySymbol" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBySymbol" GeneratorSourceName="FillBySymbol" GetMethodModifier="Public" GetMethodName="GetDataBySymbol" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBySymbol" UserSourceName="FillBySymbol">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT F_ROZ, FotkaDoMenuStart, ID_AGENCJI, ID_AGENTA, ID_PLANU_PROWIZYJNEGO, Imię, InvoiceProviderId, Nazwisko, New_ID, Old_ID, Symbol, admin, aktywny, fax, hasło, kod, [konto-ma], [konto-pr], [konto-wn], miasto, opis, państwo, podstawa, pracownicy, show_info, tel, ulica, woj FROM AGENCI WHERE (Symbol = @symbol)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="symbol" ColumnName="Symbol" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AGENCJETableAdapter" GeneratorDataComponentClassName="AGENCJETableAdapter" Name="AGENCJE" UserDataComponentName="AGENCJETableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCJE" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [AGENCJE] WHERE (([Id_agencji] = @Original_Id_agencji) AND ([Symbol] = @Original_Symbol) AND ((@IsNull_Nazwa1 = 1 AND [Nazwa1] IS NULL) OR ([Nazwa1] = @Original_Nazwa1)) AND ((@IsNull_Nazwa2 = 1 AND [Nazwa2] IS NULL) OR ([Nazwa2] = @Original_Nazwa2)) AND ((@IsNull_Nazwa3 = 1 AND [Nazwa3] IS NULL) OR ([Nazwa3] = @Original_Nazwa3)) AND ((@IsNull_ulica = 1 AND [ulica] IS NULL) OR ([ulica] = @Original_ulica)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)) AND ((@IsNull_miasto = 1 AND [miasto] IS NULL) OR ([miasto] = @Original_miasto)) AND ((@IsNull_woj = 1 AND [woj] IS NULL) OR ([woj] = @Original_woj)) AND ((@IsNull_państwo = 1 AND [państwo] IS NULL) OR ([państwo] = @Original_państwo)) AND ((@IsNull_Kontakt = 1 AND [Kontakt] IS NULL) OR ([Kontakt] = @Original_Kontakt)) AND ((@IsNull_telefon = 1 AND [telefon] IS NULL) OR ([telefon] = @Original_telefon)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_Opis = 1 AND [Opis] IS NULL) OR ([Opis] = @Original_Opis)) AND ((@IsNull_Adres_Fk = 1 AND [Adres_Fk] IS NULL) OR ([Adres_Fk] = @Original_Adres_Fk)) AND ((@IsNull_NIP = 1 AND [NIP] IS NULL) OR ([NIP] = @Original_NIP)) AND ((@IsNull_Adres_Kor = 1 AND [Adres_Kor] IS NULL) OR ([Adres_Kor] = @Original_Adres_Kor)) AND ((@IsNull_aktywna = 1 AND [aktywna] IS NULL) OR ([aktywna] = @Original_aktywna)) AND ((@IsNull_Unia = 1 AND [Unia] IS NULL) OR ([Unia] = @Original_Unia)) AND ((@IsNull_RejestrFaktur_Symbol = 1 AND [RejestrFaktur_Symbol] IS NULL) OR ([RejestrFaktur_Symbol] = @Original_RejestrFaktur_Symbol)) AND ((@IsNull_Reklama_PathName = 1 AND [Reklama_PathName] IS NULL) OR ([Reklama_PathName] = @Original_Reklama_PathName)) AND ((@IsNull_SMTPServer = 1 AND [SMTPServer] IS NULL) OR ([SMTPServer] = @Original_SMTPServer)) AND ([vies] = @Original_vies) AND ((@IsNull_adres_biura = 1 AND [adres_biura] IS NULL) OR ([adres_biura] = @Original_adres_biura)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_agencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_agencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ulica" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_miasto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_woj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_państwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Kontakt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Kontakt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_telefon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_telefon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Adres_Fk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Adres_Fk" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NIP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Adres_Kor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Adres_Kor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aktywna" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_aktywna" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Unia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Unia" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RejestrFaktur_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RejestrFaktur_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Reklama_PathName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Reklama_PathName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SMTPServer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SMTPServer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vies" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vies" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_adres_biura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_adres_biura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [AGENCJE] ([Symbol], [Nazwa1], [Nazwa2], [Nazwa3], [ulica], [kod], [miasto], [woj], [państwo], [Kontakt], [telefon], [fax], [Opis], [Adres_Fk], [NIP], [Adres_Kor], [aktywna], [Unia], [RejestrFaktur_Symbol], [Reklama_PathName], [SMTPServer], [vies], [adres_biura]) VALUES (@Symbol, @Nazwa1, @Nazwa2, @Nazwa3, @ulica, @kod, @miasto, @woj, @państwo, @Kontakt, @telefon, @fax, @Opis, @Adres_Fk, @NIP, @Adres_Kor, @aktywna, @Unia, @RejestrFaktur_Symbol, @Reklama_PathName, @SMTPServer, @vies, @adres_biura);
SELECT Id_agencji, Symbol, Nazwa1, Nazwa2, Nazwa3, ulica, kod, miasto, woj, państwo, Kontakt, telefon, fax, Opis, Adres_Fk, NIP, Adres_Kor, aktywna, Unia, RejestrFaktur_Symbol, Reklama_PathName, SMTPServer, vies, adres_biura FROM AGENCJE WHERE (Id_agencji = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Kontakt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@telefon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adres_Fk" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adres_Kor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@aktywna" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Unia" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RejestrFaktur_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Reklama_PathName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SMTPServer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vies" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vies" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@adres_biura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        Id_agencji, Symbol, Nazwa1, Nazwa2, Nazwa3, ulica, kod, miasto, woj, państwo, Kontakt, telefon, fax, Opis, Adres_Fk, NIP, Adres_Kor, aktywna, Unia, 
                         RejestrFaktur_Symbol, Reklama_PathName, SMTPServer, vies, adres_biura
FROM            AGENCJE
WHERE        (aktywna = 1)</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [AGENCJE] SET [Symbol] = @Symbol, [Nazwa1] = @Nazwa1, [Nazwa2] = @Nazwa2, [Nazwa3] = @Nazwa3, [ulica] = @ulica, [kod] = @kod, [miasto] = @miasto, [woj] = @woj, [państwo] = @państwo, [Kontakt] = @Kontakt, [telefon] = @telefon, [fax] = @fax, [Opis] = @Opis, [Adres_Fk] = @Adres_Fk, [NIP] = @NIP, [Adres_Kor] = @Adres_Kor, [aktywna] = @aktywna, [Unia] = @Unia, [RejestrFaktur_Symbol] = @RejestrFaktur_Symbol, [Reklama_PathName] = @Reklama_PathName, [SMTPServer] = @SMTPServer, [vies] = @vies, [adres_biura] = @adres_biura WHERE (([Id_agencji] = @Original_Id_agencji) AND ([Symbol] = @Original_Symbol) AND ((@IsNull_Nazwa1 = 1 AND [Nazwa1] IS NULL) OR ([Nazwa1] = @Original_Nazwa1)) AND ((@IsNull_Nazwa2 = 1 AND [Nazwa2] IS NULL) OR ([Nazwa2] = @Original_Nazwa2)) AND ((@IsNull_Nazwa3 = 1 AND [Nazwa3] IS NULL) OR ([Nazwa3] = @Original_Nazwa3)) AND ((@IsNull_ulica = 1 AND [ulica] IS NULL) OR ([ulica] = @Original_ulica)) AND ((@IsNull_kod = 1 AND [kod] IS NULL) OR ([kod] = @Original_kod)) AND ((@IsNull_miasto = 1 AND [miasto] IS NULL) OR ([miasto] = @Original_miasto)) AND ((@IsNull_woj = 1 AND [woj] IS NULL) OR ([woj] = @Original_woj)) AND ((@IsNull_państwo = 1 AND [państwo] IS NULL) OR ([państwo] = @Original_państwo)) AND ((@IsNull_Kontakt = 1 AND [Kontakt] IS NULL) OR ([Kontakt] = @Original_Kontakt)) AND ((@IsNull_telefon = 1 AND [telefon] IS NULL) OR ([telefon] = @Original_telefon)) AND ((@IsNull_fax = 1 AND [fax] IS NULL) OR ([fax] = @Original_fax)) AND ((@IsNull_Opis = 1 AND [Opis] IS NULL) OR ([Opis] = @Original_Opis)) AND ((@IsNull_Adres_Fk = 1 AND [Adres_Fk] IS NULL) OR ([Adres_Fk] = @Original_Adres_Fk)) AND ((@IsNull_NIP = 1 AND [NIP] IS NULL) OR ([NIP] = @Original_NIP)) AND ((@IsNull_Adres_Kor = 1 AND [Adres_Kor] IS NULL) OR ([Adres_Kor] = @Original_Adres_Kor)) AND ((@IsNull_aktywna = 1 AND [aktywna] IS NULL) OR ([aktywna] = @Original_aktywna)) AND ((@IsNull_Unia = 1 AND [Unia] IS NULL) OR ([Unia] = @Original_Unia)) AND ((@IsNull_RejestrFaktur_Symbol = 1 AND [RejestrFaktur_Symbol] IS NULL) OR ([RejestrFaktur_Symbol] = @Original_RejestrFaktur_Symbol)) AND ((@IsNull_Reklama_PathName = 1 AND [Reklama_PathName] IS NULL) OR ([Reklama_PathName] = @Original_Reklama_PathName)) AND ((@IsNull_SMTPServer = 1 AND [SMTPServer] IS NULL) OR ([SMTPServer] = @Original_SMTPServer)) AND ([vies] = @Original_vies) AND ((@IsNull_adres_biura = 1 AND [adres_biura] IS NULL) OR ([adres_biura] = @Original_adres_biura)));
SELECT Id_agencji, Symbol, Nazwa1, Nazwa2, Nazwa3, ulica, kod, miasto, woj, państwo, Kontakt, telefon, fax, Opis, Adres_Fk, NIP, Adres_Kor, aktywna, Unia, RejestrFaktur_Symbol, Reklama_PathName, SMTPServer, vies, adres_biura FROM AGENCJE WHERE (Id_agencji = @Id_agencji)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwa3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Kontakt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@telefon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adres_Fk" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Adres_Kor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@aktywna" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Unia" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RejestrFaktur_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Reklama_PathName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SMTPServer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@vies" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vies" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@adres_biura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id_agencji" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id_agencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa1" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa2" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa2" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Nazwa3" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Nazwa3" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwa3" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ulica" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ulica" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ulica" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_miasto" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_miasto" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="miasto" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_woj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_woj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="woj" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_państwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_państwo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="państwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Kontakt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Kontakt" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kontakt" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_telefon" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_telefon" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="telefon" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fax" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fax" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Adres_Fk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Adres_Fk" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Fk" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NIP" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NIP" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NIP" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Adres_Kor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Adres_Kor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Adres_Kor" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_aktywna" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_aktywna" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="aktywna" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Unia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Unia" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Unia" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RejestrFaktur_Symbol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RejestrFaktur_Symbol" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RejestrFaktur_Symbol" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Reklama_PathName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Reklama_PathName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Reklama_PathName" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SMTPServer" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SMTPServer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SMTPServer" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_vies" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="vies" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_adres_biura" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_adres_biura" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres_biura" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="Id_agencji" ColumnName="Id_agencji" DataSourceName="BAZA_REKLAM.dbo.AGENCJE" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Id_agencji" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id_agencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id_agencji" DataSetColumn="Id_agencji" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
              <Mapping SourceColumn="Nazwa1" DataSetColumn="Nazwa1" />
              <Mapping SourceColumn="Nazwa2" DataSetColumn="Nazwa2" />
              <Mapping SourceColumn="Nazwa3" DataSetColumn="Nazwa3" />
              <Mapping SourceColumn="ulica" DataSetColumn="ulica" />
              <Mapping SourceColumn="kod" DataSetColumn="kod" />
              <Mapping SourceColumn="miasto" DataSetColumn="miasto" />
              <Mapping SourceColumn="woj" DataSetColumn="woj" />
              <Mapping SourceColumn="państwo" DataSetColumn="państwo" />
              <Mapping SourceColumn="Kontakt" DataSetColumn="Kontakt" />
              <Mapping SourceColumn="telefon" DataSetColumn="telefon" />
              <Mapping SourceColumn="fax" DataSetColumn="fax" />
              <Mapping SourceColumn="Opis" DataSetColumn="Opis" />
              <Mapping SourceColumn="Adres_Fk" DataSetColumn="Adres_Fk" />
              <Mapping SourceColumn="NIP" DataSetColumn="NIP" />
              <Mapping SourceColumn="Adres_Kor" DataSetColumn="Adres_Kor" />
              <Mapping SourceColumn="aktywna" DataSetColumn="aktywna" />
              <Mapping SourceColumn="Unia" DataSetColumn="Unia" />
              <Mapping SourceColumn="RejestrFaktur_Symbol" DataSetColumn="RejestrFaktur_Symbol" />
              <Mapping SourceColumn="Reklama_PathName" DataSetColumn="Reklama_PathName" />
              <Mapping SourceColumn="SMTPServer" DataSetColumn="SMTPServer" />
              <Mapping SourceColumn="vies" DataSetColumn="vies" />
              <Mapping SourceColumn="adres_biura" DataSetColumn="adres_biura" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCJE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByALL" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByALL" GeneratorSourceName="FillByALL" GetMethodModifier="Public" GetMethodName="GetDataByALL" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByALL" UserSourceName="FillByALL">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT Adres_Fk, Adres_Kor, Id_agencji, Kontakt, NIP, Nazwa1, Nazwa2, Nazwa3, Opis, RejestrFaktur_Symbol, Reklama_PathName, SMTPServer, Symbol, Unia, adres_biura, aktywna, fax, kod, miasto, państwo, telefon, ulica, vies, woj FROM AGENCJE</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCJE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgencji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgencji" GeneratorSourceName="FillByIdAgencji" GetMethodModifier="Public" GetMethodName="GetDataByIdAgencji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgencji" UserSourceName="FillByIdAgencji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        Adres_Fk, Adres_Kor, Id_agencji, Kontakt, NIP, Nazwa1, Nazwa2, Nazwa3, Opis, RejestrFaktur_Symbol, Reklama_PathName, SMTPServer, Symbol, Unia, 
                         adres_biura, aktywna, fax, kod, miasto, państwo, telefon, ulica, vies, woj
FROM            AGENCJE
WHERE        (Id_agencji = @param)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="Id_agencji" DataSourceName="BAZA_REKLAM.dbo.AGENCJE" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Id_agencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCJE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgenta" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgenta" GeneratorSourceName="FillByIdAgenta" GetMethodModifier="Public" GetMethodName="GetDataByIdAgenta" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgenta" UserSourceName="FillByIdAgenta">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        AGENCJE.Id_agencji, AGENCJE.Symbol, AGENCJE.Nazwa1, AGENCJE.Nazwa2, AGENCJE.Nazwa3, AGENCJE.ulica, AGENCJE.kod, AGENCJE.miasto, 
                         AGENCJE.woj, AGENCJE.państwo, AGENCJE.Kontakt, AGENCJE.telefon, AGENCJE.fax, AGENCJE.Opis, AGENCJE.Adres_Fk, AGENCJE.NIP, 
                         AGENCJE.Adres_Kor, AGENCJE.aktywna, AGENCJE.Unia, AGENCJE.RejestrFaktur_Symbol, AGENCJE.Reklama_PathName, AGENCJE.SMTPServer, 
                         AGENCJE.vies, AGENCJE.adres_biura
FROM            AGENCJE LEFT OUTER JOIN
                         AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI
WHERE        (AGENCJE.aktywna = 1) AND (AGENCI.Symbol = @symbol_agenta)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="symbol_agenta" ColumnName="Symbol" DataSourceName="BAZA_REKLAM.dbo.AGENCI" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@symbol_agenta" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Symbol" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.AGENCJE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByKodAgenta" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByKodAgenta" GeneratorSourceName="FillByKodAgenta" GetMethodModifier="Public" GetMethodName="GetDataByKodAgenta" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByKodAgenta" UserSourceName="FillByKodAgenta">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     AGENCJE.Id_agencji, AGENCJE.Symbol, AGENCJE.Nazwa1, AGENCJE.Nazwa2, AGENCJE.Nazwa3, AGENCJE.ulica, AGENCJE.kod, AGENCJE.miasto, 
                      AGENCJE.woj, AGENCJE.państwo, AGENCJE.Kontakt, AGENCJE.telefon, AGENCJE.fax, AGENCJE.Opis, AGENCJE.Adres_Fk, AGENCJE.NIP, 
                      AGENCJE.Adres_Kor, AGENCJE.aktywna, AGENCJE.Unia, AGENCJE.RejestrFaktur_Symbol, AGENCJE.Reklama_PathName, AGENCJE.SMTPServer, 
                      AGENCJE.vies, AGENCJE.adres_biura
FROM         AGENCJE LEFT OUTER JOIN
                      AGENCI ON AGENCJE.Id_agencji = AGENCI.ID_AGENCJI
WHERE     (AGENCJE.aktywna = 1) AND (AGENCI.F_ROZ = @kodAgenta)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="kodAgenta" ColumnName="F_ROZ" DataSourceName="BAZA_REKLAM_TEST.dbo.AGENCI" DataTypeServer="nvarchar(8)" DbType="String" Direction="Input" ParameterName="@kodAgenta" Precision="0" ProviderType="NVarChar" Scale="0" Size="8" SourceColumn="F_ROZ" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Daty_publikacjiTableAdapter" GeneratorDataComponentClassName="Daty_publikacjiTableAdapter" Name="Daty_publikacji" UserDataComponentName="Daty_publikacjiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT DISTINCT Data_Publikacji, Numer_Tabeli
FROM            Kursy_Walut
ORDER BY Data_Publikacji DESC</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Data_Publikacji" DataSetColumn="Data_Publikacji" />
              <Mapping SourceColumn="Numer_Tabeli" DataSetColumn="Numer_Tabeli" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WalutyTableAdapter" GeneratorDataComponentClassName="WalutyTableAdapter" Name="Waluty" UserDataComponentName="WalutyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT DISTINCT Kod_Waluty
FROM            Kursy_Walut
WHERE        (Kod_Waluty &lt;&gt; 'PLN')</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Kod_Waluty" DataSetColumn="Kod_Waluty" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Kursy_WalutTableAdapter" GeneratorDataComponentClassName="Kursy_WalutTableAdapter" Name="Kursy_Walut" UserDataComponentName="Kursy_WalutTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByNrTabeli" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetDataByNrTabeli" GeneratorSourceName="FillByNrTabeli" GetMethodModifier="Public" GetMethodName="GetDataByNrTabeli" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetDataByNrTabeli" UserSourceName="FillByNrTabeli">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [Kursy_Walut] WHERE (([id] = @Original_id))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [Kursy_Walut] ([Numer_Tabeli], [Data_Publikacji], [nazwa_waluty], [przelicznik], [Kod_Waluty], [Kurs_Sredni], [Kurs_Sredni_Poznan]) VALUES (@Numer_Tabeli, @Data_Publikacji, @nazwa_waluty, @przelicznik, @Kod_Waluty, @Kurs_Sredni, @Kurs_Sredni_Poznan);
SELECT id, Numer_Tabeli, Data_Publikacji, nazwa_waluty, przelicznik, Kod_Waluty, Kurs_Sredni, Kurs_Sredni_Poznan FROM Kursy_Walut WHERE (id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Numer_Tabeli" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Numer_Tabeli" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data_Publikacji" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data_Publikacji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nazwa_waluty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nazwa_waluty" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@przelicznik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="przelicznik" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Kod_Waluty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kod_Waluty" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Kurs_Sredni" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Kurs_Sredni" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Kurs_Sredni_Poznan" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Kurs_Sredni_Poznan" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT     Kursy_Walut.*
FROM         Kursy_Walut
WHERE     (Numer_Tabeli = @param)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="Numer_Tabeli" DataSourceName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@param" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="Numer_Tabeli" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [Kursy_Walut] SET [Numer_Tabeli] = @Numer_Tabeli, [Data_Publikacji] = @Data_Publikacji, [nazwa_waluty] = @nazwa_waluty, [przelicznik] = @przelicznik, [Kod_Waluty] = @Kod_Waluty, [Kurs_Sredni] = @Kurs_Sredni, [Kurs_Sredni_Poznan] = @Kurs_Sredni_Poznan WHERE (([id] = @Original_id));
SELECT id, Numer_Tabeli, Data_Publikacji, nazwa_waluty, przelicznik, Kod_Waluty, Kurs_Sredni, Kurs_Sredni_Poznan FROM Kursy_Walut WHERE (id = @id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Numer_Tabeli" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Numer_Tabeli" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Data_Publikacji" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Data_Publikacji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@nazwa_waluty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="nazwa_waluty" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@przelicznik" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="przelicznik" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Kod_Waluty" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Kod_Waluty" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Kurs_Sredni" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Kurs_Sredni" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Kurs_Sredni_Poznan" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Kurs_Sredni_Poznan" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id" ColumnName="id" DataSourceName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="Numer_Tabeli" DataSetColumn="Numer_Tabeli" />
              <Mapping SourceColumn="Data_Publikacji" DataSetColumn="Data_Publikacji" />
              <Mapping SourceColumn="nazwa_waluty" DataSetColumn="nazwa_waluty" />
              <Mapping SourceColumn="przelicznik" DataSetColumn="przelicznik" />
              <Mapping SourceColumn="Kod_Waluty" DataSetColumn="Kod_Waluty" />
              <Mapping SourceColumn="Kurs_Sredni" DataSetColumn="Kurs_Sredni" />
              <Mapping SourceColumn="Kurs_Sredni_Poznan" DataSetColumn="Kurs_Sredni_Poznan" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDataPublikacji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByDataPublikacji" GeneratorSourceName="FillByDataPublikacji" GetMethodModifier="Public" GetMethodName="GetDataByDataPublikacji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByDataPublikacji" UserSourceName="FillByDataPublikacji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     TOP 1 Data_Publikacji, Kod_Waluty, Kurs_Sredni, Kurs_Sredni_Poznan, Numer_Tabeli, id, nazwa_waluty, przelicznik
FROM         Kursy_Walut
WHERE     (Kod_Waluty = @param2) AND (Data_Publikacji &lt; @param)
ORDER BY Data_Publikacji DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param2" ColumnName="Kod_Waluty" DataSourceName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DataTypeServer="nvarchar(4)" DbType="String" Direction="Input" ParameterName="@param2" Precision="0" ProviderType="NVarChar" Scale="0" Size="4" SourceColumn="Kod_Waluty" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="Data_Publikacji" DataSourceName="BAZA_REKLAM_TEST.dbo.Kursy_Walut" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@param" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="Data_Publikacji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PLANY_PROWIZJITableAdapter" GeneratorDataComponentClassName="PLANY_PROWIZJITableAdapter" Name="PLANY_PROWIZJI" UserDataComponentName="PLANY_PROWIZJITableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.PLANY_PROWIZJI" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [PLANY_PROWIZJI] WHERE (([ID_PLANU_PROWIZYJNEGO] = @Original_ID_PLANU_PROWIZYJNEGO))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [PLANY_PROWIZJI] ([PLAN_PROWIZJI], [PODSTAWA], [ZESPOL], [BUDZET], [OCENA]) VALUES (@PLAN_PROWIZJI, @PODSTAWA, @ZESPOL, @BUDZET, @OCENA);
SELECT ID_PLANU_PROWIZYJNEGO, PLAN_PROWIZJI, PODSTAWA, ZESPOL, BUDZET, OCENA FROM PLANY_PROWIZJI WHERE (ID_PLANU_PROWIZYJNEGO = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PLAN_PROWIZJI" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PLAN_PROWIZJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@PODSTAWA" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="PODSTAWA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@ZESPOL" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="ZESPOL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@BUDZET" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@OCENA" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="OCENA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        PLANY_PROWIZJI.*
FROM            PLANY_PROWIZJI</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [PLANY_PROWIZJI] SET [PLAN_PROWIZJI] = @PLAN_PROWIZJI, [PODSTAWA] = @PODSTAWA, [ZESPOL] = @ZESPOL, [BUDZET] = @BUDZET, [OCENA] = @OCENA WHERE (([ID_PLANU_PROWIZYJNEGO] = @Original_ID_PLANU_PROWIZYJNEGO));
SELECT ID_PLANU_PROWIZYJNEGO, PLAN_PROWIZJI, PODSTAWA, ZESPOL, BUDZET, OCENA FROM PLANY_PROWIZJI WHERE (ID_PLANU_PROWIZYJNEGO = @ID_PLANU_PROWIZYJNEGO)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PLAN_PROWIZJI" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PLAN_PROWIZJI" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@PODSTAWA" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="PODSTAWA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@ZESPOL" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="ZESPOL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@BUDZET" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@OCENA" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="OCENA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID_PLANU_PROWIZYJNEGO" ColumnName="ID_PLANU_PROWIZYJNEGO" DataSourceName="BAZA_REKLAM.dbo.PLANY_PROWIZJI" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID_PLANU_PROWIZYJNEGO" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_PLANU_PROWIZYJNEGO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID_PLANU_PROWIZYJNEGO" DataSetColumn="ID_PLANU_PROWIZYJNEGO" />
              <Mapping SourceColumn="PLAN_PROWIZJI" DataSetColumn="PLAN_PROWIZJI" />
              <Mapping SourceColumn="PODSTAWA" DataSetColumn="PODSTAWA" />
              <Mapping SourceColumn="ZESPOL" DataSetColumn="ZESPOL" />
              <Mapping SourceColumn="BUDZET" DataSetColumn="BUDZET" />
              <Mapping SourceColumn="OCENA" DataSetColumn="OCENA" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BUDZET_BIURTableAdapter" GeneratorDataComponentClassName="BUDZET_BIURTableAdapter" Name="BUDZET_BIUR" UserDataComponentName="BUDZET_BIURTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.BUDZET_BIUR" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [BUDZET_BIUR] WHERE (([ID] = @Original_ID) AND ([ID_BIURA] = @Original_ID_BIURA) AND ([ROK] = @Original_ROK) AND ([MS] = @Original_MS) AND ([BUDZET] = @Original_BUDZET) AND ((@IsNull_GS = 1 AND [GS] IS NULL) OR ([GS] = @Original_GS)) AND ((@IsNull_AMT = 1 AND [AMT] IS NULL) OR ([AMT] = @Original_AMT)) AND ((@IsNull_TRENDS = 1 AND [TRENDS] IS NULL) OR ([TRENDS] = @Original_TRENDS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_BIURA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_BIURA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ROK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ROK" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BUDZET" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [BUDZET_BIUR] ([ID_BIURA], [ROK], [MS], [BUDZET], [GS], [AMT], [TRENDS]) VALUES (@ID_BIURA, @ROK, @MS, @BUDZET, @GS, @AMT, @TRENDS);
SELECT ID, ID_BIURA, ROK, MS, BUDZET, GS, AMT, TRENDS FROM BUDZET_BIUR WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_BIURA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_BIURA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ROK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ROK" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BUDZET" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        BUDZET_BIUR.ID, BUDZET_BIUR.ID_BIURA, BUDZET_BIUR.ROK, BUDZET_BIUR.MS, BUDZET_BIUR.BUDZET, BUDZET_BIUR.GS, BUDZET_BIUR.AMT, 
                         BUDZET_BIUR.TRENDS
FROM            BUDZET_BIUR LEFT OUTER JOIN
                         AGENCJE ON BUDZET_BIUR.ID_BIURA = AGENCJE.Id_agencji
WHERE        (AGENCJE.aktywna = 1)</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [BUDZET_BIUR] SET [ID_BIURA] = @ID_BIURA, [ROK] = @ROK, [MS] = @MS, [BUDZET] = @BUDZET, [GS] = @GS, [AMT] = @AMT, [TRENDS] = @TRENDS WHERE (([ID] = @Original_ID) AND ([ID_BIURA] = @Original_ID_BIURA) AND ([ROK] = @Original_ROK) AND ([MS] = @Original_MS) AND ([BUDZET] = @Original_BUDZET) AND ((@IsNull_GS = 1 AND [GS] IS NULL) OR ([GS] = @Original_GS)) AND ((@IsNull_AMT = 1 AND [AMT] IS NULL) OR ([AMT] = @Original_AMT)) AND ((@IsNull_TRENDS = 1 AND [TRENDS] IS NULL) OR ([TRENDS] = @Original_TRENDS)));
SELECT ID, ID_BIURA, ROK, MS, BUDZET, GS, AMT, TRENDS FROM BUDZET_BIUR WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_BIURA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_BIURA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ROK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ROK" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BUDZET" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_BIURA" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_BIURA" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ROK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ROK" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_MS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BUDZET" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BUDZET" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_GS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AMT" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TRENDS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRENDS" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID" ColumnName="ID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="ID_BIURA" DataSetColumn="ID_BIURA" />
              <Mapping SourceColumn="ROK" DataSetColumn="ROK" />
              <Mapping SourceColumn="MS" DataSetColumn="MS" />
              <Mapping SourceColumn="BUDZET" DataSetColumn="BUDZET" />
              <Mapping SourceColumn="GS" DataSetColumn="GS" />
              <Mapping SourceColumn="AMT" DataSetColumn="AMT" />
              <Mapping SourceColumn="TRENDS" DataSetColumn="TRENDS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.BUDZET_BIUR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByIdAgencji" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByIdAgencji" GeneratorSourceName="FillByIdAgencji" GetMethodModifier="Public" GetMethodName="GetDataByIdAgencji" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByIdAgencji" UserSourceName="FillByIdAgencji">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        ID, ID_BIURA, ROK, MS, BUDZET, GS, AMT, TRENDS
FROM            BUDZET_BIUR
WHERE        (ID_BIURA = @param)
ORDER BY ROK DESC, MS</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="ID_BIURA" DataSourceName="BAZA_REKLAM.dbo.BUDZET_BIUR" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID_BIURA" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Koszty_BiuraTableAdapter" GeneratorDataComponentClassName="Koszty_BiuraTableAdapter" Name="Koszty_Biura" UserDataComponentName="Koszty_BiuraTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Koszty_Biura" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [Koszty_Biura] WHERE (([id_koszt] = @Original_id_koszt) AND ([id_Agencji] = @Original_id_Agencji) AND ([rok] = @Original_rok) AND ([miesiac] = @Original_miesiac) AND ((@IsNull_czynsz = 1 AND [czynsz] IS NULL) OR ([czynsz] = @Original_czynsz)) AND ((@IsNull_energia = 1 AND [energia] IS NULL) OR ([energia] = @Original_energia)) AND ((@IsNull_telefony = 1 AND [telefony] IS NULL) OR ([telefony] = @Original_telefony)) AND ((@IsNull_internet = 1 AND [internet] IS NULL) OR ([internet] = @Original_internet)) AND ((@IsNull_parkingi = 1 AND [parkingi] IS NULL) OR ([parkingi] = @Original_parkingi)) AND ((@IsNull_paliwo = 1 AND [paliwo] IS NULL) OR ([paliwo] = @Original_paliwo)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inne = 1 AND [inne] IS NULL) OR ([inne] = @Original_inne)) AND ((@IsNull_zatrudnienie = 1 AND [zatrudnienie] IS NULL) OR ([zatrudnienie] = @Original_zatrudnienie)) AND ((@IsNull_opis = 1 AND [opis] IS NULL) OR ([opis] = @Original_opis)) AND ((@IsNull_ksiegowosc = 1 AND [ksiegowosc] IS NULL) OR ([ksiegowosc] = @Original_ksiegowosc)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_koszt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_koszt" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_id_Agencji" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="id_Agencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rok" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_miesiac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miesiac" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_czynsz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_czynsz" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_energia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_energia" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_telefony" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_telefony" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_internet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_internet" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_parkingi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_parkingi" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paliwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_paliwo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inne" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_inne" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ksiegowosc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ksiegowosc" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [Koszty_Biura] ([id_Agencji], [rok], [miesiac], [czynsz], [energia], [telefony], [internet], [parkingi], [paliwo], [place], [inne], [zatrudnienie], [opis], [ksiegowosc]) VALUES (@id_Agencji, @rok, @miesiac, @czynsz, @energia, @telefony, @internet, @parkingi, @paliwo, @place, @inne, @zatrudnienie, @opis, @ksiegowosc);
SELECT id_koszt, id_Agencji, rok, miesiac, czynsz, energia, telefony, internet, parkingi, paliwo, place, inne, zatrudnienie, opis, ksiegowosc FROM Koszty_Biura WHERE (id_koszt = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@id_Agencji" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="id_Agencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rok" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@miesiac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miesiac" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@czynsz" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@energia" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@telefony" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@internet" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@parkingi" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@paliwo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@place" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@inne" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ksiegowosc" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        id_koszt, id_Agencji, rok, miesiac, czynsz, energia, telefony, internet, parkingi, paliwo, place, inne, zatrudnienie, opis, ksiegowosc
FROM            Koszty_Biura</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [Koszty_Biura] SET [id_Agencji] = @id_Agencji, [rok] = @rok, [miesiac] = @miesiac, [czynsz] = @czynsz, [energia] = @energia, [telefony] = @telefony, [internet] = @internet, [parkingi] = @parkingi, [paliwo] = @paliwo, [place] = @place, [inne] = @inne, [zatrudnienie] = @zatrudnienie, [opis] = @opis, [ksiegowosc] = @ksiegowosc WHERE (([id_koszt] = @Original_id_koszt) AND ([id_Agencji] = @Original_id_Agencji) AND ([rok] = @Original_rok) AND ([miesiac] = @Original_miesiac) AND ((@IsNull_czynsz = 1 AND [czynsz] IS NULL) OR ([czynsz] = @Original_czynsz)) AND ((@IsNull_energia = 1 AND [energia] IS NULL) OR ([energia] = @Original_energia)) AND ((@IsNull_telefony = 1 AND [telefony] IS NULL) OR ([telefony] = @Original_telefony)) AND ((@IsNull_internet = 1 AND [internet] IS NULL) OR ([internet] = @Original_internet)) AND ((@IsNull_parkingi = 1 AND [parkingi] IS NULL) OR ([parkingi] = @Original_parkingi)) AND ((@IsNull_paliwo = 1 AND [paliwo] IS NULL) OR ([paliwo] = @Original_paliwo)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_inne = 1 AND [inne] IS NULL) OR ([inne] = @Original_inne)) AND ((@IsNull_zatrudnienie = 1 AND [zatrudnienie] IS NULL) OR ([zatrudnienie] = @Original_zatrudnienie)) AND ((@IsNull_opis = 1 AND [opis] IS NULL) OR ([opis] = @Original_opis)) AND ((@IsNull_ksiegowosc = 1 AND [ksiegowosc] IS NULL) OR ([ksiegowosc] = @Original_ksiegowosc)));
SELECT id_koszt, id_Agencji, rok, miesiac, czynsz, energia, telefony, internet, parkingi, paliwo, place, inne, zatrudnienie, opis, ksiegowosc FROM Koszty_Biura WHERE (id_koszt = @id_koszt)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@id_Agencji" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="id_Agencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rok" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@miesiac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miesiac" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@czynsz" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@energia" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@telefony" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@internet" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@parkingi" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@paliwo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@place" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@inne" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ksiegowosc" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_koszt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_koszt" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_id_Agencji" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="id_Agencji" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_rok" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rok" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_miesiac" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="miesiac" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_czynsz" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_czynsz" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="czynsz" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_energia" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_energia" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="energia" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_telefony" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_telefony" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="telefony" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_internet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_internet" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="internet" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_parkingi" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_parkingi" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="parkingi" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_paliwo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_paliwo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="paliwo" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_place" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_place" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="place" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_inne" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_inne" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="inne" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_zatrudnienie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zatrudnienie" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opis" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_opis" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="opis" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ksiegowosc" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ksiegowosc" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ksiegowosc" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id_koszt" ColumnName="id_koszt" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_koszt" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_koszt" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id_koszt" DataSetColumn="id_koszt" />
              <Mapping SourceColumn="id_Agencji" DataSetColumn="id_Agencji" />
              <Mapping SourceColumn="rok" DataSetColumn="rok" />
              <Mapping SourceColumn="miesiac" DataSetColumn="miesiac" />
              <Mapping SourceColumn="czynsz" DataSetColumn="czynsz" />
              <Mapping SourceColumn="energia" DataSetColumn="energia" />
              <Mapping SourceColumn="telefony" DataSetColumn="telefony" />
              <Mapping SourceColumn="internet" DataSetColumn="internet" />
              <Mapping SourceColumn="parkingi" DataSetColumn="parkingi" />
              <Mapping SourceColumn="paliwo" DataSetColumn="paliwo" />
              <Mapping SourceColumn="place" DataSetColumn="place" />
              <Mapping SourceColumn="inne" DataSetColumn="inne" />
              <Mapping SourceColumn="zatrudnienie" DataSetColumn="zatrudnienie" />
              <Mapping SourceColumn="opis" DataSetColumn="opis" />
              <Mapping SourceColumn="ksiegowosc" DataSetColumn="ksiegowosc" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.Koszty_Biura" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        id_koszt, id_Agencji, rok, miesiac, czynsz, energia, telefony, internet, parkingi, paliwo, place, inne, zatrudnienie, opis, ksiegowosc
FROM            Koszty_Biura
WHERE        (id_Agencji = @param)
ORDER BY rok, miesiac</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="param" ColumnName="id_Agencji" DataSourceName="BAZA_REKLAM.dbo.Koszty_Biura" DataTypeServer="char(10)" DbType="AnsiString" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Char" Scale="0" Size="10" SourceColumn="id_Agencji" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="jezyki_defTableAdapter" GeneratorDataComponentClassName="jezyki_defTableAdapter" Name="jezyki_def" UserDataComponentName="jezyki_defTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.jezyki_def" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [jezyki_def] WHERE (([id_jezyk] = @Original_id_jezyk))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_jezyk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_jezyk" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [jezyki_def] ([jezyk_name]) VALUES (@jezyk_name);
SELECT id_jezyk, jezyk_name FROM jezyki_def WHERE (id_jezyk = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@jezyk_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="jezyk_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        jezyki_def.*
FROM            jezyki_def</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [jezyki_def] SET [jezyk_name] = @jezyk_name WHERE (([id_jezyk] = @Original_id_jezyk));
SELECT id_jezyk, jezyk_name FROM jezyki_def WHERE (id_jezyk = @id_jezyk)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@jezyk_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="jezyk_name" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_jezyk" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_jezyk" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="id_jezyk" ColumnName="id_jezyk" DataSourceName="BAZA_REKLAM.dbo.jezyki_def" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_jezyk" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_jezyk" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id_jezyk" DataSetColumn="id_jezyk" />
              <Mapping SourceColumn="jezyk_name" DataSetColumn="jezyk_name" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UZYTKOWNICYTableAdapter" GeneratorDataComponentClassName="UZYTKOWNICYTableAdapter" Name="UZYTKOWNICY" UserDataComponentName="UZYTKOWNICYTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.UZYTKOWNICY" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [UZYTKOWNICY] WHERE (([ID] = @Original_ID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [UZYTKOWNICY] ([LOGIN], [Imie], [Nazwisko], [PASSWORD], [st_sekretarka], [st_handlowiec], [st_sub_handlowiec], [st_kierownik], [st_dtp], [st_korekta], [st_produkcja], [st_admin]) VALUES (@LOGIN, @Imie, @Nazwisko, @PASSWORD, @st_sekretarka, @st_handlowiec, @st_sub_handlowiec, @st_kierownik, @st_dtp, @st_korekta, @st_produkcja, @st_admin);
SELECT ID, LOGIN, Imie, Nazwisko, PASSWORD, st_sekretarka, st_handlowiec, st_sub_handlowiec, st_kierownik, st_dtp, st_korekta, st_produkcja, st_admin FROM UZYTKOWNICY WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LOGIN" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LOGIN" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Imie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imie" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PASSWORD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PASSWORD" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_sekretarka" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_sekretarka" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_handlowiec" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_handlowiec" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_sub_handlowiec" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_sub_handlowiec" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_kierownik" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_kierownik" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_dtp" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_dtp" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_korekta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_korekta" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_produkcja" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_produkcja" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_admin" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        UZYTKOWNICY.*
FROM            UZYTKOWNICY</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [UZYTKOWNICY] SET [LOGIN] = @LOGIN, [Imie] = @Imie, [Nazwisko] = @Nazwisko, [PASSWORD] = @PASSWORD, [st_sekretarka] = @st_sekretarka, [st_handlowiec] = @st_handlowiec, [st_sub_handlowiec] = @st_sub_handlowiec, [st_kierownik] = @st_kierownik, [st_dtp] = @st_dtp, [st_korekta] = @st_korekta, [st_produkcja] = @st_produkcja, [st_admin] = @st_admin WHERE (([ID] = @Original_ID));
SELECT ID, LOGIN, Imie, Nazwisko, PASSWORD, st_sekretarka, st_handlowiec, st_sub_handlowiec, st_kierownik, st_dtp, st_korekta, st_produkcja, st_admin FROM UZYTKOWNICY WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LOGIN" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LOGIN" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Imie" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Imie" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PASSWORD" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PASSWORD" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_sekretarka" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_sekretarka" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_handlowiec" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_handlowiec" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_sub_handlowiec" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_sub_handlowiec" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_kierownik" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_kierownik" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_dtp" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_dtp" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_korekta" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_korekta" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_produkcja" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_produkcja" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@st_admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="st_admin" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="ID" ColumnName="ID" DataSourceName="BAZA_REKLAM.dbo.UZYTKOWNICY" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="LOGIN" DataSetColumn="LOGIN" />
              <Mapping SourceColumn="Imie" DataSetColumn="Imie" />
              <Mapping SourceColumn="Nazwisko" DataSetColumn="Nazwisko" />
              <Mapping SourceColumn="PASSWORD" DataSetColumn="PASSWORD" />
              <Mapping SourceColumn="st_sekretarka" DataSetColumn="st_sekretarka" />
              <Mapping SourceColumn="st_handlowiec" DataSetColumn="st_handlowiec" />
              <Mapping SourceColumn="st_sub_handlowiec" DataSetColumn="st_sub_handlowiec" />
              <Mapping SourceColumn="st_kierownik" DataSetColumn="st_kierownik" />
              <Mapping SourceColumn="st_dtp" DataSetColumn="st_dtp" />
              <Mapping SourceColumn="st_korekta" DataSetColumn="st_korekta" />
              <Mapping SourceColumn="st_produkcja" DataSetColumn="st_produkcja" />
              <Mapping SourceColumn="st_admin" DataSetColumn="st_admin" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ogl_dzialyTableAdapter" GeneratorDataComponentClassName="ogl_dzialyTableAdapter" Name="ogl_dzialy" UserDataComponentName="ogl_dzialyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.ogl_dzialy" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        DZIAŁ_NR, DZIAŁ_TXT, TYTUL
FROM            ogl_dzialy
WHERE        (Aktywny = - 1)
ORDER BY dział_txt</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DZIAŁ_NR" DataSetColumn="DZIAŁ_NR" />
              <Mapping SourceColumn="DZIAŁ_TXT" DataSetColumn="DZIAŁ_TXT" />
              <Mapping SourceColumn="TYTUL" DataSetColumn="TYTUL" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.ogl_dzialy" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByTytul" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByTytul" GeneratorSourceName="FillByTytul" GetMethodModifier="Public" GetMethodName="GetDataByTytul" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByTytul" UserSourceName="FillByTytul">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        DZIAŁ_NR, DZIAŁ_TXT, TYTUL
FROM            ogl_dzialy
WHERE        (Aktywny = - 1) AND (TYTUL = @param)
ORDER BY dział_txt</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="param" ColumnName="TYTUL" DataSourceName="BAZA_REKLAM.dbo.ogl_dzialy" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TYTUL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ogl_rozdzialyTableAdapter" GeneratorDataComponentClassName="ogl_rozdzialyTableAdapter" Name="ogl_rozdzialy" UserDataComponentName="ogl_rozdzialyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.ogl_rozdzialy" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>SELECT        id, ROZDZIAŁ_TXT, TYTUŁ, DZIAL
FROM            ogl_rozdzialy
ORDER BY ROZDZIAŁ_TXT</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="id" DataSetColumn="id" />
              <Mapping SourceColumn="ROZDZIAŁ_TXT" DataSetColumn="ROZDZIAŁ_TXT" />
              <Mapping SourceColumn="TYTUŁ" DataSetColumn="TYTUŁ" />
              <Mapping SourceColumn="DZIAL" DataSetColumn="DZIAL" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.ogl_rozdzialy" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByDzial" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataByDzial" GeneratorSourceName="FillByDzial" GetMethodModifier="Public" GetMethodName="GetDataByDzial" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataByDzial" UserSourceName="FillByDzial">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT        id, ROZDZIAŁ_TXT, TYTUŁ, DZIAL
FROM            ogl_rozdzialy
WHERE        (DZIAL = @param)
ORDER BY ROZDZIAŁ_TXT</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="param" ColumnName="DZIAL" DataSourceName="BAZA_REKLAM.dbo.ogl_rozdzialy" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@param" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="DZIAL" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KontaktTypTableAdapter" GeneratorDataComponentClassName="KontaktTypTableAdapter" Name="KontaktTyp" UserDataComponentName="KontaktTypTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="Baza_Reklam.dbo.KontaktTyp" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [dbo].[KontaktTyp] WHERE (([Id] = @Original_Id) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <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>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[KontaktTyp] ([Id], [Name]) VALUES (@Id, @Name);
SELECT Id, Name FROM KontaktTyp WHERE (Id = @Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <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>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT * FROM dbo.KontaktTyp</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [dbo].[KontaktTyp] SET [Id] = @Id, [Name] = @Name WHERE (([Id] = @Original_Id) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT Id, Name FROM KontaktTyp WHERE (Id = @Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <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>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InvoiceProviderTableAdapter" GeneratorDataComponentClassName="InvoiceProviderTableAdapter" Name="InvoiceProvider" UserDataComponentName="InvoiceProviderTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM_TEST.dbo.InvoiceProvider" 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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [dbo].[InvoiceProvider] WHERE (([Id] = @Original_Id) AND ([ShortName] = @Original_ShortName) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Street = 1 AND [Street] IS NULL) OR ([Street] = @Original_Street)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_PostCode = 1 AND [PostCode] IS NULL) OR ([PostCode] = @Original_PostCode)) AND ((@IsNull_Country = 1 AND [Country] IS NULL) OR ([Country] = @Original_Country)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_TaxNumber = 1 AND [TaxNumber] IS NULL) OR ([TaxNumber] = @Original_TaxNumber)) AND ((@IsNull_TaxCountryPrefix = 1 AND [TaxCountryPrefix] IS NULL) OR ([TaxCountryPrefix] = @Original_TaxCountryPrefix)) AND ((@IsNull_SystemKsiegowyId = 1 AND [SystemKsiegowyId] IS NULL) OR ([SystemKsiegowyId] = @Original_SystemKsiegowyId)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ShortName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ShortName" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Street" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Street" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Country" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TaxNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TaxNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TaxCountryPrefix" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TaxCountryPrefix" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SystemKsiegowyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SystemKsiegowyId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [dbo].[InvoiceProvider] ([Id], [ShortName], [Name], [Street], [City], [PostCode], [Country], [Phone], [TaxNumber], [TaxCountryPrefix], [SystemKsiegowyId]) VALUES (@Id, @ShortName, @Name, @Street, @City, @PostCode, @Country, @Phone, @TaxNumber, @TaxCountryPrefix, @SystemKsiegowyId);
SELECT Id, ShortName, Name, Street, City, PostCode, Country, Phone, TaxNumber, TaxCountryPrefix, SystemKsiegowyId FROM InvoiceProvider WHERE (Id = @Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ShortName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ShortName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Street" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TaxNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TaxCountryPrefix" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SystemKsiegowyId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT * FROM dbo.InvoiceProvider</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [dbo].[InvoiceProvider] SET [Id] = @Id, [ShortName] = @ShortName, [Name] = @Name, [Street] = @Street, [City] = @City, [PostCode] = @PostCode, [Country] = @Country, [Phone] = @Phone, [TaxNumber] = @TaxNumber, [TaxCountryPrefix] = @TaxCountryPrefix, [SystemKsiegowyId] = @SystemKsiegowyId WHERE (([Id] = @Original_Id) AND ([ShortName] = @Original_ShortName) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Street = 1 AND [Street] IS NULL) OR ([Street] = @Original_Street)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_PostCode = 1 AND [PostCode] IS NULL) OR ([PostCode] = @Original_PostCode)) AND ((@IsNull_Country = 1 AND [Country] IS NULL) OR ([Country] = @Original_Country)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_TaxNumber = 1 AND [TaxNumber] IS NULL) OR ([TaxNumber] = @Original_TaxNumber)) AND ((@IsNull_TaxCountryPrefix = 1 AND [TaxCountryPrefix] IS NULL) OR ([TaxCountryPrefix] = @Original_TaxCountryPrefix)) AND ((@IsNull_SystemKsiegowyId = 1 AND [SystemKsiegowyId] IS NULL) OR ([SystemKsiegowyId] = @Original_SystemKsiegowyId)));
SELECT Id, ShortName, Name, Street, City, PostCode, Country, Phone, TaxNumber, TaxCountryPrefix, SystemKsiegowyId FROM InvoiceProvider WHERE (Id = @Id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ShortName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ShortName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Street" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@City" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PostCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TaxNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TaxCountryPrefix" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@SystemKsiegowyId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ShortName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ShortName" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <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>
                      <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>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Street" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Street" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Street" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PostCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PostCode" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Country" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Country" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TaxNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TaxNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxNumber" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TaxCountryPrefix" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TaxCountryPrefix" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TaxCountryPrefix" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SystemKsiegowyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="True" SourceVersion="Original">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_SystemKsiegowyId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="SystemKsiegowyId" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="ShortName" DataSetColumn="ShortName" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Street" DataSetColumn="Street" />
              <Mapping SourceColumn="City" DataSetColumn="City" />
              <Mapping SourceColumn="PostCode" DataSetColumn="PostCode" />
              <Mapping SourceColumn="Country" DataSetColumn="Country" />
              <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
              <Mapping SourceColumn="TaxNumber" DataSetColumn="TaxNumber" />
              <Mapping SourceColumn="TaxCountryPrefix" DataSetColumn="TaxCountryPrefix" />
              <Mapping SourceColumn="SystemKsiegowyId" DataSetColumn="SystemKsiegowyId" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GrzbietyProdukcjaTableAdapter" GeneratorDataComponentClassName="GrzbietyProdukcjaTableAdapter" Name="GrzbietyProdukcja" UserDataComponentName="GrzbietyProdukcjaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Baza_ReklamConnectionString (Settings)" DbObjectName="BAZA_REKLAM.dbo.GrzbietyProdukcja" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="False" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [GrzbietyProdukcja] ([Id], [TitleId], [Name]) VALUES (@Id, @TitleId, @Name)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TitleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TitleId" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <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>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT * FROM GrzbietyProdukcja</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="TitleId" DataSetColumn="TitleId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="SLOWNIKDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="SLOWNIKDataSet" msprop:Generator_DataSetName="SLOWNIKDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="GRZBIETY" msprop:Generator_UserTableName="GRZBIETY" msprop:Generator_RowDeletedName="GRZBIETYRowDeleted" msprop:Generator_RowChangedName="GRZBIETYRowChanged" msprop:Generator_RowClassName="GRZBIETYRow" msprop:Generator_RowChangingName="GRZBIETYRowChanging" msprop:Generator_RowEvArgName="GRZBIETYRowChangeEvent" msprop:Generator_RowEvHandlerName="GRZBIETYRowChangeEventHandler" msprop:Generator_TableClassName="GRZBIETYDataTable" msprop:Generator_TableVarName="tableGRZBIETY" msprop:Generator_RowDeletingName="GRZBIETYRowDeleting" msprop:Generator_TablePropName="GRZBIETY">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="Nazwa" msprop:Generator_UserColumnName="Nazwa" msprop:Generator_ColumnPropNameInRow="Nazwa" msprop:Generator_ColumnVarNameInTable="columnNazwa" msprop:Generator_ColumnPropNameInTable="NazwaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Koszt_Druku" msprop:Generator_UserColumnName="Koszt_Druku" msprop:Generator_ColumnPropNameInRow="Koszt_Druku" msprop:Generator_ColumnVarNameInTable="columnKoszt_Druku" msprop:Generator_ColumnPropNameInTable="Koszt_DrukuColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="TytulId" msprop:Generator_UserColumnName="TytulId" msprop:Generator_ColumnPropNameInRow="TytulId" msprop:Generator_ColumnVarNameInTable="columnTytulId" msprop:Generator_ColumnPropNameInTable="TytulIdColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LISTA_TYPOW_REKLAMY" msprop:Generator_UserTableName="LISTA_TYPOW_REKLAMY" msprop:Generator_RowDeletedName="LISTA_TYPOW_REKLAMYRowDeleted" msprop:Generator_RowChangedName="LISTA_TYPOW_REKLAMYRowChanged" msprop:Generator_RowClassName="LISTA_TYPOW_REKLAMYRow" msprop:Generator_RowChangingName="LISTA_TYPOW_REKLAMYRowChanging" msprop:Generator_RowEvArgName="LISTA_TYPOW_REKLAMYRowChangeEvent" msprop:Generator_RowEvHandlerName="LISTA_TYPOW_REKLAMYRowChangeEventHandler" msprop:Generator_TableClassName="LISTA_TYPOW_REKLAMYDataTable" msprop:Generator_TableVarName="tableLISTA_TYPOW_REKLAMY" msprop:Generator_RowDeletingName="LISTA_TYPOW_REKLAMYRowDeleting" msprop:Generator_TablePropName="LISTA_TYPOW_REKLAMY">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SYMB" msprop:Generator_UserColumnName="SYMB" msprop:Generator_ColumnPropNameInRow="SYMB" msprop:Generator_ColumnVarNameInTable="columnSYMB" msprop:Generator_ColumnPropNameInTable="SYMBColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LISTA_TYTULOW" msprop:Generator_UserTableName="LISTA_TYTULOW" msprop:Generator_RowDeletedName="LISTA_TYTULOWRowDeleted" msprop:Generator_RowChangedName="LISTA_TYTULOWRowChanged" msprop:Generator_RowClassName="LISTA_TYTULOWRow" msprop:Generator_RowChangingName="LISTA_TYTULOWRowChanging" msprop:Generator_RowEvArgName="LISTA_TYTULOWRowChangeEvent" msprop:Generator_RowEvHandlerName="LISTA_TYTULOWRowChangeEventHandler" msprop:Generator_TableClassName="LISTA_TYTULOWDataTable" msprop:Generator_TableVarName="tableLISTA_TYTULOW" msprop:Generator_RowDeletingName="LISTA_TYTULOWRowDeleting" msprop:Generator_TablePropName="LISTA_TYTULOW">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="SYMB" msprop:Generator_UserColumnName="SYMB" msprop:Generator_ColumnPropNameInRow="SYMB" msprop:Generator_ColumnVarNameInTable="columnSYMB" msprop:Generator_ColumnPropNameInTable="SYMBColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TYT_x0020_FULL_x0020_NAME" msprop:Generator_UserColumnName="TYT FULL NAME" msprop:Generator_ColumnPropNameInRow="TYT_FULL_NAME" msprop:Generator_ColumnVarNameInTable="columnTYT_FULL_NAME" msprop:Generator_ColumnPropNameInTable="TYT_FULL_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TYT_x0020_LONG_x0020_NAME" msprop:Generator_UserColumnName="TYT LONG NAME" msprop:Generator_ColumnPropNameInRow="TYT_LONG_NAME" msprop:Generator_ColumnVarNameInTable="columnTYT_LONG_NAME" msprop:Generator_ColumnPropNameInTable="TYT_LONG_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TYT_x0020_PERIOD" msprop:Generator_UserColumnName="TYT PERIOD" msprop:Generator_ColumnPropNameInRow="TYT_PERIOD" msprop:Generator_ColumnVarNameInTable="columnTYT_PERIOD" msprop:Generator_ColumnPropNameInTable="TYT_PERIODColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="HASŁO_x0020_REKLAMOWE" msprop:Generator_UserColumnName="HASŁO REKLAMOWE" msprop:Generator_ColumnPropNameInRow="HASŁO_REKLAMOWE" msprop:Generator_ColumnVarNameInTable="columnHASŁO_REKLAMOWE" msprop:Generator_ColumnPropNameInTable="HASŁO_REKLAMOWEColumn" default="Super...">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="logo_file_name" msprop:Generator_UserColumnName="logo_file_name" msprop:Generator_ColumnPropNameInRow="logo_file_name" msprop:Generator_ColumnVarNameInTable="columnlogo_file_name" msprop:Generator_ColumnPropNameInTable="logo_file_nameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="st_aktywny" msprop:Generator_UserColumnName="st_aktywny" msprop:Generator_ColumnPropNameInRow="st_aktywny" msprop:Generator_ColumnVarNameInTable="columnst_aktywny" msprop:Generator_ColumnPropNameInTable="st_aktywnyColumn" type="xs:short" default="-1" minOccurs="0" />
              <xs:element name="SYMB2" msprop:Generator_UserColumnName="SYMB2" msprop:Generator_ColumnVarNameInTable="columnSYMB2" msprop:Generator_ColumnPropNameInRow="SYMB2" msprop:Generator_ColumnPropNameInTable="SYMB2Column">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="max_rabat" msprop:Generator_UserColumnName="max_rabat" msprop:Generator_ColumnPropNameInRow="max_rabat" msprop:Generator_ColumnVarNameInTable="columnmax_rabat" msprop:Generator_ColumnPropNameInTable="max_rabatColumn" type="xs:double" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="NAZWY_MODULOW" msprop:Generator_UserTableName="NAZWY_MODULOW" msprop:Generator_RowDeletedName="NAZWY_MODULOWRowDeleted" msprop:Generator_RowChangedName="NAZWY_MODULOWRowChanged" msprop:Generator_RowClassName="NAZWY_MODULOWRow" msprop:Generator_RowChangingName="NAZWY_MODULOWRowChanging" msprop:Generator_RowEvArgName="NAZWY_MODULOWRowChangeEvent" msprop:Generator_RowEvHandlerName="NAZWY_MODULOWRowChangeEventHandler" msprop:Generator_TableClassName="NAZWY_MODULOWDataTable" msprop:Generator_TableVarName="tableNAZWY_MODULOW" msprop:Generator_RowDeletingName="NAZWY_MODULOWRowDeleting" msprop:Generator_TablePropName="NAZWY_MODULOW">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MOD_TYP" msprop:Generator_UserColumnName="MOD_TYP" msprop:Generator_ColumnPropNameInRow="MOD_TYP" msprop:Generator_ColumnVarNameInTable="columnMOD_TYP" msprop:Generator_ColumnPropNameInTable="MOD_TYPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MOD_SZER" msprop:Generator_UserColumnName="MOD_SZER" msprop:Generator_ColumnPropNameInRow="MOD_SZER" msprop:Generator_ColumnVarNameInTable="columnMOD_SZER" msprop:Generator_ColumnPropNameInTable="MOD_SZERColumn" type="xs:float" minOccurs="0" />
              <xs:element name="MOD_WYS" msprop:Generator_UserColumnName="MOD_WYS" msprop:Generator_ColumnPropNameInRow="MOD_WYS" msprop:Generator_ColumnVarNameInTable="columnMOD_WYS" msprop:Generator_ColumnPropNameInTable="MOD_WYSColumn" type="xs:float" minOccurs="0" />
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="CENA_MIN" msprop:Generator_UserColumnName="CENA_MIN" msprop:Generator_ColumnPropNameInRow="CENA_MIN" msprop:Generator_ColumnVarNameInTable="columnCENA_MIN" msprop:Generator_ColumnPropNameInTable="CENA_MINColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="CENA" msprop:Generator_UserColumnName="CENA" msprop:Generator_ColumnPropNameInRow="CENA" msprop:Generator_ColumnVarNameInTable="columnCENA" msprop:Generator_ColumnPropNameInTable="CENAColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="CENA_Euro" msprop:Generator_UserColumnName="CENA_Euro" msprop:Generator_ColumnPropNameInRow="CENA_Euro" msprop:Generator_ColumnVarNameInTable="columnCENA_Euro" msprop:Generator_ColumnPropNameInTable="CENA_EuroColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="tytul" msprop:Generator_UserColumnName="tytul" msprop:Generator_ColumnPropNameInRow="tytul" msprop:Generator_ColumnVarNameInTable="columntytul" msprop:Generator_ColumnPropNameInTable="tytulColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ST_AKTYWNY" msprop:Generator_UserColumnName="ST_AKTYWNY" msprop:Generator_ColumnVarNameInTable="columnST_AKTYWNY" msprop:Generator_ColumnPropNameInRow="ST_AKTYWNY" msprop:Generator_ColumnPropNameInTable="ST_AKTYWNYColumn" type="xs:int" minOccurs="0" />
              <xs:element name="opis" msprop:Generator_UserColumnName="opis" msprop:Generator_ColumnVarNameInTable="columnopis" msprop:Generator_ColumnPropNameInRow="opis" msprop:Generator_ColumnPropNameInTable="opisColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PROMOCJE" msprop:Generator_UserTableName="PROMOCJE" msprop:Generator_RowDeletedName="PROMOCJERowDeleted" msprop:Generator_RowChangedName="PROMOCJERowChanged" msprop:Generator_RowClassName="PROMOCJERow" msprop:Generator_RowChangingName="PROMOCJERowChanging" msprop:Generator_RowEvArgName="PROMOCJERowChangeEvent" msprop:Generator_RowEvHandlerName="PROMOCJERowChangeEventHandler" msprop:Generator_TableClassName="PROMOCJEDataTable" msprop:Generator_TableVarName="tablePROMOCJE" msprop:Generator_RowDeletingName="PROMOCJERowDeleting" msprop:Generator_TablePropName="PROMOCJE">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="Nazwa" msprop:Generator_UserColumnName="Nazwa" msprop:Generator_ColumnPropNameInRow="Nazwa" msprop:Generator_ColumnVarNameInTable="columnNazwa" msprop:Generator_ColumnPropNameInTable="NazwaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Cena_min" msprop:Generator_UserColumnName="Cena_min" msprop:Generator_ColumnPropNameInRow="Cena_min" msprop:Generator_ColumnVarNameInTable="columnCena_min" msprop:Generator_ColumnPropNameInTable="Cena_minColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Okres_od" msprop:Generator_UserColumnName="Okres_od" msprop:Generator_ColumnPropNameInRow="Okres_od" msprop:Generator_ColumnVarNameInTable="columnOkres_od" msprop:Generator_ColumnPropNameInTable="Okres_odColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Okres_do" msprop:Generator_UserColumnName="Okres_do" msprop:Generator_ColumnPropNameInRow="Okres_do" msprop:Generator_ColumnVarNameInTable="columnOkres_do" msprop:Generator_ColumnPropNameInTable="Okres_doColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="NR" msprop:Generator_UserTableName="NR" msprop:Generator_RowDeletedName="NRRowDeleted" msprop:Generator_RowChangedName="NRRowChanged" msprop:Generator_RowClassName="NRRow" msprop:Generator_RowChangingName="NRRowChanging" msprop:Generator_RowEvArgName="NRRowChangeEvent" msprop:Generator_RowEvHandlerName="NRRowChangeEventHandler" msprop:Generator_TableClassName="NRDataTable" msprop:Generator_TableVarName="tableNR" msprop:Generator_RowDeletingName="NRRowDeleting" msprop:Generator_TablePropName="NR">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="TYT" msprop:Generator_UserColumnName="TYT" msprop:Generator_ColumnVarNameInTable="columnTYT" msprop:Generator_ColumnPropNameInRow="TYT" msprop:Generator_ColumnPropNameInTable="TYTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NRW" msprop:Generator_UserColumnName="NRW" msprop:Generator_ColumnVarNameInTable="columnNRW" msprop:Generator_ColumnPropNameInRow="NRW" msprop:Generator_ColumnPropNameInTable="NRWColumn" type="xs:short" minOccurs="0" />
              <xs:element name="DATA_W" msprop:Generator_UserColumnName="DATA_W" msprop:Generator_ColumnVarNameInTable="columnDATA_W" msprop:Generator_ColumnPropNameInRow="DATA_W" msprop:Generator_ColumnPropNameInTable="DATA_WColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KONTA" msprop:Generator_UserTableName="KONTA" msprop:Generator_RowDeletedName="KONTARowDeleted" msprop:Generator_RowChangedName="KONTARowChanged" msprop:Generator_RowClassName="KONTARow" msprop:Generator_RowChangingName="KONTARowChanging" msprop:Generator_RowEvArgName="KONTARowChangeEvent" msprop:Generator_RowEvHandlerName="KONTARowChangeEventHandler" msprop:Generator_TableClassName="KONTADataTable" msprop:Generator_TableVarName="tableKONTA" msprop:Generator_RowDeletingName="KONTARowDeleting" msprop:Generator_TablePropName="KONTA">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="IdKonta" msprop:Generator_UserColumnName="IdKonta" msprop:Generator_ColumnVarNameInTable="columnIdKonta" msprop:Generator_ColumnPropNameInRow="IdKonta" msprop:Generator_ColumnPropNameInTable="IdKontaColumn" type="xs:int" default="999" />
              <xs:element name="idAgencji" msprop:Generator_UserColumnName="idAgencji" msprop:Generator_ColumnVarNameInTable="columnidAgencji" msprop:Generator_ColumnPropNameInRow="idAgencji" msprop:Generator_ColumnPropNameInTable="idAgencjiColumn" type="xs:int" minOccurs="0" />
              <xs:element name="KONTO" msprop:Generator_UserColumnName="KONTO" msprop:Generator_ColumnVarNameInTable="columnKONTO" msprop:Generator_ColumnPropNameInRow="KONTO" msprop:Generator_ColumnPropNameInTable="KONTOColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="opis" msprop:Generator_UserColumnName="opis" msprop:Generator_ColumnVarNameInTable="columnopis" msprop:Generator_ColumnPropNameInRow="opis" msprop:Generator_ColumnPropNameInTable="opisColumn">
                <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="KL_1" msprop:Generator_UserTableName="KL_1" msprop:Generator_RowDeletedName="KL_1RowDeleted" msprop:Generator_RowChangedName="KL_1RowChanged" msprop:Generator_RowClassName="KL_1Row" msprop:Generator_RowChangingName="KL_1RowChanging" msprop:Generator_RowEvArgName="KL_1RowChangeEvent" msprop:Generator_RowEvHandlerName="KL_1RowChangeEventHandler" msprop:Generator_TableClassName="KL_1DataTable" msprop:Generator_TableVarName="tableKL_1" msprop:Generator_RowDeletingName="KL_1RowDeleting" msprop:Generator_TablePropName="KL_1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_KL_1" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID_KL_1" msprop:Generator_ColumnPropNameInRow="ID_KL_1" msprop:Generator_ColumnVarNameInTable="columnID_KL_1" msprop:Generator_ColumnPropNameInTable="ID_KL_1Column" type="xs:int" />
              <xs:element name="KL_1" msprop:Generator_UserColumnName="KL_1" msprop:Generator_ColumnPropNameInRow="KL_1" msprop:Generator_ColumnVarNameInTable="columnKL_1" msprop:Generator_ColumnPropNameInTable="KL_1Column" 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="KL_2" msprop:Generator_UserTableName="KL_2" msprop:Generator_RowDeletedName="KL_2RowDeleted" msprop:Generator_RowChangedName="KL_2RowChanged" msprop:Generator_RowClassName="KL_2Row" msprop:Generator_RowChangingName="KL_2RowChanging" msprop:Generator_RowEvArgName="KL_2RowChangeEvent" msprop:Generator_RowEvHandlerName="KL_2RowChangeEventHandler" msprop:Generator_TableClassName="KL_2DataTable" msprop:Generator_TableVarName="tableKL_2" msprop:Generator_RowDeletingName="KL_2RowDeleting" msprop:Generator_TablePropName="KL_2">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_KL_2" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID_KL_2" msprop:Generator_ColumnPropNameInRow="ID_KL_2" msprop:Generator_ColumnVarNameInTable="columnID_KL_2" msprop:Generator_ColumnPropNameInTable="ID_KL_2Column" type="xs:int" />
              <xs:element name="ID_KL_1" msprop:Generator_UserColumnName="ID_KL_1" msprop:Generator_ColumnPropNameInRow="ID_KL_1" msprop:Generator_ColumnVarNameInTable="columnID_KL_1" msprop:Generator_ColumnPropNameInTable="ID_KL_1Column" type="xs:int" />
              <xs:element name="KL_2" msprop:Generator_UserColumnName="KL_2" msprop:Generator_ColumnPropNameInRow="KL_2" msprop:Generator_ColumnVarNameInTable="columnKL_2" msprop:Generator_ColumnPropNameInTable="KL_2Column" 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="KL_3" msprop:Generator_UserTableName="KL_3" msprop:Generator_RowDeletedName="KL_3RowDeleted" msprop:Generator_RowChangedName="KL_3RowChanged" msprop:Generator_RowClassName="KL_3Row" msprop:Generator_RowChangingName="KL_3RowChanging" msprop:Generator_RowEvArgName="KL_3RowChangeEvent" msprop:Generator_RowEvHandlerName="KL_3RowChangeEventHandler" msprop:Generator_TableClassName="KL_3DataTable" msprop:Generator_TableVarName="tableKL_3" msprop:Generator_RowDeletingName="KL_3RowDeleting" msprop:Generator_TablePropName="KL_3">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_KL_3" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID_KL_3" msprop:Generator_ColumnPropNameInRow="ID_KL_3" msprop:Generator_ColumnVarNameInTable="columnID_KL_3" msprop:Generator_ColumnPropNameInTable="ID_KL_3Column" type="xs:int" />
              <xs:element name="ID_KL_1" msprop:Generator_UserColumnName="ID_KL_1" msprop:Generator_ColumnPropNameInRow="ID_KL_1" msprop:Generator_ColumnVarNameInTable="columnID_KL_1" msprop:Generator_ColumnPropNameInTable="ID_KL_1Column" type="xs:int" />
              <xs:element name="ID_KL_2" msprop:Generator_UserColumnName="ID_KL_2" msprop:Generator_ColumnPropNameInRow="ID_KL_2" msprop:Generator_ColumnVarNameInTable="columnID_KL_2" msprop:Generator_ColumnPropNameInTable="ID_KL_2Column" type="xs:int" />
              <xs:element name="KL_3" msprop:Generator_UserColumnName="KL_3" msprop:Generator_ColumnPropNameInRow="KL_3" msprop:Generator_ColumnVarNameInTable="columnKL_3" msprop:Generator_ColumnPropNameInTable="KL_3Column">
                <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="AGENCI" msprop:Generator_UserTableName="AGENCI" msprop:Generator_RowDeletedName="AGENCIRowDeleted" msprop:Generator_RowChangedName="AGENCIRowChanged" msprop:Generator_RowClassName="AGENCIRow" msprop:Generator_RowChangingName="AGENCIRowChanging" msprop:Generator_RowEvArgName="AGENCIRowChangeEvent" msprop:Generator_RowEvHandlerName="AGENCIRowChangeEventHandler" msprop:Generator_TableClassName="AGENCIDataTable" msprop:Generator_TableVarName="tableAGENCI" msprop:Generator_RowDeletingName="AGENCIRowDeleting" msprop:Generator_TablePropName="AGENCI">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_AGENTA" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID_AGENTA" msprop:Generator_ColumnPropNameInRow="ID_AGENTA" msprop:Generator_ColumnVarNameInTable="columnID_AGENTA" msprop:Generator_ColumnPropNameInTable="ID_AGENTAColumn" type="xs:int" />
              <xs:element name="ID_AGENCJI" msprop:Generator_UserColumnName="ID_AGENCJI" msprop:Generator_ColumnPropNameInRow="ID_AGENCJI" msprop:Generator_ColumnVarNameInTable="columnID_AGENCJI" msprop:Generator_ColumnPropNameInTable="ID_AGENCJIColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Symbol" msprop:Generator_UserColumnName="Symbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" default="">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Imię" msprop:Generator_UserColumnName="Imię" msprop:Generator_ColumnPropNameInRow="Imię" msprop:Generator_ColumnVarNameInTable="columnImię" msprop:Generator_ColumnPropNameInTable="ImięColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwisko" msprop:Generator_UserColumnName="Nazwisko" msprop:Generator_ColumnPropNameInRow="Nazwisko" msprop:Generator_ColumnVarNameInTable="columnNazwisko" msprop:Generator_ColumnPropNameInTable="NazwiskoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ulica" msprop:Generator_UserColumnName="ulica" msprop:Generator_ColumnPropNameInRow="ulica" msprop:Generator_ColumnVarNameInTable="columnulica" msprop:Generator_ColumnPropNameInTable="ulicaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kod" msprop:Generator_UserColumnName="kod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInTable="kodColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="miasto" msprop:Generator_UserColumnName="miasto" msprop:Generator_ColumnPropNameInRow="miasto" msprop:Generator_ColumnVarNameInTable="columnmiasto" msprop:Generator_ColumnPropNameInTable="miastoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="woj" msprop:Generator_UserColumnName="woj" msprop:Generator_ColumnPropNameInRow="woj" msprop:Generator_ColumnVarNameInTable="columnwoj" msprop:Generator_ColumnPropNameInTable="wojColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="państwo" msprop:Generator_UserColumnName="państwo" msprop:Generator_ColumnPropNameInRow="państwo" msprop:Generator_ColumnVarNameInTable="columnpaństwo" msprop:Generator_ColumnPropNameInTable="państwoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tel" msprop:Generator_UserColumnName="tel" msprop:Generator_ColumnPropNameInRow="tel" msprop:Generator_ColumnVarNameInTable="columntel" msprop:Generator_ColumnPropNameInTable="telColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fax" msprop:Generator_UserColumnName="fax" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInTable="faxColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="opis" msprop:Generator_UserColumnName="opis" msprop:Generator_ColumnPropNameInRow="opis" msprop:Generator_ColumnVarNameInTable="columnopis" msprop:Generator_ColumnPropNameInTable="opisColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="konto-wn" msprop:Generator_UserColumnName="konto-wn" msprop:Generator_ColumnPropNameInRow="_konto_wn" msprop:Generator_ColumnVarNameInTable="_columnkonto_wn" msprop:Generator_ColumnPropNameInTable="_konto_wnColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="konto-ma" msprop:Generator_UserColumnName="konto-ma" msprop:Generator_ColumnPropNameInRow="_konto_ma" msprop:Generator_ColumnVarNameInTable="_columnkonto_ma" msprop:Generator_ColumnPropNameInTable="_konto_maColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="konto-pr" msprop:Generator_UserColumnName="konto-pr" msprop:Generator_ColumnPropNameInRow="_konto_pr" msprop:Generator_ColumnVarNameInTable="_columnkonto_pr" msprop:Generator_ColumnPropNameInTable="_konto_prColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="podstawa" msprop:Generator_UserColumnName="podstawa" msprop:Generator_ColumnPropNameInRow="podstawa" msprop:Generator_ColumnVarNameInTable="columnpodstawa" msprop:Generator_ColumnPropNameInTable="podstawaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="aktywny" msprop:Generator_UserColumnName="aktywny" msprop:Generator_ColumnPropNameInRow="aktywny" msprop:Generator_ColumnVarNameInTable="columnaktywny" msprop:Generator_ColumnPropNameInTable="aktywnyColumn" type="xs:boolean" default="true" />
              <xs:element name="pracownicy" msprop:Generator_UserColumnName="pracownicy" msprop:Generator_ColumnPropNameInRow="pracownicy" msprop:Generator_ColumnVarNameInTable="columnpracownicy" msprop:Generator_ColumnPropNameInTable="pracownicyColumn" type="xs:boolean" default="false" />
              <xs:element name="hasło" msprop:Generator_UserColumnName="hasło" msprop:Generator_ColumnPropNameInRow="hasło" msprop:Generator_ColumnVarNameInTable="columnhasło" msprop:Generator_ColumnPropNameInTable="hasłoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="admin" msprop:Generator_UserColumnName="admin" msprop:Generator_ColumnPropNameInRow="admin" msprop:Generator_ColumnVarNameInTable="columnadmin" msprop:Generator_ColumnPropNameInTable="adminColumn" type="xs:boolean" default="false" />
              <xs:element name="F_ROZ" msprop:Generator_UserColumnName="F_ROZ" msprop:Generator_ColumnPropNameInRow="F_ROZ" msprop:Generator_ColumnVarNameInTable="columnF_ROZ" msprop:Generator_ColumnPropNameInTable="F_ROZColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="New_ID" msprop:Generator_UserColumnName="New_ID" msprop:Generator_ColumnPropNameInRow="New_ID" msprop:Generator_ColumnVarNameInTable="columnNew_ID" msprop:Generator_ColumnPropNameInTable="New_IDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Old_ID" msprop:Generator_UserColumnName="Old_ID" msprop:Generator_ColumnPropNameInRow="Old_ID" msprop:Generator_ColumnVarNameInTable="columnOld_ID" msprop:Generator_ColumnPropNameInTable="Old_IDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="show_info" msprop:Generator_UserColumnName="show_info" msprop:Generator_ColumnPropNameInRow="show_info" msprop:Generator_ColumnVarNameInTable="columnshow_info" msprop:Generator_ColumnPropNameInTable="show_infoColumn" type="xs:short" minOccurs="0" />
              <xs:element name="ID_PLANU_PROWIZYJNEGO" msprop:Generator_UserColumnName="ID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnPropNameInRow="ID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnVarNameInTable="columnID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnPropNameInTable="ID_PLANU_PROWIZYJNEGOColumn" type="xs:int" default="5" />
              <xs:element name="FotkaDoMenuStart" msprop:Generator_UserColumnName="FotkaDoMenuStart" msprop:Generator_ColumnPropNameInRow="FotkaDoMenuStart" msprop:Generator_ColumnVarNameInTable="columnFotkaDoMenuStart" msprop:Generator_ColumnPropNameInTable="FotkaDoMenuStartColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="InvoiceProviderId" msprop:Generator_UserColumnName="InvoiceProviderId" msprop:Generator_ColumnVarNameInTable="columnInvoiceProviderId" msprop:Generator_ColumnPropNameInRow="InvoiceProviderId" msprop:Generator_ColumnPropNameInTable="InvoiceProviderIdColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AGENCJE" msprop:Generator_UserTableName="AGENCJE" msprop:Generator_RowDeletedName="AGENCJERowDeleted" msprop:Generator_RowChangedName="AGENCJERowChanged" msprop:Generator_RowClassName="AGENCJERow" msprop:Generator_RowChangingName="AGENCJERowChanging" msprop:Generator_RowEvArgName="AGENCJERowChangeEvent" msprop:Generator_RowEvHandlerName="AGENCJERowChangeEventHandler" msprop:Generator_TableClassName="AGENCJEDataTable" msprop:Generator_TableVarName="tableAGENCJE" msprop:Generator_RowDeletingName="AGENCJERowDeleting" msprop:Generator_TablePropName="AGENCJE">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id_agencji" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="Id_agencji" msprop:Generator_ColumnPropNameInRow="Id_agencji" msprop:Generator_ColumnVarNameInTable="columnId_agencji" msprop:Generator_ColumnPropNameInTable="Id_agencjiColumn" type="xs:int" />
              <xs:element name="Symbol" msprop:Generator_UserColumnName="Symbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn" default="nowaAgencja">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwa1" msprop:Generator_UserColumnName="Nazwa1" msprop:Generator_ColumnPropNameInRow="Nazwa1" msprop:Generator_ColumnVarNameInTable="columnNazwa1" msprop:Generator_ColumnPropNameInTable="Nazwa1Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwa2" msprop:Generator_UserColumnName="Nazwa2" msprop:Generator_ColumnPropNameInRow="Nazwa2" msprop:Generator_ColumnVarNameInTable="columnNazwa2" msprop:Generator_ColumnPropNameInTable="Nazwa2Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwa3" msprop:Generator_UserColumnName="Nazwa3" msprop:Generator_ColumnPropNameInRow="Nazwa3" msprop:Generator_ColumnVarNameInTable="columnNazwa3" msprop:Generator_ColumnPropNameInTable="Nazwa3Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ulica" msprop:Generator_UserColumnName="ulica" msprop:Generator_ColumnPropNameInRow="ulica" msprop:Generator_ColumnVarNameInTable="columnulica" msprop:Generator_ColumnPropNameInTable="ulicaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kod" msprop:Generator_UserColumnName="kod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInTable="kodColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="miasto" msprop:Generator_UserColumnName="miasto" msprop:Generator_ColumnPropNameInRow="miasto" msprop:Generator_ColumnVarNameInTable="columnmiasto" msprop:Generator_ColumnPropNameInTable="miastoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="woj" msprop:Generator_UserColumnName="woj" msprop:Generator_ColumnPropNameInRow="woj" msprop:Generator_ColumnVarNameInTable="columnwoj" msprop:Generator_ColumnPropNameInTable="wojColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="państwo" msprop:Generator_UserColumnName="państwo" msprop:Generator_ColumnPropNameInRow="państwo" msprop:Generator_ColumnVarNameInTable="columnpaństwo" msprop:Generator_ColumnPropNameInTable="państwoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Kontakt" msprop:Generator_UserColumnName="Kontakt" msprop:Generator_ColumnPropNameInRow="Kontakt" msprop:Generator_ColumnVarNameInTable="columnKontakt" msprop:Generator_ColumnPropNameInTable="KontaktColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="telefon" msprop:Generator_UserColumnName="telefon" msprop:Generator_ColumnPropNameInRow="telefon" msprop:Generator_ColumnVarNameInTable="columntelefon" msprop:Generator_ColumnPropNameInTable="telefonColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fax" msprop:Generator_UserColumnName="fax" msprop:Generator_ColumnPropNameInRow="fax" msprop:Generator_ColumnVarNameInTable="columnfax" msprop:Generator_ColumnPropNameInTable="faxColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Opis" msprop:Generator_UserColumnName="Opis" msprop:Generator_ColumnPropNameInRow="Opis" msprop:Generator_ColumnVarNameInTable="columnOpis" msprop:Generator_ColumnPropNameInTable="OpisColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Adres_Fk" msprop:Generator_UserColumnName="Adres_Fk" msprop:Generator_ColumnPropNameInRow="Adres_Fk" msprop:Generator_ColumnVarNameInTable="columnAdres_Fk" msprop:Generator_ColumnPropNameInTable="Adres_FkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NIP" msprop:Generator_UserColumnName="NIP" msprop:Generator_ColumnPropNameInRow="NIP" msprop:Generator_ColumnVarNameInTable="columnNIP" msprop:Generator_ColumnPropNameInTable="NIPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Adres_Kor" msprop:Generator_UserColumnName="Adres_Kor" msprop:Generator_ColumnPropNameInRow="Adres_Kor" msprop:Generator_ColumnVarNameInTable="columnAdres_Kor" msprop:Generator_ColumnPropNameInTable="Adres_KorColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="aktywna" msprop:Generator_UserColumnName="aktywna" msprop:Generator_ColumnPropNameInRow="aktywna" msprop:Generator_ColumnVarNameInTable="columnaktywna" msprop:Generator_ColumnPropNameInTable="aktywnaColumn" type="xs:boolean" default="true" minOccurs="0" />
              <xs:element name="Unia" msprop:Generator_UserColumnName="Unia" msprop:Generator_ColumnPropNameInRow="Unia" msprop:Generator_ColumnVarNameInTable="columnUnia" msprop:Generator_ColumnPropNameInTable="UniaColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RejestrFaktur_Symbol" msprop:Generator_UserColumnName="RejestrFaktur_Symbol" msprop:Generator_ColumnPropNameInRow="RejestrFaktur_Symbol" msprop:Generator_ColumnVarNameInTable="columnRejestrFaktur_Symbol" msprop:Generator_ColumnPropNameInTable="RejestrFaktur_SymbolColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Reklama_PathName" msprop:Generator_UserColumnName="Reklama_PathName" msprop:Generator_ColumnPropNameInRow="Reklama_PathName" msprop:Generator_ColumnVarNameInTable="columnReklama_PathName" msprop:Generator_ColumnPropNameInTable="Reklama_PathNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SMTPServer" msprop:Generator_UserColumnName="SMTPServer" msprop:Generator_ColumnPropNameInRow="SMTPServer" msprop:Generator_ColumnVarNameInTable="columnSMTPServer" msprop:Generator_ColumnPropNameInTable="SMTPServerColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="vies" msprop:Generator_UserColumnName="vies" msprop:Generator_ColumnVarNameInTable="columnvies" msprop:Generator_ColumnPropNameInRow="vies" msprop:Generator_ColumnPropNameInTable="viesColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="adres_biura" msprop:Generator_UserColumnName="adres_biura" msprop:Generator_ColumnPropNameInRow="adres_biura" msprop:Generator_ColumnVarNameInTable="columnadres_biura" msprop:Generator_ColumnPropNameInTable="adres_biuraColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Daty_publikacji" msprop:Generator_UserTableName="Daty_publikacji" msprop:Generator_RowDeletedName="Daty_publikacjiRowDeleted" msprop:Generator_RowChangedName="Daty_publikacjiRowChanged" msprop:Generator_RowClassName="Daty_publikacjiRow" msprop:Generator_RowChangingName="Daty_publikacjiRowChanging" msprop:Generator_RowEvArgName="Daty_publikacjiRowChangeEvent" msprop:Generator_RowEvHandlerName="Daty_publikacjiRowChangeEventHandler" msprop:Generator_TableClassName="Daty_publikacjiDataTable" msprop:Generator_TableVarName="tableDaty_publikacji" msprop:Generator_RowDeletingName="Daty_publikacjiRowDeleting" msprop:Generator_TablePropName="Daty_publikacji">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Data_Publikacji" msprop:Generator_UserColumnName="Data_Publikacji" msprop:Generator_ColumnVarNameInTable="columnData_Publikacji" msprop:Generator_ColumnPropNameInRow="Data_Publikacji" msprop:Generator_ColumnPropNameInTable="Data_PublikacjiColumn" type="xs:dateTime" />
              <xs:element name="Numer_Tabeli" msprop:Generator_UserColumnName="Numer_Tabeli" msprop:Generator_ColumnVarNameInTable="columnNumer_Tabeli" msprop:Generator_ColumnPropNameInRow="Numer_Tabeli" msprop:Generator_ColumnPropNameInTable="Numer_TabeliColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Waluty" msprop:Generator_UserTableName="Waluty" msprop:Generator_RowDeletedName="WalutyRowDeleted" msprop:Generator_RowChangedName="WalutyRowChanged" msprop:Generator_RowClassName="WalutyRow" msprop:Generator_RowChangingName="WalutyRowChanging" msprop:Generator_RowEvArgName="WalutyRowChangeEvent" msprop:Generator_RowEvHandlerName="WalutyRowChangeEventHandler" msprop:Generator_TableClassName="WalutyDataTable" msprop:Generator_TableVarName="tableWaluty" msprop:Generator_RowDeletingName="WalutyRowDeleting" msprop:Generator_TablePropName="Waluty">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Kod_Waluty" msprop:Generator_UserColumnName="Kod_Waluty" msprop:Generator_ColumnVarNameInTable="columnKod_Waluty" msprop:Generator_ColumnPropNameInRow="Kod_Waluty" msprop:Generator_ColumnPropNameInTable="Kod_WalutyColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Kursy_Walut" msprop:Generator_UserTableName="Kursy_Walut" msprop:Generator_RowDeletedName="Kursy_WalutRowDeleted" msprop:Generator_RowChangedName="Kursy_WalutRowChanged" msprop:Generator_RowClassName="Kursy_WalutRow" msprop:Generator_RowChangingName="Kursy_WalutRowChanging" msprop:Generator_RowEvArgName="Kursy_WalutRowChangeEvent" msprop:Generator_RowEvHandlerName="Kursy_WalutRowChangeEventHandler" msprop:Generator_TableClassName="Kursy_WalutDataTable" msprop:Generator_TableVarName="tableKursy_Walut" msprop:Generator_RowDeletingName="Kursy_WalutRowDeleting" msprop:Generator_TablePropName="Kursy_Walut">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="Numer_Tabeli" msprop:Generator_UserColumnName="Numer_Tabeli" msprop:Generator_ColumnVarNameInTable="columnNumer_Tabeli" msprop:Generator_ColumnPropNameInRow="Numer_Tabeli" msprop:Generator_ColumnPropNameInTable="Numer_TabeliColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Data_Publikacji" msprop:Generator_UserColumnName="Data_Publikacji" msprop:Generator_ColumnVarNameInTable="columnData_Publikacji" msprop:Generator_ColumnPropNameInRow="Data_Publikacji" msprop:Generator_ColumnPropNameInTable="Data_PublikacjiColumn" type="xs:dateTime" />
              <xs:element name="nazwa_waluty" msprop:Generator_UserColumnName="nazwa_waluty" msprop:Generator_ColumnVarNameInTable="columnnazwa_waluty" msprop:Generator_ColumnPropNameInRow="nazwa_waluty" msprop:Generator_ColumnPropNameInTable="nazwa_walutyColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="przelicznik" msprop:Generator_UserColumnName="przelicznik" msprop:Generator_ColumnVarNameInTable="columnprzelicznik" msprop:Generator_ColumnPropNameInRow="przelicznik" msprop:Generator_ColumnPropNameInTable="przelicznikColumn" type="xs:int" />
              <xs:element name="Kod_Waluty" msprop:Generator_UserColumnName="Kod_Waluty" msprop:Generator_ColumnVarNameInTable="columnKod_Waluty" msprop:Generator_ColumnPropNameInRow="Kod_Waluty" msprop:Generator_ColumnPropNameInTable="Kod_WalutyColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Kurs_Sredni" msprop:Generator_UserColumnName="Kurs_Sredni" msprop:Generator_ColumnVarNameInTable="columnKurs_Sredni" msprop:Generator_ColumnPropNameInRow="Kurs_Sredni" msprop:Generator_ColumnPropNameInTable="Kurs_SredniColumn" type="xs:double" />
              <xs:element name="Kurs_Sredni_Poznan" msprop:Generator_UserColumnName="Kurs_Sredni_Poznan" msprop:Generator_ColumnVarNameInTable="columnKurs_Sredni_Poznan" msprop:Generator_ColumnPropNameInRow="Kurs_Sredni_Poznan" msprop:Generator_ColumnPropNameInTable="Kurs_Sredni_PoznanColumn" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PLANY_PROWIZJI" msprop:Generator_UserTableName="PLANY_PROWIZJI" msprop:Generator_RowDeletedName="PLANY_PROWIZJIRowDeleted" msprop:Generator_RowChangedName="PLANY_PROWIZJIRowChanged" msprop:Generator_RowClassName="PLANY_PROWIZJIRow" msprop:Generator_RowChangingName="PLANY_PROWIZJIRowChanging" msprop:Generator_RowEvArgName="PLANY_PROWIZJIRowChangeEvent" msprop:Generator_RowEvHandlerName="PLANY_PROWIZJIRowChangeEventHandler" msprop:Generator_TableClassName="PLANY_PROWIZJIDataTable" msprop:Generator_TableVarName="tablePLANY_PROWIZJI" msprop:Generator_RowDeletingName="PLANY_PROWIZJIRowDeleting" msprop:Generator_TablePropName="PLANY_PROWIZJI">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID_PLANU_PROWIZYJNEGO" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnVarNameInTable="columnID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnPropNameInRow="ID_PLANU_PROWIZYJNEGO" msprop:Generator_ColumnPropNameInTable="ID_PLANU_PROWIZYJNEGOColumn" type="xs:int" />
              <xs:element name="PLAN_PROWIZJI" msprop:Generator_UserColumnName="PLAN_PROWIZJI" msprop:Generator_ColumnVarNameInTable="columnPLAN_PROWIZJI" msprop:Generator_ColumnPropNameInRow="PLAN_PROWIZJI" msprop:Generator_ColumnPropNameInTable="PLAN_PROWIZJIColumn" default="nowy_plan">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PODSTAWA" msprop:Generator_UserColumnName="PODSTAWA" msprop:Generator_ColumnVarNameInTable="columnPODSTAWA" msprop:Generator_ColumnPropNameInRow="PODSTAWA" msprop:Generator_ColumnPropNameInTable="PODSTAWAColumn" type="xs:float" default="0" />
              <xs:element name="ZESPOL" msprop:Generator_UserColumnName="ZESPOL" msprop:Generator_ColumnVarNameInTable="columnZESPOL" msprop:Generator_ColumnPropNameInRow="ZESPOL" msprop:Generator_ColumnPropNameInTable="ZESPOLColumn" type="xs:float" default="0" />
              <xs:element name="BUDZET" msprop:Generator_UserColumnName="BUDZET" msprop:Generator_ColumnVarNameInTable="columnBUDZET" msprop:Generator_ColumnPropNameInRow="BUDZET" msprop:Generator_ColumnPropNameInTable="BUDZETColumn" type="xs:float" default="0" />
              <xs:element name="OCENA" msprop:Generator_UserColumnName="OCENA" msprop:Generator_ColumnVarNameInTable="columnOCENA" msprop:Generator_ColumnPropNameInRow="OCENA" msprop:Generator_ColumnPropNameInTable="OCENAColumn" type="xs:float" default="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BUDZET_BIUR" msprop:Generator_UserTableName="BUDZET_BIUR" msprop:Generator_RowDeletedName="BUDZET_BIURRowDeleted" msprop:Generator_RowChangedName="BUDZET_BIURRowChanged" msprop:Generator_RowClassName="BUDZET_BIURRow" msprop:Generator_RowChangingName="BUDZET_BIURRowChanging" msprop:Generator_RowEvArgName="BUDZET_BIURRowChangeEvent" msprop:Generator_RowEvHandlerName="BUDZET_BIURRowChangeEventHandler" msprop:Generator_TableClassName="BUDZET_BIURDataTable" msprop:Generator_TableVarName="tableBUDZET_BIUR" msprop:Generator_RowDeletingName="BUDZET_BIURRowDeleting" msprop:Generator_TablePropName="BUDZET_BIUR">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="ID_BIURA" msprop:Generator_UserColumnName="ID_BIURA" msprop:Generator_ColumnPropNameInRow="ID_BIURA" msprop:Generator_ColumnVarNameInTable="columnID_BIURA" msprop:Generator_ColumnPropNameInTable="ID_BIURAColumn" type="xs:int" />
              <xs:element name="ROK" msprop:Generator_UserColumnName="ROK" msprop:Generator_ColumnPropNameInRow="ROK" msprop:Generator_ColumnVarNameInTable="columnROK" msprop:Generator_ColumnPropNameInTable="ROKColumn" type="xs:int" />
              <xs:element name="MS" msprop:Generator_UserColumnName="MS" msprop:Generator_ColumnPropNameInRow="MS" msprop:Generator_ColumnVarNameInTable="columnMS" msprop:Generator_ColumnPropNameInTable="MSColumn" type="xs:int" />
              <xs:element name="BUDZET" msprop:Generator_UserColumnName="BUDZET" msprop:Generator_ColumnPropNameInRow="BUDZET" msprop:Generator_ColumnVarNameInTable="columnBUDZET" msprop:Generator_ColumnPropNameInTable="BUDZETColumn" type="xs:int" default="0" />
              <xs:element name="GS" msprop:Generator_UserColumnName="GS" msprop:Generator_ColumnPropNameInRow="GS" msprop:Generator_ColumnVarNameInTable="columnGS" msprop:Generator_ColumnPropNameInTable="GSColumn" type="xs:int" minOccurs="0" />
              <xs:element name="AMT" msprop:Generator_UserColumnName="AMT" msprop:Generator_ColumnPropNameInRow="AMT" msprop:Generator_ColumnVarNameInTable="columnAMT" msprop:Generator_ColumnPropNameInTable="AMTColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TRENDS" msprop:Generator_UserColumnName="TRENDS" msprop:Generator_ColumnPropNameInRow="TRENDS" msprop:Generator_ColumnVarNameInTable="columnTRENDS" msprop:Generator_ColumnPropNameInTable="TRENDSColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Koszty_Biura" msprop:Generator_UserTableName="Koszty_Biura" msprop:Generator_RowDeletedName="Koszty_BiuraRowDeleted" msprop:Generator_RowChangedName="Koszty_BiuraRowChanged" msprop:Generator_RowClassName="Koszty_BiuraRow" msprop:Generator_RowChangingName="Koszty_BiuraRowChanging" msprop:Generator_RowEvArgName="Koszty_BiuraRowChangeEvent" msprop:Generator_RowEvHandlerName="Koszty_BiuraRowChangeEventHandler" msprop:Generator_TableClassName="Koszty_BiuraDataTable" msprop:Generator_TableVarName="tableKoszty_Biura" msprop:Generator_RowDeletingName="Koszty_BiuraRowDeleting" msprop:Generator_TablePropName="Koszty_Biura">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id_koszt" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id_koszt" msprop:Generator_ColumnPropNameInRow="id_koszt" msprop:Generator_ColumnVarNameInTable="columnid_koszt" msprop:Generator_ColumnPropNameInTable="id_kosztColumn" type="xs:int" />
              <xs:element name="id_Agencji" msprop:Generator_UserColumnName="id_Agencji" msprop:Generator_ColumnPropNameInRow="id_Agencji" msprop:Generator_ColumnVarNameInTable="columnid_Agencji" msprop:Generator_ColumnPropNameInTable="id_AgencjiColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="rok" msprop:Generator_UserColumnName="rok" msprop:Generator_ColumnPropNameInRow="rok" msprop:Generator_ColumnVarNameInTable="columnrok" msprop:Generator_ColumnPropNameInTable="rokColumn" type="xs:int" />
              <xs:element name="miesiac" msprop:Generator_UserColumnName="miesiac" msprop:Generator_ColumnPropNameInRow="miesiac" msprop:Generator_ColumnVarNameInTable="columnmiesiac" msprop:Generator_ColumnPropNameInTable="miesiacColumn" type="xs:int" />
              <xs:element name="czynsz" msprop:Generator_UserColumnName="czynsz" msprop:Generator_ColumnPropNameInRow="czynsz" msprop:Generator_ColumnVarNameInTable="columnczynsz" msprop:Generator_ColumnPropNameInTable="czynszColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="energia" msprop:Generator_UserColumnName="energia" msprop:Generator_ColumnPropNameInRow="energia" msprop:Generator_ColumnVarNameInTable="columnenergia" msprop:Generator_ColumnPropNameInTable="energiaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="telefony" msprop:Generator_UserColumnName="telefony" msprop:Generator_ColumnPropNameInRow="telefony" msprop:Generator_ColumnVarNameInTable="columntelefony" msprop:Generator_ColumnPropNameInTable="telefonyColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="internet" msprop:Generator_UserColumnName="internet" msprop:Generator_ColumnPropNameInRow="internet" msprop:Generator_ColumnVarNameInTable="columninternet" msprop:Generator_ColumnPropNameInTable="internetColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="parkingi" msprop:Generator_UserColumnName="parkingi" msprop:Generator_ColumnPropNameInRow="parkingi" msprop:Generator_ColumnVarNameInTable="columnparkingi" msprop:Generator_ColumnPropNameInTable="parkingiColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="paliwo" msprop:Generator_UserColumnName="paliwo" msprop:Generator_ColumnPropNameInRow="paliwo" msprop:Generator_ColumnVarNameInTable="columnpaliwo" msprop:Generator_ColumnPropNameInTable="paliwoColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="place" msprop:Generator_UserColumnName="place" msprop:Generator_ColumnPropNameInRow="place" msprop:Generator_ColumnVarNameInTable="columnplace" msprop:Generator_ColumnPropNameInTable="placeColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="inne" msprop:Generator_UserColumnName="inne" msprop:Generator_ColumnPropNameInRow="inne" msprop:Generator_ColumnVarNameInTable="columninne" msprop:Generator_ColumnPropNameInTable="inneColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="zatrudnienie" msprop:Generator_UserColumnName="zatrudnienie" msprop:Generator_ColumnPropNameInRow="zatrudnienie" msprop:Generator_ColumnVarNameInTable="columnzatrudnienie" msprop:Generator_ColumnPropNameInTable="zatrudnienieColumn" type="xs:int" minOccurs="0" />
              <xs:element name="opis" msprop:Generator_UserColumnName="opis" msprop:Generator_ColumnPropNameInRow="opis" msprop:Generator_ColumnVarNameInTable="columnopis" msprop:Generator_ColumnPropNameInTable="opisColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ksiegowosc" msprop:Generator_UserColumnName="ksiegowosc" msprop:Generator_ColumnPropNameInRow="ksiegowosc" msprop:Generator_ColumnVarNameInTable="columnksiegowosc" msprop:Generator_ColumnPropNameInTable="ksiegowoscColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="jezyki_def" msprop:Generator_UserTableName="jezyki_def" msprop:Generator_RowDeletedName="jezyki_defRowDeleted" msprop:Generator_RowChangedName="jezyki_defRowChanged" msprop:Generator_RowClassName="jezyki_defRow" msprop:Generator_RowChangingName="jezyki_defRowChanging" msprop:Generator_RowEvArgName="jezyki_defRowChangeEvent" msprop:Generator_RowEvHandlerName="jezyki_defRowChangeEventHandler" msprop:Generator_TableClassName="jezyki_defDataTable" msprop:Generator_TableVarName="tablejezyki_def" msprop:Generator_RowDeletingName="jezyki_defRowDeleting" msprop:Generator_TablePropName="jezyki_def">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id_jezyk" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id_jezyk" msprop:Generator_ColumnPropNameInRow="id_jezyk" msprop:Generator_ColumnVarNameInTable="columnid_jezyk" msprop:Generator_ColumnPropNameInTable="id_jezykColumn" type="xs:int" />
              <xs:element name="jezyk_name" msprop:Generator_UserColumnName="jezyk_name" msprop:Generator_ColumnPropNameInRow="jezyk_name" msprop:Generator_ColumnVarNameInTable="columnjezyk_name" msprop:Generator_ColumnPropNameInTable="jezyk_nameColumn" 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="UZYTKOWNICY" msprop:Generator_UserTableName="UZYTKOWNICY" msprop:Generator_RowDeletedName="UZYTKOWNICYRowDeleted" msprop:Generator_RowChangedName="UZYTKOWNICYRowChanged" msprop:Generator_RowClassName="UZYTKOWNICYRow" msprop:Generator_RowChangingName="UZYTKOWNICYRowChanging" msprop:Generator_RowEvArgName="UZYTKOWNICYRowChangeEvent" msprop:Generator_RowEvHandlerName="UZYTKOWNICYRowChangeEventHandler" msprop:Generator_TableClassName="UZYTKOWNICYDataTable" msprop:Generator_TableVarName="tableUZYTKOWNICY" msprop:Generator_RowDeletingName="UZYTKOWNICYRowDeleting" msprop:Generator_TablePropName="UZYTKOWNICY">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="LOGIN" msprop:Generator_UserColumnName="LOGIN" msprop:Generator_ColumnVarNameInTable="columnLOGIN" msprop:Generator_ColumnPropNameInRow="LOGIN" msprop:Generator_ColumnPropNameInTable="LOGINColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Imie" msprop:Generator_UserColumnName="Imie" msprop:Generator_ColumnVarNameInTable="columnImie" msprop:Generator_ColumnPropNameInRow="Imie" msprop:Generator_ColumnPropNameInTable="ImieColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwisko" msprop:Generator_UserColumnName="Nazwisko" msprop:Generator_ColumnVarNameInTable="columnNazwisko" msprop:Generator_ColumnPropNameInRow="Nazwisko" msprop:Generator_ColumnPropNameInTable="NazwiskoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PASSWORD" msprop:Generator_UserColumnName="PASSWORD" msprop:Generator_ColumnVarNameInTable="columnPASSWORD" msprop:Generator_ColumnPropNameInRow="PASSWORD" msprop:Generator_ColumnPropNameInTable="PASSWORDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="st_sekretarka" msprop:Generator_UserColumnName="st_sekretarka" msprop:Generator_ColumnVarNameInTable="columnst_sekretarka" msprop:Generator_ColumnPropNameInRow="st_sekretarka" msprop:Generator_ColumnPropNameInTable="st_sekretarkaColumn" type="xs:boolean" default="false" />
              <xs:element name="st_handlowiec" msprop:Generator_UserColumnName="st_handlowiec" msprop:Generator_ColumnVarNameInTable="columnst_handlowiec" msprop:Generator_ColumnPropNameInRow="st_handlowiec" msprop:Generator_ColumnPropNameInTable="st_handlowiecColumn" type="xs:boolean" default="false" />
              <xs:element name="st_sub_handlowiec" msprop:Generator_UserColumnName="st_sub_handlowiec" msprop:Generator_ColumnVarNameInTable="columnst_sub_handlowiec" msprop:Generator_ColumnPropNameInRow="st_sub_handlowiec" msprop:Generator_ColumnPropNameInTable="st_sub_handlowiecColumn" type="xs:boolean" default="false" />
              <xs:element name="st_kierownik" msprop:Generator_UserColumnName="st_kierownik" msprop:Generator_ColumnVarNameInTable="columnst_kierownik" msprop:Generator_ColumnPropNameInRow="st_kierownik" msprop:Generator_ColumnPropNameInTable="st_kierownikColumn" type="xs:boolean" default="false" />
              <xs:element name="st_dtp" msprop:Generator_UserColumnName="st_dtp" msprop:Generator_ColumnVarNameInTable="columnst_dtp" msprop:Generator_ColumnPropNameInRow="st_dtp" msprop:Generator_ColumnPropNameInTable="st_dtpColumn" type="xs:boolean" default="false" />
              <xs:element name="st_korekta" msprop:Generator_UserColumnName="st_korekta" msprop:Generator_ColumnVarNameInTable="columnst_korekta" msprop:Generator_ColumnPropNameInRow="st_korekta" msprop:Generator_ColumnPropNameInTable="st_korektaColumn" type="xs:boolean" default="false" />
              <xs:element name="st_produkcja" msprop:Generator_UserColumnName="st_produkcja" msprop:Generator_ColumnVarNameInTable="columnst_produkcja" msprop:Generator_ColumnPropNameInRow="st_produkcja" msprop:Generator_ColumnPropNameInTable="st_produkcjaColumn" type="xs:boolean" default="false" />
              <xs:element name="st_admin" msprop:Generator_UserColumnName="st_admin" msprop:Generator_ColumnVarNameInTable="columnst_admin" msprop:Generator_ColumnPropNameInRow="st_admin" msprop:Generator_ColumnPropNameInTable="st_adminColumn" type="xs:boolean" default="false" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ogl_dzialy" msprop:Generator_UserTableName="ogl_dzialy" msprop:Generator_RowDeletedName="ogl_dzialyRowDeleted" msprop:Generator_RowChangedName="ogl_dzialyRowChanged" msprop:Generator_RowClassName="ogl_dzialyRow" msprop:Generator_RowChangingName="ogl_dzialyRowChanging" msprop:Generator_RowEvArgName="ogl_dzialyRowChangeEvent" msprop:Generator_RowEvHandlerName="ogl_dzialyRowChangeEventHandler" msprop:Generator_TableClassName="ogl_dzialyDataTable" msprop:Generator_TableVarName="tableogl_dzialy" msprop:Generator_RowDeletingName="ogl_dzialyRowDeleting" msprop:Generator_TablePropName="ogl_dzialy">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DZIAŁ_NR" msprop:Generator_UserColumnName="DZIAŁ_NR" msprop:Generator_ColumnPropNameInRow="DZIAŁ_NR" msprop:Generator_ColumnVarNameInTable="columnDZIAŁ_NR" msprop:Generator_ColumnPropNameInTable="DZIAŁ_NRColumn" type="xs:short" minOccurs="0" />
              <xs:element name="DZIAŁ_TXT" msprop:Generator_UserColumnName="DZIAŁ_TXT" msprop:Generator_ColumnPropNameInRow="DZIAŁ_TXT" msprop:Generator_ColumnVarNameInTable="columnDZIAŁ_TXT" msprop:Generator_ColumnPropNameInTable="DZIAŁ_TXTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TYTUL" msprop:Generator_UserColumnName="TYTUL" msprop:Generator_ColumnPropNameInRow="TYTUL" msprop:Generator_ColumnVarNameInTable="columnTYTUL" msprop:Generator_ColumnPropNameInTable="TYTULColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ogl_rozdzialy" msprop:Generator_UserTableName="ogl_rozdzialy" msprop:Generator_RowDeletedName="ogl_rozdzialyRowDeleted" msprop:Generator_RowChangedName="ogl_rozdzialyRowChanged" msprop:Generator_RowClassName="ogl_rozdzialyRow" msprop:Generator_RowChangingName="ogl_rozdzialyRowChanging" msprop:Generator_RowEvArgName="ogl_rozdzialyRowChangeEvent" msprop:Generator_RowEvHandlerName="ogl_rozdzialyRowChangeEventHandler" msprop:Generator_TableClassName="ogl_rozdzialyDataTable" msprop:Generator_TableVarName="tableogl_rozdzialy" msprop:Generator_RowDeletingName="ogl_rozdzialyRowDeleting" msprop:Generator_TablePropName="ogl_rozdzialy">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:int" />
              <xs:element name="ROZDZIAŁ_TXT" msprop:Generator_UserColumnName="ROZDZIAŁ_TXT" msprop:Generator_ColumnPropNameInRow="ROZDZIAŁ_TXT" msprop:Generator_ColumnVarNameInTable="columnROZDZIAŁ_TXT" msprop:Generator_ColumnPropNameInTable="ROZDZIAŁ_TXTColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TYTUŁ" msprop:Generator_UserColumnName="TYTUŁ" msprop:Generator_ColumnPropNameInRow="TYTUŁ" msprop:Generator_ColumnVarNameInTable="columnTYTUŁ" msprop:Generator_ColumnPropNameInTable="TYTUŁColumn" type="xs:short" minOccurs="0" />
              <xs:element name="DZIAL" msprop:Generator_UserColumnName="DZIAL" msprop:Generator_ColumnPropNameInRow="DZIAL" msprop:Generator_ColumnVarNameInTable="columnDZIAL" msprop:Generator_ColumnPropNameInTable="DZIALColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="KontaktTyp" msprop:Generator_UserTableName="KontaktTyp" msprop:Generator_RowDeletedName="KontaktTypRowDeleted" msprop:Generator_RowChangedName="KontaktTypRowChanged" msprop:Generator_RowClassName="KontaktTypRow" msprop:Generator_RowChangingName="KontaktTypRowChanging" msprop:Generator_RowEvArgName="KontaktTypRowChangeEvent" msprop:Generator_RowEvHandlerName="KontaktTypRowChangeEventHandler" msprop:Generator_TableClassName="KontaktTypDataTable" msprop:Generator_TableVarName="tableKontaktTyp" msprop:Generator_RowDeletingName="KontaktTypRowDeleting" msprop:Generator_TablePropName="KontaktTyp">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" 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="InvoiceProvider" msprop:Generator_UserTableName="InvoiceProvider" msprop:Generator_RowDeletedName="InvoiceProviderRowDeleted" msprop:Generator_RowChangedName="InvoiceProviderRowChanged" msprop:Generator_RowClassName="InvoiceProviderRow" msprop:Generator_RowChangingName="InvoiceProviderRowChanging" msprop:Generator_RowEvArgName="InvoiceProviderRowChangeEvent" msprop:Generator_RowEvHandlerName="InvoiceProviderRowChangeEventHandler" msprop:Generator_TableClassName="InvoiceProviderDataTable" msprop:Generator_TableVarName="tableInvoiceProvider" msprop:Generator_RowDeletingName="InvoiceProviderRowDeleting" msprop:Generator_TablePropName="InvoiceProvider">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="ShortName" msprop:Generator_UserColumnName="ShortName" msprop:Generator_ColumnVarNameInTable="columnShortName" msprop:Generator_ColumnPropNameInRow="ShortName" msprop:Generator_ColumnPropNameInTable="ShortNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Street" msprop:Generator_UserColumnName="Street" msprop:Generator_ColumnVarNameInTable="columnStreet" msprop:Generator_ColumnPropNameInRow="Street" msprop:Generator_ColumnPropNameInTable="StreetColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="City" msprop:Generator_UserColumnName="City" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PostCode" msprop:Generator_UserColumnName="PostCode" msprop:Generator_ColumnVarNameInTable="columnPostCode" msprop:Generator_ColumnPropNameInRow="PostCode" msprop:Generator_ColumnPropNameInTable="PostCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Country" msprop:Generator_UserColumnName="Country" msprop:Generator_ColumnVarNameInTable="columnCountry" msprop:Generator_ColumnPropNameInRow="Country" msprop:Generator_ColumnPropNameInTable="CountryColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone" msprop:Generator_UserColumnName="Phone" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaxNumber" msprop:Generator_UserColumnName="TaxNumber" msprop:Generator_ColumnVarNameInTable="columnTaxNumber" msprop:Generator_ColumnPropNameInRow="TaxNumber" msprop:Generator_ColumnPropNameInTable="TaxNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaxCountryPrefix" msprop:Generator_UserColumnName="TaxCountryPrefix" msprop:Generator_ColumnVarNameInTable="columnTaxCountryPrefix" msprop:Generator_ColumnPropNameInRow="TaxCountryPrefix" msprop:Generator_ColumnPropNameInTable="TaxCountryPrefixColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SystemKsiegowyId" msprop:Generator_UserColumnName="SystemKsiegowyId" msprop:Generator_ColumnVarNameInTable="columnSystemKsiegowyId" msprop:Generator_ColumnPropNameInRow="SystemKsiegowyId" msprop:Generator_ColumnPropNameInTable="SystemKsiegowyIdColumn" type="xs:unsignedByte" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GrzbietyProdukcja" msprop:Generator_UserTableName="GrzbietyProdukcja" msprop:Generator_RowDeletedName="GrzbietyProdukcjaRowDeleted" msprop:Generator_RowChangedName="GrzbietyProdukcjaRowChanged" msprop:Generator_RowClassName="GrzbietyProdukcjaRow" msprop:Generator_RowChangingName="GrzbietyProdukcjaRowChanging" msprop:Generator_RowEvArgName="GrzbietyProdukcjaRowChangeEvent" msprop:Generator_RowEvHandlerName="GrzbietyProdukcjaRowChangeEventHandler" msprop:Generator_TableClassName="GrzbietyProdukcjaDataTable" msprop:Generator_TableVarName="tableGrzbietyProdukcja" msprop:Generator_RowDeletingName="GrzbietyProdukcjaRowDeleting" msprop:Generator_TablePropName="GrzbietyProdukcja">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
              <xs:element name="TitleId" msprop:Generator_UserColumnName="TitleId" msprop:Generator_ColumnVarNameInTable="columnTitleId" msprop:Generator_ColumnPropNameInRow="TitleId" msprop:Generator_ColumnPropNameInTable="TitleIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GRZBIETY" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="LISTA_TYPOW_REKLAMY_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LISTA_TYPOW_REKLAMY" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="LISTA_TYTULOW_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LISTA_TYTULOW" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="NAZWY_MODULOW_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:NAZWY_MODULOW" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PROMOCJE_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PROMOCJE" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="NR_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:NR" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="KONTA_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KONTA" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="KL_1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KL_1" />
      <xs:field xpath="mstns:ID_KL_1" />
    </xs:unique>
    <xs:unique name="KL_2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KL_2" />
      <xs:field xpath="mstns:ID_KL_2" />
    </xs:unique>
    <xs:unique name="KL_3_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KL_3" />
      <xs:field xpath="mstns:ID_KL_3" />
    </xs:unique>
    <xs:unique name="AGENCI_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AGENCI" />
      <xs:field xpath="mstns:ID_AGENTA" />
    </xs:unique>
    <xs:unique name="AGENCJE_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AGENCJE" />
      <xs:field xpath="mstns:Id_agencji" />
    </xs:unique>
    <xs:unique name="Kursy_Walut_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Kursy_Walut" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="PLANY_PROWIZJI_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PLANY_PROWIZJI" />
      <xs:field xpath="mstns:ID_PLANU_PROWIZYJNEGO" />
    </xs:unique>
    <xs:unique name="BUDZET_BIUR_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BUDZET_BIUR" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Koszty_Biura_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Koszty_Biura" />
      <xs:field xpath="mstns:id_koszt" />
    </xs:unique>
    <xs:unique name="jezyki_def_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:jezyki_def" />
      <xs:field xpath="mstns:id_jezyk" />
    </xs:unique>
    <xs:unique name="UZYTKOWNICY_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UZYTKOWNICY" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="KontaktTyp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:KontaktTyp" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="InvoiceProvider_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:InvoiceProvider" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="KL_1_KL_2" msdata:parent="KL_1" msdata:child="KL_2" msdata:parentkey="ID_KL_1" msdata:childkey="ID_KL_1" msprop:Generator_UserRelationName="KL_1_KL_2" msprop:Generator_RelationVarName="relationKL_1_KL_2" msprop:Generator_UserChildTable="KL_2" msprop:Generator_UserParentTable="KL_1" msprop:Generator_ParentPropName="KL_1Row" msprop:Generator_ChildPropName="GetKL_2Rows" />
      <msdata:Relationship name="KL_2_KL_3" msdata:parent="KL_2" msdata:child="KL_3" msdata:parentkey="ID_KL_2" msdata:childkey="ID_KL_2" msprop:Generator_UserRelationName="KL_2_KL_3" msprop:Generator_RelationVarName="relationKL_2_KL_3" msprop:Generator_UserChildTable="KL_3" msprop:Generator_UserParentTable="KL_2" msprop:Generator_ParentPropName="KL_2Row" msprop:Generator_ChildPropName="GetKL_3Rows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>