<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AdresyDataSet" targetNamespace="http://tempuri.org/AdresyDataSet.xsd" xmlns:mstns="http://tempuri.org/AdresyDataSet.xsd" xmlns="http://tempuri.org/AdresyDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="AdresyConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AdresyConnectionString (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AdoNet_SqlServer.My.MySettings.GlobalReference.Default.AdresyConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OsobyTableAdapter" GeneratorDataComponentClassName="OsobyTableAdapter" Name="Osoby" UserDataComponentName="OsobyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdresyConnectionString (MySettings)" DbObjectName="dbo.Osoby" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Osoby] WHERE (([Imię] = @Original_Imię) AND ([Nazwisko] = @Original_Nazwisko) AND ([Email] = @Original_Email) AND ((@IsNull_Miasto = 1 AND [Miasto] IS NULL) OR ([Miasto] = @Original_Miasto)) AND ((@IsNull_Ulica = 1 AND [Ulica] IS NULL) OR ([Ulica] = @Original_Ulica)) AND ((@IsNull_NumerDomu = 1 AND [NumerDomu] IS NULL) OR ([NumerDomu] = @Original_NumerDomu)) AND ((@IsNull_NumerMieszkania = 1 AND [NumerMieszkania] IS NULL) OR ([NumerMieszkania] = @Original_NumerMieszkania)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Imię" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwisko" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <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 AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Miasto" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Miasto" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <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 AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ulica" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ulica" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Osoby] ([Imię], [Nazwisko], [Email], [Miasto], [Ulica], [NumerDomu], [NumerMieszkania]) VALUES (@Imię, @Nazwisko, @Email, @Miasto, @Ulica, @NumerDomu, @NumerMieszkania);
SELECT Imię, Nazwisko, Email, Miasto, Ulica, NumerDomu, NumerMieszkania FROM Osoby WHERE (Email = @Email)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Imię" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Miasto" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Miasto" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ulica" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ulica" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Imię, Nazwisko, Email, Miasto, Ulica, NumerDomu, NumerMieszkania FROM dbo.Osoby</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Osoby] SET [Imię] = @Imię, [Nazwisko] = @Nazwisko, [Email] = @Email, [Miasto] = @Miasto, [Ulica] = @Ulica, [NumerDomu] = @NumerDomu, [NumerMieszkania] = @NumerMieszkania WHERE (([Imię] = @Original_Imię) AND ([Nazwisko] = @Original_Nazwisko) AND ([Email] = @Original_Email) AND ((@IsNull_Miasto = 1 AND [Miasto] IS NULL) OR ([Miasto] = @Original_Miasto)) AND ((@IsNull_Ulica = 1 AND [Ulica] IS NULL) OR ([Ulica] = @Original_Ulica)) AND ((@IsNull_NumerDomu = 1 AND [NumerDomu] IS NULL) OR ([NumerDomu] = @Original_NumerDomu)) AND ((@IsNull_NumerMieszkania = 1 AND [NumerMieszkania] IS NULL) OR ([NumerMieszkania] = @Original_NumerMieszkania)));
SELECT Imię, Nazwisko, Email, Miasto, Ulica, NumerDomu, NumerMieszkania FROM Osoby WHERE (Email = @Email)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Imię" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Nazwisko" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Miasto" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Miasto" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ulica" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ulica" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Imię" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Imię" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Nazwisko" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Nazwisko" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <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 AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Miasto" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Miasto" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <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 AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ulica" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ulica" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumerDomu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerDomu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_NumerMieszkania" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NumerMieszkania" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Imię" DataSetColumn="Imię" />
              <Mapping SourceColumn="Nazwisko" DataSetColumn="Nazwisko" />
              <Mapping SourceColumn="Email" DataSetColumn="Email" />
              <Mapping SourceColumn="Miasto" DataSetColumn="Miasto" />
              <Mapping SourceColumn="Ulica" DataSetColumn="Ulica" />
              <Mapping SourceColumn="NumerDomu" DataSetColumn="NumerDomu" />
              <Mapping SourceColumn="NumerMieszkania" DataSetColumn="NumerMieszkania" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AdresyDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="AdresyDataSet" msprop:Generator_UserDSName="AdresyDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Osoby" msprop:Generator_TableClassName="OsobyDataTable" msprop:Generator_TableVarName="tableOsoby" msprop:Generator_TablePropName="Osoby" msprop:Generator_RowDeletingName="OsobyRowDeleting" msprop:Generator_UserTableName="Osoby" msprop:Generator_RowChangingName="OsobyRowChanging" msprop:Generator_RowEvHandlerName="OsobyRowChangeEventHandler" msprop:Generator_RowDeletedName="OsobyRowDeleted" msprop:Generator_RowEvArgName="OsobyRowChangeEvent" msprop:Generator_RowChangedName="OsobyRowChanged" msprop:Generator_RowClassName="OsobyRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Imię" msprop:Generator_ColumnVarNameInTable="columnImię" msprop:Generator_ColumnPropNameInRow="Imię" msprop:Generator_ColumnPropNameInTable="ImięColumn" msprop:Generator_UserColumnName="Imię">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Nazwisko" msprop:Generator_ColumnVarNameInTable="columnNazwisko" msprop:Generator_ColumnPropNameInRow="Nazwisko" msprop:Generator_ColumnPropNameInTable="NazwiskoColumn" msprop:Generator_UserColumnName="Nazwisko">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_UserColumnName="Email">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Miasto" msprop:Generator_ColumnVarNameInTable="columnMiasto" msprop:Generator_ColumnPropNameInRow="Miasto" msprop:Generator_ColumnPropNameInTable="MiastoColumn" msprop:Generator_UserColumnName="Miasto" 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_ColumnVarNameInTable="columnUlica" msprop:Generator_ColumnPropNameInRow="Ulica" msprop:Generator_ColumnPropNameInTable="UlicaColumn" msprop:Generator_UserColumnName="Ulica" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NumerDomu" msprop:Generator_ColumnVarNameInTable="columnNumerDomu" msprop:Generator_ColumnPropNameInRow="NumerDomu" msprop:Generator_ColumnPropNameInTable="NumerDomuColumn" msprop:Generator_UserColumnName="NumerDomu" type="xs:int" minOccurs="0" />
              <xs:element name="NumerMieszkania" msprop:Generator_ColumnVarNameInTable="columnNumerMieszkania" msprop:Generator_ColumnPropNameInRow="NumerMieszkania" msprop:Generator_ColumnPropNameInTable="NumerMieszkaniaColumn" msprop:Generator_UserColumnName="NumerMieszkania" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Osoby" />
      <xs:field xpath="mstns:Email" />
    </xs:unique>
  </xs:element>
</xs:schema>