private void DetachOchorenias(Ochorenia entity)
 {
     entity.IdentifikacneUdaje = null;
 }
 private bool FilterOchorenias(Ochorenia entity)
 {
     return (entity.OsCislo == this.OsCislo);
 }
 private bool FilterOchorenias(Ochorenia entity)
 {
     return (entity.DiagnozaId == this.Id);
 }
 private void AttachOchorenias(Ochorenia entity)
 {
     entity.IdentifikacneUdaje = this;
 }
 private void DetachOchorenias(Ochorenia entity)
 {
     entity.Cis_Diagnoza = null;
 }
 private void AttachOchorenias(Ochorenia entity)
 {
     entity.Cis_Diagnoza = this;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Ochorenia EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOchorenia(Ochorenia ochorenia)
 {
     base.AddObject("Ochorenia", ochorenia);
 }
 /// <summary>
 /// Create a new Ochorenia object.
 /// </summary>
 /// <param name="idOchorenia">Initial value of the IdOchorenia property.</param>
 /// <param name="osCislo">Initial value of the OsCislo property.</param>
 public static Ochorenia CreateOchorenia(global::System.Int32 idOchorenia, global::System.Int32 osCislo)
 {
     Ochorenia ochorenia = new Ochorenia();
     ochorenia.IdOchorenia = idOchorenia;
     ochorenia.OsCislo = osCislo;
     return ochorenia;
 }
 private bool FilterOchorenia(Ochorenia entity)
 {
     return (entity.IdOchorenia == this.IdOchorenie);
 }