/// <summary> /// Deprecated Method for adding a new object to the OnlineProductSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOnlineProductSet(OnlineProduct onlineProduct) { base.AddObject("OnlineProductSet", onlineProduct); }
/// <summary> /// Create a new OnlineProduct object. /// </summary> /// <param name="uRL">Initial value of the URL property.</param> /// <param name="active">Initial value of the Active property.</param> public static OnlineProduct CreateOnlineProduct(global::System.String uRL, global::System.Boolean active) { OnlineProduct onlineProduct = new OnlineProduct(); onlineProduct.URL = uRL; onlineProduct.Active = active; return onlineProduct; }