<?xml version="1.0" encoding="utf-8"?>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="DatabazeStudentuModelStoreContainer" CdmEntityContainer="DatabazeStudentuEntities">
    <EntitySetMapping Name="Predmets">
      <EntityTypeMapping TypeName="DatabazeStudentuModel.Predmet">
        <MappingFragment StoreEntitySet="Predmet">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="Nazev" ColumnName="Nazev" />
          <ScalarProperty Name="Zkratka" ColumnName="Zkratka" />
          <ScalarProperty Name="PocetKreditu" ColumnName="PocetKreditu" />
          <ScalarProperty Name="Popis" ColumnName="Popis" />
          <ScalarProperty Name="UstavId" ColumnName="UstavId" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Ucitels">
      <EntityTypeMapping TypeName="DatabazeStudentuModel.Ucitel">
        <MappingFragment StoreEntitySet="Ucitel">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="Krestni" ColumnName="Krestni" />
          <ScalarProperty Name="Prijmeni" ColumnName="Prijmeni" />
          <ScalarProperty Name="DatumNarozeni" ColumnName="DatumNarozeni" />
          <ScalarProperty Name="Plat" ColumnName="Plat" />
          <ScalarProperty Name="ProstredniJmeno" ColumnName="ProstredniJmeno" />
          <ScalarProperty Name="UstavId" ColumnName="UstavId" />
          <ScalarProperty Name="NadrizenyId" ColumnName="NadrizenyId" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Ustavs">
      <EntityTypeMapping TypeName="DatabazeStudentuModel.Ustav">
        <MappingFragment StoreEntitySet="Ustav">
          <ScalarProperty Name="Id" ColumnName="Id" />
          <ScalarProperty Name="Nazev" ColumnName="Nazev" />
          <ScalarProperty Name="Zkratka" ColumnName="Zkratka" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <AssociationSetMapping Name="UctitelPredmet" TypeName="DatabazeStudentuModel.UctitelPredmet" StoreEntitySet="UctitelPredmet">
      <EndProperty Name="Predmet">
        <ScalarProperty Name="Id" ColumnName="PredmetId" />
      </EndProperty>
      <EndProperty Name="Ucitel">
        <ScalarProperty Name="Id" ColumnName="UcitelId" />
      </EndProperty>
    </AssociationSetMapping>
  </EntityContainerMapping>
</Mapping>