Esempio n. 1
0
 /// <summary>
 /// 创建新的 Work_Schedule 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="itemName">ItemName 属性的初始值。</param>
 /// <param name="itemLaunchTime">ItemLaunchTime 属性的初始值。</param>
 /// <param name="itemIntro">ItemIntro 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 public static Work_Schedule CreateWork_Schedule(global::System.Int32 id, global::System.String itemName, global::System.DateTime itemLaunchTime, global::System.String itemIntro, global::System.DateTime addTime, global::System.Boolean isDelete)
 {
     Work_Schedule work_Schedule = new Work_Schedule();
     work_Schedule.ID = id;
     work_Schedule.ItemName = itemName;
     work_Schedule.ItemLaunchTime = itemLaunchTime;
     work_Schedule.ItemIntro = itemIntro;
     work_Schedule.AddTime = addTime;
     work_Schedule.IsDelete = isDelete;
     return work_Schedule;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 Work_Schedule EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToWork_Schedule(Work_Schedule work_Schedule)
 {
     base.AddObject("Work_Schedule", work_Schedule);
 }