private bool FilterDoktor1(Doktor entity)
 {
     return (entity.NadradenyDoktor == this.IDDoktora);
 }
 private bool FilterDoktor2(Doktor entity)
 {
     return (entity.IDDoktora == this.NadradenyDoktor);
 }
 /// <summary>
 /// Create a new Doktor object.
 /// </summary>
 /// <param name="iDDoktora">Initial value of the IDDoktora property.</param>
 /// <param name="osCislo">Initial value of the OsCislo property.</param>
 /// <param name="kodLekara">Initial value of the KodLekara property.</param>
 /// <param name="pZSId">Initial value of the PZSId property.</param>
 /// <param name="idUtvaru">Initial value of the IdUtvaru property.</param>
 /// <param name="den_nastupu">Initial value of the Den_nastupu property.</param>
 public static Doktor CreateDoktor(global::System.Int32 iDDoktora, global::System.Int32 osCislo, global::System.String kodLekara, global::System.Int32 pZSId, global::System.Int32 idUtvaru, global::System.DateTime den_nastupu)
 {
     Doktor doktor = new Doktor();
     doktor.IDDoktora = iDDoktora;
     doktor.OsCislo = osCislo;
     doktor.KodLekara = kodLekara;
     doktor.PZSId = pZSId;
     doktor.IdUtvaru = idUtvaru;
     doktor.Den_nastupu = den_nastupu;
     return doktor;
 }
 private void DetachDoktor1(Doktor entity)
 {
     entity.Doktor2 = null;
 }
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IDDoktora == this.IdDoktora);
 }
예제 #6
0
     private void FixupDoktor(Doktor previousValue)
     {
         if (previousValue != null && previousValue.Vysetrenie.Contains(this))
         {
             previousValue.Vysetrenie.Remove(this);
         }
 
         if (Doktor != null)
         {
             if (!Doktor.Vysetrenie.Contains(this))
             {
                 Doktor.Vysetrenie.Add(this);
             }
             if (IdDoktor != Doktor.IDDoktora)
             {
                 IdDoktor = Doktor.IDDoktora;
             }
         }
     }
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.PZSId == this.PZSid);
 }
 private void DetachDoktor(Doktor entity)
 {
     entity.IdentifikacneUdaje = null;
 }
 private void AttachDoktor(Doktor entity)
 {
     entity.PZS = this;
 }
 private void DetachDoktor(Doktor entity)
 {
     entity.PZS = null;
 }
예제 #11
0
파일: Doktor.cs 프로젝트: Marbulinek/NIS
     private void FixupDoktor2(Doktor previousValue)
     {
         if (previousValue != null && previousValue.Doktor1.Contains(this))
         {
             previousValue.Doktor1.Remove(this);
         }
 
         if (Doktor2 != null)
         {
             if (!Doktor2.Doktor1.Contains(this))
             {
                 Doktor2.Doktor1.Add(this);
             }
             if (NadradenyDoktor != Doktor2.IDDoktora)
             {
                 NadradenyDoktor = Doktor2.IDDoktora;
             }
         }
         else if (!_settingFK)
         {
             NadradenyDoktor = null;
         }
     }
예제 #12
0
파일: Ochorenia.cs 프로젝트: Marbulinek/NIS
     private void FixupDoktor(Doktor previousValue)
     {
         if (previousValue != null && previousValue.Ochorenia.Contains(this))
         {
             previousValue.Ochorenia.Remove(this);
         }
 
         if (Doktor != null)
         {
             if (!Doktor.Ochorenia.Contains(this))
             {
                 Doktor.Ochorenia.Add(this);
             }
             if (Odhalil_doktor != Doktor.IDDoktora)
             {
                 Odhalil_doktor = Doktor.IDDoktora;
             }
         }
         else if (!_settingFK)
         {
             Odhalil_doktor = null;
         }
     }
 /// <summary>
 /// Deprecated Method for adding a new object to the Doktor EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDoktor(Doktor doktor)
 {
     base.AddObject("Doktor", doktor);
 }
 private bool FilterDoktor1(Doktor entity)
 {
     return (entity.IDDoktora == this.Prepustaci_doktor);
 }
 private void AttachDoktor(Doktor entity)
 {
     entity.Cis_Utvary = this;
 }
 private void AttachDoktor(Doktor entity)
 {
     entity.IdentifikacneUdaje = this;
 }
 private void DetachDoktor(Doktor entity)
 {
     entity.Cis_Utvary = null;
 }
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.OsCislo == this.OsCislo);
 }
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IdUtvaru == this.IdUtvaru);
 }
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IDDoktora == this.Odhalil_doktor);
 }
 private void AttachDoktor1(Doktor entity)
 {
     entity.Doktor2 = this;
 }
예제 #22
0
파일: Zakroky.cs 프로젝트: Marbulinek/NIS
     private void FixupDoktor(Doktor previousValue)
     {
         if (previousValue != null && previousValue.Zakroky.Contains(this))
         {
             previousValue.Zakroky.Remove(this);
         }
 
         if (Doktor != null)
         {
             if (!Doktor.Zakroky.Contains(this))
             {
                 Doktor.Zakroky.Add(this);
             }
             if (IdDoktor != Doktor.IDDoktora)
             {
                 IdDoktor = Doktor.IDDoktora;
             }
         }
         else if (!_settingFK)
         {
             IdDoktor = null;
         }
     }
예제 #23
0
     private void FixupDoktor(Doktor previousValue)
     {
         if (previousValue != null && previousValue.MaDoktorov.Contains(this))
         {
             previousValue.MaDoktorov.Remove(this);
         }
 
         if (Doktor != null)
         {
             if (!Doktor.MaDoktorov.Contains(this))
             {
                 Doktor.MaDoktorov.Add(this);
             }
             if (IdDoktora != Doktor.IDDoktora)
             {
                 IdDoktora = Doktor.IDDoktora;
             }
         }
     }