private bool FilterPoistnyVztah(PoistnyVztah entity)
 {
     return (entity.OsCislo == this.OsCislo);
 }
 private void DetachPoistnyVztah1(PoistnyVztah entity)
 {
     entity.Cis_Poistovne1 = null;
 }
 private bool FilterPoistnyVztah1(PoistnyVztah entity)
 {
     return (entity.PredchadzajucaPoistovna == this.ID);
 }
 private void AttachPoistnyVztah1(PoistnyVztah entity)
 {
     entity.Cis_Poistovne1 = this;
 }
 private bool FilterPoistnyVztah(PoistnyVztah entity)
 {
     return (entity.IdPoistovna == this.ID);
 }
 /// <summary>
 /// Create a new PoistnyVztah object.
 /// </summary>
 /// <param name="osCislo">Initial value of the OsCislo property.</param>
 /// <param name="kodPoistenca">Initial value of the KodPoistenca property.</param>
 public static PoistnyVztah CreatePoistnyVztah(global::System.Int32 osCislo, global::System.Int32 kodPoistenca)
 {
     PoistnyVztah poistnyVztah = new PoistnyVztah();
     poistnyVztah.OsCislo = osCislo;
     poistnyVztah.KodPoistenca = kodPoistenca;
     return poistnyVztah;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PoistnyVztah EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPoistnyVztah(PoistnyVztah poistnyVztah)
 {
     base.AddObject("PoistnyVztah", poistnyVztah);
 }
예제 #8
0
     private void FixupPoistnyVztah(PoistnyVztah previousValue)
     {
         if (previousValue != null && ReferenceEquals(previousValue.IdentifikacneUdaje, this))
         {
             previousValue.IdentifikacneUdaje = null;
         }
 
         if (PoistnyVztah != null)
         {
             PoistnyVztah.IdentifikacneUdaje = this;
         }
     }