/// <summary> /// Create a new OrderChannel object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> public static OrderChannel CreateOrderChannel(global::System.Int32 id, global::System.String name) { OrderChannel orderChannel = new OrderChannel(); orderChannel.ID = id; orderChannel.Name = name; return(orderChannel); }
/// <summary> /// Create a new OrderChannel object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> public static OrderChannel CreateOrderChannel(global::System.Int32 id, global::System.String name) { OrderChannel orderChannel = new OrderChannel(); orderChannel.ID = id; orderChannel.Name = name; return orderChannel; }
/// <summary> /// Deprecated Method for adding a new object to the OrderChannels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderChannels(OrderChannel orderChannel) { base.AddObject("OrderChannels", orderChannel); }