<?xml version="1.0" encoding="utf-8"?><Database Name="Telefony" Class="TelefonyDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
  <Connection Mode="AppSettings" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Telefony.mdf;Integrated Security=True;User Instance=True" SettingsObjectName="ORDesigner.My.MySettings" SettingsPropertyName="TelefonyConnectionString" Provider="System.Data.SqlClient" />
  <Table Name="dbo.ListaOsob" Member="ListaOsobs">
    <Type Name="ListaOsob">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
      <Column Name="Imię" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" />
      <Column Name="Nazwisko" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" />
      <Column Name="NumerTelefonu" Type="System.Int32" DbType="Int" CanBeNull="true" />
      <Column Name="Wiek" Type="System.Int32" DbType="Int" CanBeNull="true" />
      <Association Name="ListaOsob_Rozmowy" Member="Rozmowies" ThisKey="Id" OtherKey="Id" Type="Rozmowy" />
    </Type>
  </Table>
  <Table Name="dbo.Rozmowy" Member="Rozmowies">
    <Type Name="Rozmowy">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Column Name="Rozmowca" Type="System.String" DbType="NVarChar(MAX) NOT NULL" CanBeNull="false" />
      <Column Name="Data" Type="System.DateTime" DbType="DateTime NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
      <Column Name="CzasTrwania" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Association Name="ListaOsob_Rozmowy" Member="ListaOsob" ThisKey="Id" OtherKey="Id" Type="ListaOsob" IsForeignKey="true" />
    </Type>
  </Table>
  <Function Name="dbo.ListaOsobPelnoletnich" Method="ListaOsobPelnoletnich">
    <ElementType Name="ListaOsobPelnoletnichResult">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Column Name="Imię" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" />
      <Column Name="Nazwisko" Type="System.String" DbType="NVarChar(MAX)" CanBeNull="true" />
      <Column Name="NumerTelefonu" Type="System.Int32" DbType="Int" CanBeNull="true" />
      <Column Name="Wiek" Type="System.Int32" DbType="Int" CanBeNull="true" />
    </ElementType>
  </Function>
  <Function Name="dbo.AktualizujWiek" Method="AktualizujWiek">
    <Return Type="System.Int32" />
  </Function>
</Database>