コード例 #1
0
 private bool FilterDoktor1(Doktor entity)
 {
     return (entity.NadradenyDoktor == this.IDDoktora);
 }
コード例 #2
0
 private bool FilterDoktor2(Doktor entity)
 {
     return (entity.IDDoktora == this.NadradenyDoktor);
 }
コード例 #3
0
 /// <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;
 }
コード例 #4
0
 private void DetachDoktor1(Doktor entity)
 {
     entity.Doktor2 = null;
 }
コード例 #5
0
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IDDoktora == this.IdDoktora);
 }
コード例 #6
0
ファイル: Vysetrenie.cs プロジェクト: Marbulinek/NIS
     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;
             }
         }
     }
コード例 #7
0
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.PZSId == this.PZSid);
 }
コード例 #8
0
 private void DetachDoktor(Doktor entity)
 {
     entity.IdentifikacneUdaje = null;
 }
コード例 #9
0
 private void AttachDoktor(Doktor entity)
 {
     entity.PZS = this;
 }
コード例 #10
0
 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;
         }
     }
コード例 #13
0
 /// <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);
 }
コード例 #14
0
 private bool FilterDoktor1(Doktor entity)
 {
     return (entity.IDDoktora == this.Prepustaci_doktor);
 }
コード例 #15
0
 private void AttachDoktor(Doktor entity)
 {
     entity.Cis_Utvary = this;
 }
コード例 #16
0
 private void AttachDoktor(Doktor entity)
 {
     entity.IdentifikacneUdaje = this;
 }
コード例 #17
0
 private void DetachDoktor(Doktor entity)
 {
     entity.Cis_Utvary = null;
 }
コード例 #18
0
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.OsCislo == this.OsCislo);
 }
コード例 #19
0
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IdUtvaru == this.IdUtvaru);
 }
コード例 #20
0
 private bool FilterDoktor(Doktor entity)
 {
     return (entity.IDDoktora == this.Odhalil_doktor);
 }
コード例 #21
0
 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
ファイル: MaDoktorov.cs プロジェクト: Marbulinek/NIS
     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;
             }
         }
     }