예제 #1
0
 /// <summary>
 /// Create a new DistributionChannel object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static DistributionChannel CreateDistributionChannel(global::System.Guid id, global::System.String name, global::System.String code, global::System.Boolean deleted)
 {
     DistributionChannel distributionChannel = new DistributionChannel();
     distributionChannel.ID = id;
     distributionChannel.Name = name;
     distributionChannel.Code = code;
     distributionChannel.Deleted = deleted;
     return distributionChannel;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DistributionChannel EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDistributionChannel(DistributionChannel distributionChannel)
 {
     base.AddObject("DistributionChannel", distributionChannel);
 }