Ejemplo n.º 1
0
 /// <summary>
 /// 將新物件加入 tblSectionLedPlan EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblSectionLedPlan(tblSectionLedPlan tblSectionLedPlan)
 {
     base.AddObject("tblSectionLedPlan", tblSectionLedPlan);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 建立新 tblSectionLedPlan 物件。
 /// </summary>
 /// <param name="projectID">ProjectID 屬性的初始值。</param>
 /// <param name="groupID">GroupID 屬性的初始值。</param>
 /// <param name="sectionID">SectionID 屬性的初始值。</param>
 /// <param name="planID">PlanID 屬性的初始值。</param>
 /// <param name="beginTime">BeginTime 屬性的初始值。</param>
 /// <param name="w">W 屬性的初始值。</param>
 /// <param name="r">R 屬性的初始值。</param>
 /// <param name="g">G 屬性的初始值。</param>
 /// <param name="b">B 屬性的初始值。</param>
 public static tblSectionLedPlan CreatetblSectionLedPlan(global::System.Int32 projectID, global::System.Int32 groupID, global::System.Int32 sectionID, global::System.Int32 planID, global::System.DateTime beginTime, global::System.Int32 w, global::System.Int32 r, global::System.Int32 g, global::System.Int32 b)
 {
     tblSectionLedPlan tblSectionLedPlan = new tblSectionLedPlan();
     tblSectionLedPlan.ProjectID = projectID;
     tblSectionLedPlan.GroupID = groupID;
     tblSectionLedPlan.SectionID = sectionID;
     tblSectionLedPlan.PlanID = planID;
     tblSectionLedPlan.BeginTime = beginTime;
     tblSectionLedPlan.W = w;
     tblSectionLedPlan.R = r;
     tblSectionLedPlan.G = g;
     tblSectionLedPlan.B = b;
     return tblSectionLedPlan;
 }