Inheritance: System.Data.Objects.DataClasses.EntityObject
Example #1
0
        /// <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;
 }
Example #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderChannels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderChannels(OrderChannel orderChannel)
 {
     base.AddObject("OrderChannels", orderChannel);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderChannels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderChannels(OrderChannel orderChannel)
 {
     base.AddObject("OrderChannels", orderChannel);
 }