<?xml version="1.0" encoding="utf-8"?><Database Name="Testing" Class="LinqToSqlDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
  <Connection Mode="AppSettings" ConnectionString="Data Source=MERLIN-PC\SQLEXPRESS;Initial Catalog=Testing;Integrated Security=True" SettingsObjectName="ORM.LinqToSQL.Properties.Settings" SettingsPropertyName="TestingConnectionString" Provider="System.Data.SqlClient" />
  <Table Name="dbo.Predmet" Member="Predmets">
    <Type Name="Predmet">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="Nazev" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="Zkratka" Type="System.String" DbType="Char(4) NOT NULL" CanBeNull="false" />
      <Column Name="PocetKreditu" Type="System.Byte" DbType="TinyInt NOT NULL" CanBeNull="false" />
      <Column Name="Popis" Type="System.String" DbType="NVarChar(MAX) NOT NULL" CanBeNull="false" />
      <Column Name="UstavId" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Association Name="Predmet_UctitelPredmet" Member="UctitelPredmets" ThisKey="Id" OtherKey="PredmetId" Type="UctitelPredmet" />
      <Association Name="Ustav_Predmet" Member="Ustav" ThisKey="UstavId" OtherKey="Id" Type="Ustav" IsForeignKey="true" />
    </Type>
  </Table>
  <Table Name="dbo.Ucitel" Member="Ucitels">
    <Type Name="Ucitel">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
      <Column Name="Krestni" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="Prijmeni" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
      <Column Name="DatumNarozeni" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
      <Column Name="Plat" Type="System.Decimal" DbType="Decimal(18,0) NOT NULL" CanBeNull="false" />
      <Column Name="ProstredniJmeno" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
      <Column Name="UstavId" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
      <Column Name="NadrizenyId" Type="System.Int32" DbType="Int" CanBeNull="true" />
      <Association Name="Ucitel_Ucitel" Member="Ucitels" ThisKey="Id" OtherKey="NadrizenyId" Type="Ucitel" />
      <Association Name="Ucitel_UctitelPredmet" Member="UctitelPredmets" ThisKey="Id" OtherKey="UcitelId" Type="UctitelPredmet" />
      <Association Name="Ucitel_Ucitel" Member="Ucitel1" ThisKey="NadrizenyId" OtherKey="Id" Type="Ucitel" IsForeignKey="true" />
      <Association Name="Ustav_Ucitel" Member="Ustav" ThisKey="UstavId" OtherKey="Id" Type="Ustav" IsForeignKey="true" />
    </Type>
  </Table>
  <Table Name="dbo.UctitelPredmet" Member="UctitelPredmets">
    <Type Name="UctitelPredmet">
      <Column Name="UcitelId" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
      <Column Name="PredmetId" Type="System.Int32" DbType="Int NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
      <Association Name="Predmet_UctitelPredmet" Member="Predmet" ThisKey="PredmetId" OtherKey="Id" Type="Predmet" IsForeignKey="true" />
      <Association Name="Ucitel_UctitelPredmet" Member="Ucitel" ThisKey="UcitelId" OtherKey="Id" Type="Ucitel" IsForeignKey="true" />
    </Type>
  </Table>
  <Table Name="dbo.Ustav" Member="Ustavs">
    <Type Name="Ustav">
      <Column Name="Id" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
      <Column Name="Nazev" Type="System.String" DbType="NVarChar(150) NOT NULL" CanBeNull="false" />
      <Column Name="Zkratka" Type="System.String" DbType="NChar(4) NOT NULL" CanBeNull="false" />
      <Association Name="Ustav_Predmet" Member="Predmets" ThisKey="Id" OtherKey="UstavId" Type="Predmet" />
      <Association Name="Ustav_Ucitel" Member="Ucitels" ThisKey="Id" OtherKey="UstavId" Type="Ucitel" />
    </Type>
  </Table>
</Database>