示例#1
0
 /// <summary>
 /// Create a new Channel object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="slug">Initial value of the Slug property.</param>
 public static Channel CreateChannel(global::System.Int32 id, global::System.String name, global::System.String slug)
 {
     Channel channel = new Channel();
     channel.ID = id;
     channel.Name = name;
     channel.Slug = slug;
     return channel;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Channels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChannels(Channel channel)
 {
     base.AddObject("Channels", channel);
 }