/// <summary> /// 创建新的 Admin_ChannelInfo 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="channelName">ChannelName 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="isDelete">IsDelete 属性的初始值。</param> public static Admin_ChannelInfo CreateAdmin_ChannelInfo(global::System.Int32 id, global::System.String channelName, global::System.DateTime addTime, global::System.Boolean isDelete) { Admin_ChannelInfo admin_ChannelInfo = new Admin_ChannelInfo(); admin_ChannelInfo.ID = id; admin_ChannelInfo.ChannelName = channelName; admin_ChannelInfo.AddTime = addTime; admin_ChannelInfo.IsDelete = isDelete; return admin_ChannelInfo; }
/// <summary> /// 用于向 Admin_ChannelInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToAdmin_ChannelInfo(Admin_ChannelInfo admin_ChannelInfo) { base.AddObject("Admin_ChannelInfo", admin_ChannelInfo); }