private bool FilterLiecba(Liecba entity)
 {
     return (entity.IdOchorenie == this.IdOchorenia);
 }
 private void DetachLiecba(Liecba entity)
 {
     entity.Ochorenia = null;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Liecba EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLiecba(Liecba liecba)
 {
     base.AddObject("Liecba", liecba);
 }
 private void AttachLiecba(Liecba entity)
 {
     entity.Ochorenia = this;
 }
 /// <summary>
 /// Create a new Liecba object.
 /// </summary>
 /// <param name="idLiecba">Initial value of the IdLiecba property.</param>
 public static Liecba CreateLiecba(global::System.Int32 idLiecba)
 {
     Liecba liecba = new Liecba();
     liecba.IdLiecba = idLiecba;
     return liecba;
 }