<?xml version="1.0" encoding="utf-8"?>
<DomainModel xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="2.0.0.0" name="TelerikEntitiesModel" namespace="ORM.OpenAccess" showPropertiesCompartment="true" xmlns="http://www.telerik.com/ORM">
  <orm:orm name="TelerikEntitiesModel" backend="mssql" default-schema="dbo" xmlns:orm="http://tempuri.org/ORM">
    <orm:namespace name="ORM.OpenAccess" default="true">
      <orm:class name="Ustav" uniqueId="4e7d86b5-c6d2-4776-a9b2-eee39db221c5">
        <orm:table name="Ustav" />
        <orm:identity>
          <orm:key-generator name="autoinc">
            <orm:key-generator-member property-name="Id" />
          </orm:key-generator>
          <orm:single-field field-name="_id" />
        </orm:identity>
        <orm:concurrency strategy="changed" />
        <orm:field name="_id" property="Id" behavior="readwrite" uniqueId="715b1f3f-b0c3-4001-a5a4-880ce11e4c89" type="System.Int32">
          <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
        </orm:field>
        <orm:field name="_nazev" property="Nazev" behavior="readwrite" uniqueId="6996edd4-9b13-4f52-b3f8-be9016575834" type="System.String">
          <orm:column name="Nazev" sql-type="nvarchar" nullable="false" length="150" scale="0" ado-type="UnicodeStringVariableLength" />
        </orm:field>
        <orm:field name="_zkratka" property="Zkratka" behavior="readwrite" uniqueId="7d004684-e1cd-4064-9209-18123ca0fe40" type="System.String">
          <orm:column name="Zkratka" sql-type="nchar" nullable="false" length="4" scale="0" ado-type="UnicodeStringFixedLength" />
        </orm:field>
        <orm:field name="_ucitels" property="Ucitels" behavior="readwrite" uniqueId="96df09d2-d888-4735-92ed-7ac77ae99098" type="ORM.OpenAccess.Ucitel">
          <orm:collection element-class="ORM.OpenAccess.Ucitel" inverse-field="_ustav" order-by="" uniqueId="e5c7fa9d-7a1d-4d6d-8d05-4cb5a1d3b669" />
        </orm:field>
        <orm:field name="_predmets" property="Predmets" behavior="readwrite" uniqueId="5b85a7fb-3cae-410f-a039-3f8202b74bc3" type="ORM.OpenAccess.Predmet">
          <orm:collection element-class="ORM.OpenAccess.Predmet" inverse-field="_ustav" order-by="" uniqueId="5d91bf96-ce9f-4e98-a377-05d5819c3188" />
        </orm:field>
      </orm:class>
      <orm:class name="Ucitel" uniqueId="588ce03b-3cda-438b-8c39-cab2d38e5761">
        <orm:table name="Ucitel" />
        <orm:identity>
          <orm:single-field field-name="_id" />
        </orm:identity>
        <orm:concurrency strategy="changed" />
        <orm:field name="_id" property="Id" behavior="readwrite" uniqueId="9b9d6e7a-da55-4dbb-9b3d-c348a90be84c" type="System.Int32">
          <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        </orm:field>
        <orm:field name="_krestni" property="Krestni" behavior="readwrite" uniqueId="cb1a9ea2-16da-4a92-9b67-35f98a79524f" type="System.String">
          <orm:column name="Krestni" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        </orm:field>
        <orm:field name="_prijmeni" property="Prijmeni" behavior="readwrite" uniqueId="2040a891-6b64-408a-b6b8-b8d698ef954b" type="System.String">
          <orm:column name="Prijmeni" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        </orm:field>
        <orm:field name="_datumNarozeni" property="DatumNarozeni" behavior="readwrite" uniqueId="01dcda44-2d85-4399-a7d9-5060b6602777" type="System.DateTime">
          <orm:column name="DatumNarozeni" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
        </orm:field>
        <orm:field name="_plat" property="Plat" behavior="readwrite" uniqueId="ca6cc516-5f9a-4b18-affc-265d1e01c523" type="System.Int64">
          <orm:column name="Plat" sql-type="decimal" nullable="false" length="18" scale="0" ado-type="Decimal" />
        </orm:field>
        <orm:field name="_prostredniJmeno" property="ProstredniJmeno" behavior="readwrite" uniqueId="a0c69262-424e-466e-8d1b-65714e45c6c7" type="System.String">
          <orm:column name="ProstredniJmeno" sql-type="nvarchar" nullable="true" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        </orm:field>
        <orm:field name="_ustavId" property="UstavId" behavior="readwrite" uniqueId="75dc9817-3253-404b-8c6e-515242732bae" type="System.Int32">
          <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        </orm:field>
        <orm:field name="_nadrizenyId" property="NadrizenyId" behavior="readwrite" uniqueId="51efeeef-0c59-4e94-b78e-e82d50ea2e51" type="System.Nullable`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]">
          <orm:column name="NadrizenyId" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
        </orm:field>
        <orm:field name="_ucitel1" property="Ucitel1" behavior="readwrite" uniqueId="a5aeede6-0900-447c-90c5-0f52260fbf03" type="ORM.OpenAccess.Ucitel">
          <orm:reference uniqueId="94b5b380-645e-4332-913d-f43a715b764b" association-name="UcitelHasUcitel">
            <orm:sharedfield name="_nadrizenyId" target-class="ORM.OpenAccess.Ucitel" target-field="_id" />
            <orm:constraint name="FK_Ucitel_Ucitel" delete-action="dbdefaultrule" destination-table="Ucitel" />
          </orm:reference>
        </orm:field>
        <orm:field name="_ustav" property="Ustav" behavior="readwrite" uniqueId="1989bc01-add4-4b8c-b7d2-dc2fde0281ae" type="ORM.OpenAccess.Ustav">
          <orm:reference uniqueId="e5c7fa9d-7a1d-4d6d-8d05-4cb5a1d3b669" association-name="UcitelHasUstav">
            <orm:sharedfield name="_ustavId" target-class="ORM.OpenAccess.Ustav" target-field="_id" />
            <orm:constraint name="FK_Ucitel_Ustav" delete-action="dbdefaultrule" destination-table="Ustav" />
          </orm:reference>
        </orm:field>
        <orm:field name="_ucitels" property="Ucitels" behavior="readwrite" uniqueId="e995d99d-9ed4-42ce-809a-bfa00cf705ed" type="ORM.OpenAccess.Ucitel">
          <orm:collection element-class="ORM.OpenAccess.Ucitel" inverse-field="_ucitel1" order-by="" uniqueId="94b5b380-645e-4332-913d-f43a715b764b" />
        </orm:field>
        <orm:field name="_predmets" property="Predmets" behavior="readwrite" uniqueId="45890408-72be-4e59-967a-3fffe4177fe6" type="ORM.OpenAccess.Predmet">
          <orm:collection element-class="ORM.OpenAccess.Predmet" inverse-field="_ucitels" order-by="" uniqueId="39c56698-e3de-4227-a5b3-2c36ca165a9b" />
        </orm:field>
      </orm:class>
      <orm:class name="Predmet" uniqueId="2949bc1e-d3dd-4aa7-a1dc-848c589ce4a5">
        <orm:table name="Predmet" />
        <orm:identity>
          <orm:key-generator name="autoinc">
            <orm:key-generator-member property-name="Id" />
          </orm:key-generator>
          <orm:single-field field-name="_id" />
        </orm:identity>
        <orm:concurrency strategy="changed" />
        <orm:field name="_id" property="Id" behavior="readwrite" uniqueId="980e936d-e855-4ce8-88d9-d8ec0f3e9e7f" type="System.Int32">
          <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
        </orm:field>
        <orm:field name="_nazev" property="Nazev" behavior="readwrite" uniqueId="54485b08-eb63-4046-b3c3-2cc9766b96ba" type="System.String">
          <orm:column name="Nazev" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        </orm:field>
        <orm:field name="_zkratka" property="Zkratka" behavior="readwrite" uniqueId="0a5bcdd2-843e-4246-8bf0-3421310cb5ab" type="System.String">
          <orm:column name="Zkratka" sql-type="char" nullable="false" length="4" scale="0" ado-type="StringFixedLength" />
        </orm:field>
        <orm:field name="_pocetKreditu" property="PocetKreditu" behavior="readwrite" uniqueId="466b452e-2d83-4e62-bf41-ebdb62795fc8" type="System.Byte">
          <orm:column name="PocetKreditu" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
        </orm:field>
        <orm:field name="_popis" property="Popis" behavior="readwrite" uniqueId="199010a5-9df6-47d4-86bf-25f9d75db7ce" type="System.String">
          <orm:column name="Popis" sql-type="nvarchar(max)" nullable="false" length="0" scale="0" ado-type="UnicodeStringInfiniteLength" />
        </orm:field>
        <orm:field name="_ustavId" property="UstavId" behavior="readwrite" uniqueId="49801ac1-6d56-4b8a-8951-c5831edcea76" type="System.Int32">
          <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        </orm:field>
        <orm:field name="_ustav" property="Ustav" behavior="readwrite" uniqueId="60cb2e8f-7a9c-48c8-bbeb-74aeba6afb3f" type="ORM.OpenAccess.Ustav">
          <orm:reference uniqueId="5d91bf96-ce9f-4e98-a377-05d5819c3188" association-name="PredmetHasUstav">
            <orm:sharedfield name="_ustavId" target-class="ORM.OpenAccess.Ustav" target-field="_id" />
            <orm:constraint name="FK_Predmet_Katedra" delete-action="dbdefaultrule" destination-table="Ustav" />
          </orm:reference>
        </orm:field>
        <orm:field name="_ucitels" property="Ucitels" behavior="readwrite" uniqueId="dde2b4a1-219f-496c-a236-5e8998b207e4" type="ORM.OpenAccess.Ucitel">
          <orm:join-table uniqueId="39c56698-e3de-4227-a5b3-2c36ca165a9b" association-name="PredmetsHaveUcitels">
            <orm:table name="UctitelPredmet" join-table="true" />
            <orm:owner>
              <orm:constraint name="FK_UctitelPredmet_Predmet" delete-action="dbdefaultrule" destination-table="Predmet">
                <orm:column name="PredmetId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" target-class="ORM.OpenAccess.Predmet" target-field="_id" />
              </orm:constraint>
            </orm:owner>
            <orm:value>
              <orm:constraint name="FK_UctitelPredmet_Ucitel" delete-action="dbdefaultrule" destination-table="Ucitel">
                <orm:column name="UcitelId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" target-class="ORM.OpenAccess.Ucitel" target-field="_id" />
              </orm:constraint>
            </orm:value>
          </orm:join-table>
        </orm:field>
      </orm:class>
    </orm:namespace>
    <orm:schema schema="">
      <orm:table name="Ustav">
        <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
        <orm:column name="Nazev" sql-type="nvarchar" nullable="false" length="150" scale="0" ado-type="UnicodeStringVariableLength" />
        <orm:column name="Zkratka" sql-type="nchar" nullable="false" length="4" scale="0" ado-type="UnicodeStringFixedLength" />
      </orm:table>
      <orm:table name="UctitelPredmet" join-table="true">
        <orm:column name="UcitelId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        <orm:column name="PredmetId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        <orm:constraint name="FK_UctitelPredmet_Predmet" delete-action="dbdefaultrule" destination-table="Predmet">
          <orm:column name="PredmetId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        </orm:constraint>
        <orm:constraint name="FK_UctitelPredmet_Ucitel" delete-action="dbdefaultrule" destination-table="Ucitel">
          <orm:column name="UcitelId" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        </orm:constraint>
      </orm:table>
      <orm:table name="Ucitel">
        <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" ado-type="Int32" />
        <orm:column name="Krestni" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        <orm:column name="Prijmeni" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        <orm:column name="DatumNarozeni" sql-type="datetime" nullable="false" length="0" scale="0" ado-type="DateTime" />
        <orm:column name="Plat" sql-type="decimal" nullable="false" length="18" scale="0" ado-type="Decimal" />
        <orm:column name="ProstredniJmeno" sql-type="nvarchar" nullable="true" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        <orm:column name="NadrizenyId" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
        <orm:constraint name="FK_Ucitel_Ucitel" delete-action="dbdefaultrule" destination-table="Ucitel">
          <orm:column name="NadrizenyId" sql-type="int" nullable="true" length="0" scale="0" ado-type="Int32" />
        </orm:constraint>
        <orm:constraint name="FK_Ucitel_Ustav" delete-action="dbdefaultrule" destination-table="Ustav">
          <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        </orm:constraint>
      </orm:table>
      <orm:table name="Predmet">
        <orm:column name="Id" sql-type="int" nullable="false" length="0" scale="0" primary-key="true" backend-calculated="true" ado-type="Int32" />
        <orm:column name="Nazev" sql-type="nvarchar" nullable="false" length="50" scale="0" ado-type="UnicodeStringVariableLength" />
        <orm:column name="Zkratka" sql-type="char" nullable="false" length="4" scale="0" ado-type="StringFixedLength" />
        <orm:column name="PocetKreditu" sql-type="tinyint" nullable="false" length="0" scale="0" ado-type="Byte" />
        <orm:column name="Popis" sql-type="nvarchar(max)" nullable="false" length="0" scale="0" ado-type="UnicodeStringInfiniteLength" />
        <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        <orm:constraint name="FK_Predmet_Katedra" delete-action="dbdefaultrule" destination-table="Ustav">
          <orm:column name="UstavId" sql-type="int" nullable="false" length="0" scale="0" ado-type="Int32" />
        </orm:constraint>
      </orm:table>
    </orm:schema>
    <orm:relational-naming-settings>
      <orm:source-strategy>Property</orm:source-strategy>
      <orm:remove-camel-case>False</orm:remove-camel-case>
    </orm:relational-naming-settings>
  </orm:orm>
  <ModelSettings xmlns="">
    <AppConfigConnectionPropertyName>Testing5Connection</AppConfigConnectionPropertyName>
    <AppConfigConnectionString>Data Source=MERLIN-PC\SQLEXPRESS;Initial Catalog=Testing5;Integrated Security=True</AppConfigConnectionString>
    <InitialCatalog>Testing5</InitialCatalog>
    <NamingSettings>
      <ClassRules>
        <CaseMode>PascalCase</CaseMode>
        <PluralizationMode>Singularize</PluralizationMode>
      </ClassRules>
      <FieldRules>
        <AddPrefix>_</AddPrefix>
        <CaseMode>CamelCase</CaseMode>
      </FieldRules>
      <PropertyRules>
        <CaseMode>PascalCase</CaseMode>
      </PropertyRules>
      <NavigationPropertyRules>
        <IsPrefixSuffixEnabled>false</IsPrefixSuffixEnabled>
      </NavigationPropertyRules>
    </NamingSettings>
    <CodeGenerationSettings>
      <OutputProjectName>ORM.OpenAccess</OutputProjectName>
      <OutputProjectFolder>Mappings\</OutputProjectFolder>
      <OutputPath>Mappings\</OutputPath>
      <MappingDefinitionType>Attributes</MappingDefinitionType>
    </CodeGenerationSettings>
    <SchemaUpdateSettings />
    <BackendConfigurationSettings>
      <BackendConfiguration>
        <Backend>MsSql</Backend>
        <ProviderName>System.Data.SqlClient</ProviderName>
      </BackendConfiguration>
    </BackendConfigurationSettings>
  </ModelSettings>
  <Types>
    <DomainClass Id="4e7d86b5-c6d2-4776-a9b2-eee39db221c5" name="Ustav" namespace="ORM.OpenAccess" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true" identityMechanismMember="Id">
      <Property Id="715b1f3f-b0c3-4001-a5a4-880ce11e4c89" name="Id" type="Int32" label="Id : Int32" kind="Persistent" identity="true" fieldName="_id" />
      <Property Id="6996edd4-9b13-4f52-b3f8-be9016575834" name="Nazev" label="Nazev : String" kind="Persistent" fieldName="_nazev" />
      <Property Id="7d004684-e1cd-4064-9209-18123ca0fe40" name="Zkratka" label="Zkratka : String" kind="Persistent" fieldName="_zkratka" />
      <navigationalProperties>
        <classHasNavigationalProperties Id="7bfc7d64-b3a4-4849-b075-40e50c5ca1bf">
          <NavigationalProperty Id="96df09d2-d888-4735-92ed-7ac77ae99098" name="Ucitels" type="IList&lt;Ucitel&gt;" label="Ucitels : IList&lt;Ucitel&gt;" nullable="true" kind="Persistent" fieldName="_ucitels" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
        <classHasNavigationalProperties Id="fac84fb2-aa29-4e04-943f-1af3a2024f53">
          <NavigationalProperty Id="5b85a7fb-3cae-410f-a039-3f8202b74bc3" name="Predmets" type="IList&lt;Predmet&gt;" label="Predmets : IList&lt;Predmet&gt;" nullable="true" kind="Persistent" fieldName="_predmets" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
      </navigationalProperties>
    </DomainClass>
    <DomainClass Id="588ce03b-3cda-438b-8c39-cab2d38e5761" name="Ucitel" namespace="ORM.OpenAccess" showPropertiesCompartment="true" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true">
      <Property Id="9b9d6e7a-da55-4dbb-9b3d-c348a90be84c" name="Id" type="Int32" label="Id : Int32" kind="Persistent" identity="true" fieldName="_id" />
      <Property Id="01dcda44-2d85-4399-a7d9-5060b6602777" name="DatumNarozeni" type="DateTime" label="DatumNarozeni : DateTime" kind="Persistent" fieldName="_datumNarozeni" />
      <Property Id="cb1a9ea2-16da-4a92-9b67-35f98a79524f" name="Krestni" label="Krestni : String" kind="Persistent" fieldName="_krestni" />
      <Property Id="51efeeef-0c59-4e94-b78e-e82d50ea2e51" name="NadrizenyId" type="Int32" label="NadrizenyId : Int32" nullable="true" kind="Persistent" fieldName="_nadrizenyId" />
      <Property Id="ca6cc516-5f9a-4b18-affc-265d1e01c523" name="Plat" type="Int64" label="Plat : Int64" kind="Persistent" fieldName="_plat" />
      <Property Id="2040a891-6b64-408a-b6b8-b8d698ef954b" name="Prijmeni" label="Prijmeni : String" kind="Persistent" fieldName="_prijmeni" />
      <Property Id="a0c69262-424e-466e-8d1b-65714e45c6c7" name="ProstredniJmeno" label="ProstredniJmeno : String" kind="Persistent" fieldName="_prostredniJmeno" />
      <Property Id="75dc9817-3253-404b-8c6e-515242732bae" name="UstavId" type="Int32" label="UstavId : Int32" kind="Persistent" fieldName="_ustavId" />
      <AssociationTargets>
        <Association Id="94b5b380-645e-4332-913d-f43a715b764b" SourceMultiplicity="ZeroOne" name="UcitelHasUcitel">
          <DomainClassMoniker name="/TelerikEntitiesModel/Ucitel" />
          <targetNavigationalProperty>
            <associationDefinesTargetProperty Id="3e20f95e-b6af-40e4-8957-7395281a45ea">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ucitel/Ucitels" />
            </associationDefinesTargetProperty>
          </targetNavigationalProperty>
          <sourceNavigationalProperty>
            <associationDefinesSourceProperty Id="9af60260-02c9-4667-a39c-cd39d5f69b00">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ucitel/Ucitel1" />
            </associationDefinesSourceProperty>
          </sourceNavigationalProperty>
        </Association>
        <Association Id="e5c7fa9d-7a1d-4d6d-8d05-4cb5a1d3b669" SourceMultiplicity="One" name="UcitelHasUstav">
          <DomainClassMoniker name="/TelerikEntitiesModel/Ustav" />
          <targetNavigationalProperty>
            <associationDefinesTargetProperty Id="f1e4dbe0-37df-495a-aace-92d2c78e37c4">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ustav/Ucitels" />
            </associationDefinesTargetProperty>
          </targetNavigationalProperty>
          <sourceNavigationalProperty>
            <associationDefinesSourceProperty Id="f162525f-b3c7-47b4-b116-22889a70d410">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ucitel/Ustav" />
            </associationDefinesSourceProperty>
          </sourceNavigationalProperty>
        </Association>
      </AssociationTargets>
      <navigationalProperties>
        <classHasNavigationalProperties Id="75c409b4-06a3-4916-9040-b81045c6d726">
          <NavigationalProperty Id="a5aeede6-0900-447c-90c5-0f52260fbf03" name="Ucitel1" type="Ucitel" label="Ucitel1 : Ucitel" nullable="true" kind="Persistent" fieldName="_ucitel1" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
        <classHasNavigationalProperties Id="0d553f19-1a34-437b-80cd-50b7e44160ff">
          <NavigationalProperty Id="e995d99d-9ed4-42ce-809a-bfa00cf705ed" name="Ucitels" type="IList&lt;Ucitel&gt;" label="Ucitels : IList&lt;Ucitel&gt;" nullable="true" kind="Persistent" fieldName="_ucitels" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
        <classHasNavigationalProperties Id="5962815e-38e2-47a0-b747-d1f7c18a944a">
          <NavigationalProperty Id="1989bc01-add4-4b8c-b7d2-dc2fde0281ae" name="Ustav" type="Ustav" label="Ustav : Ustav" nullable="true" kind="Persistent" fieldName="_ustav" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
        <classHasNavigationalProperties Id="461088ba-1e48-432f-bee4-07ace0f64ec5">
          <NavigationalProperty Id="45890408-72be-4e59-967a-3fffe4177fe6" name="Predmets" type="IList&lt;Predmet&gt;" label="Predmets : IList&lt;Predmet&gt;" nullable="true" kind="Persistent" fieldName="_predmets" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
      </navigationalProperties>
    </DomainClass>
    <DomainClass Id="2949bc1e-d3dd-4aa7-a1dc-848c589ce4a5" name="Predmet" namespace="ORM.OpenAccess" showPropertiesCompartment="true" identityMechanism="DatabaseServerCalculated" concurrencyMode="Changed" showNavigationCompartment="true" showImplementationCompartment="true" identityMechanismMember="Id">
      <Property Id="980e936d-e855-4ce8-88d9-d8ec0f3e9e7f" name="Id" type="Int32" label="Id : Int32" kind="Persistent" identity="true" fieldName="_id" />
      <Property Id="54485b08-eb63-4046-b3c3-2cc9766b96ba" name="Nazev" label="Nazev : String" kind="Persistent" fieldName="_nazev" />
      <Property Id="466b452e-2d83-4e62-bf41-ebdb62795fc8" name="PocetKreditu" type="Byte" label="PocetKreditu : Byte" kind="Persistent" fieldName="_pocetKreditu" />
      <Property Id="199010a5-9df6-47d4-86bf-25f9d75db7ce" name="Popis" label="Popis : String" kind="Persistent" fieldName="_popis" />
      <Property Id="49801ac1-6d56-4b8a-8951-c5831edcea76" name="UstavId" type="Int32" label="UstavId : Int32" kind="Persistent" fieldName="_ustavId" />
      <Property Id="0a5bcdd2-843e-4246-8bf0-3421310cb5ab" name="Zkratka" label="Zkratka : String" kind="Persistent" fieldName="_zkratka" />
      <AssociationTargets>
        <Association Id="5d91bf96-ce9f-4e98-a377-05d5819c3188" SourceMultiplicity="One" name="PredmetHasUstav">
          <DomainClassMoniker name="/TelerikEntitiesModel/Ustav" />
          <targetNavigationalProperty>
            <associationDefinesTargetProperty Id="108635f5-d6d0-443e-a50e-a4ba619bec5d">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ustav/Predmets" />
            </associationDefinesTargetProperty>
          </targetNavigationalProperty>
          <sourceNavigationalProperty>
            <associationDefinesSourceProperty Id="ca9bfdbd-ac4f-41bc-9961-cfc9ea8b0fb5">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Predmet/Ustav" />
            </associationDefinesSourceProperty>
          </sourceNavigationalProperty>
        </Association>
        <Association Id="39c56698-e3de-4227-a5b3-2c36ca165a9b" name="PredmetsHaveUcitels">
          <DomainClassMoniker name="/TelerikEntitiesModel/Ucitel" />
          <targetNavigationalProperty>
            <associationDefinesTargetProperty Id="2e0a7ce6-6086-40e0-bf3a-90870b6a76fd">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Ucitel/Predmets" />
            </associationDefinesTargetProperty>
          </targetNavigationalProperty>
          <sourceNavigationalProperty>
            <associationDefinesSourceProperty Id="16f9e126-8a0e-4cea-9e35-cc82eeddf837">
              <NavigationalPropertyMoniker name="/TelerikEntitiesModel/Predmet/Ucitels" />
            </associationDefinesSourceProperty>
          </sourceNavigationalProperty>
        </Association>
      </AssociationTargets>
      <navigationalProperties>
        <classHasNavigationalProperties Id="31aab310-7fab-4436-97f8-169400fde2f5">
          <NavigationalProperty Id="60cb2e8f-7a9c-48c8-bbeb-74aeba6afb3f" name="Ustav" type="Ustav" label="Ustav : Ustav" nullable="true" kind="Persistent" fieldName="_ustav" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
        <classHasNavigationalProperties Id="c69db474-cc7b-433e-9768-e31810ce7418">
          <NavigationalProperty Id="dde2b4a1-219f-496c-a236-5e8998b207e4" name="Ucitels" type="IList&lt;Ucitel&gt;" label="Ucitels : IList&lt;Ucitel&gt;" nullable="true" kind="Persistent" fieldName="_ucitels" isDependent="false" isManaged="false" />
        </classHasNavigationalProperties>
      </navigationalProperties>
    </DomainClass>
  </Types>
  <domainContext>
    <domainModelHasDomainContext Id="d24633b6-f1ca-486d-b80b-2dc8949e9972">
      <domainContainer name="TelerikEntitiesModel" namespace="ORM.OpenAccess" showPropertiesCompartment="true">
        <entitySetProperty name="Ustavs" namespace="ORM.OpenAccess" type="Ustav" label="Ustavs : IQueryable&lt;ORM.OpenAccess.Ustav&gt;" />
        <entitySetProperty name="Ucitels" namespace="ORM.OpenAccess" type="Ucitel" label="Ucitels : IQueryable&lt;ORM.OpenAccess.Ucitel&gt;" />
        <entitySetProperty name="Predmets" namespace="ORM.OpenAccess" type="Predmet" label="Predmets : IQueryable&lt;ORM.OpenAccess.Predmet&gt;" />
      </domainContainer>
    </domainModelHasDomainContext>
  </domainContext>
</DomainModel>