private bool FilterCis_KlinickePriznaky(Cis_KlinickePriznaky entity) { return (entity.Id == this.PriznakId); }
/// <summary> /// Deprecated Method for adding a new object to the Cis_KlinickePriznaky EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCis_KlinickePriznaky(Cis_KlinickePriznaky cis_KlinickePriznaky) { base.AddObject("Cis_KlinickePriznaky", cis_KlinickePriznaky); }
private void FixupCis_KlinickePriznaky(Cis_KlinickePriznaky previousValue) { if (previousValue != null && previousValue.Ochorenia.Contains(this)) { previousValue.Ochorenia.Remove(this); } if (Cis_KlinickePriznaky != null) { if (!Cis_KlinickePriznaky.Ochorenia.Contains(this)) { Cis_KlinickePriznaky.Ochorenia.Add(this); } if (PriznakId != Cis_KlinickePriznaky.Id) { PriznakId = Cis_KlinickePriznaky.Id; } } else if (!_settingFK) { PriznakId = null; } }
/// <summary> /// Create a new Cis_KlinickePriznaky object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nazov">Initial value of the Nazov property.</param> public static Cis_KlinickePriznaky CreateCis_KlinickePriznaky(global::System.Int32 id, global::System.String nazov) { Cis_KlinickePriznaky cis_KlinickePriznaky = new Cis_KlinickePriznaky(); cis_KlinickePriznaky.Id = id; cis_KlinickePriznaky.Nazov = nazov; return cis_KlinickePriznaky; }