Exemple #1
0
     private void FixupCis_Utvary(Cis_Utvary previousValue)
     {
         if (previousValue != null && previousValue.Laborant.Contains(this))
         {
             previousValue.Laborant.Remove(this);
         }
 
         if (Cis_Utvary != null)
         {
             if (!Cis_Utvary.Laborant.Contains(this))
             {
                 Cis_Utvary.Laborant.Add(this);
             }
             if (Pracovisko != Cis_Utvary.IdUtvaru)
             {
                 Pracovisko = Cis_Utvary.IdUtvaru;
             }
         }
     }
 private bool FilterCis_Utvary(Cis_Utvary entity)
 {
     return (entity.IdUtvaru == this.Pracovisko);
 }
 private bool FilterCis_Utvary(Cis_Utvary entity)
 {
     return (entity.IdUtvaru == this.Cis_Utvaru);
 }
Exemple #4
0
     private void FixupCis_Utvary(Cis_Utvary previousValue)
     {
         if (previousValue != null && previousValue.Doktor.Contains(this))
         {
             previousValue.Doktor.Remove(this);
         }
 
         if (Cis_Utvary != null)
         {
             if (!Cis_Utvary.Doktor.Contains(this))
             {
                 Cis_Utvary.Doktor.Add(this);
             }
             if (IdUtvaru != Cis_Utvary.IdUtvaru)
             {
                 IdUtvaru = Cis_Utvary.IdUtvaru;
             }
         }
     }
 /// <summary>
 /// Deprecated Method for adding a new object to the Cis_Utvary EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCis_Utvary(Cis_Utvary cis_Utvary)
 {
     base.AddObject("Cis_Utvary", cis_Utvary);
 }
 /// <summary>
 /// Create a new Cis_Utvary object.
 /// </summary>
 /// <param name="idUtvaru">Initial value of the IdUtvaru property.</param>
 /// <param name="kod">Initial value of the Kod property.</param>
 public static Cis_Utvary CreateCis_Utvary(global::System.Int32 idUtvaru, global::System.String kod)
 {
     Cis_Utvary cis_Utvary = new Cis_Utvary();
     cis_Utvary.IdUtvaru = idUtvaru;
     cis_Utvary.Kod = kod;
     return cis_Utvary;
 }