Пример #1
0
 /// <summary>
 /// 用于向 TAOKECHANNEL EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTAOKECHANNEL(TAOKECHANNEL tAOKECHANNEL)
 {
     base.AddObject("TAOKECHANNEL", tAOKECHANNEL);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 TAOKECHANNEL 对象。
 /// </summary>
 /// <param name="channelID">ChannelID 属性的初始值。</param>
 /// <param name="channelName">ChannelName 属性的初始值。</param>
 /// <param name="channelSort">ChannelSort 属性的初始值。</param>
 /// <param name="channelStatus">ChannelStatus 属性的初始值。</param>
 public static TAOKECHANNEL CreateTAOKECHANNEL(global::System.Int32 channelID, global::System.String channelName, global::System.Int32 channelSort, global::System.String channelStatus)
 {
     TAOKECHANNEL tAOKECHANNEL = new TAOKECHANNEL();
     tAOKECHANNEL.ChannelID = channelID;
     tAOKECHANNEL.ChannelName = channelName;
     tAOKECHANNEL.ChannelSort = channelSort;
     tAOKECHANNEL.ChannelStatus = channelStatus;
     return tAOKECHANNEL;
 }