/// <summary> /// Deprecated Method for adding a new object to the PolyCons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolyCons(PolyCon polyCon) { base.AddObject("PolyCons", polyCon); }
/// <summary> /// Create a new PolyCon object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="availableToList">Initial value of the AvailableToList property.</param> public static PolyCon CreatePolyCon(global::System.Int32 id, global::System.Boolean availableToList) { PolyCon polyCon = new PolyCon(); polyCon.Id = id; polyCon.AvailableToList = availableToList; return polyCon; }