コード例 #1
0
 /// <summary>
 /// 建立新 vwR23ADAMReaderAlarm 物件。
 /// </summary>
 /// <param name="timeStamp">TimeStamp 屬性的初始值。</param>
 /// <param name="planeName">PlaneName 屬性的初始值。</param>
 /// <param name="planeID">PlaneID 屬性的初始值。</param>
 public static vwR23ADAMReaderAlarm CreatevwR23ADAMReaderAlarm(global::System.DateTime timeStamp, global::System.String planeName, global::System.Int32 planeID)
 {
     vwR23ADAMReaderAlarm vwR23ADAMReaderAlarm = new vwR23ADAMReaderAlarm();
     vwR23ADAMReaderAlarm.TimeStamp = timeStamp;
     vwR23ADAMReaderAlarm.PlaneName = planeName;
     vwR23ADAMReaderAlarm.PlaneID = planeID;
     return vwR23ADAMReaderAlarm;
 }
コード例 #2
0
 /// <summary>
 /// 將新物件加入 vwR23ADAMReaderAlarm EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTovwR23ADAMReaderAlarm(vwR23ADAMReaderAlarm vwR23ADAMReaderAlarm)
 {
     base.AddObject("vwR23ADAMReaderAlarm", vwR23ADAMReaderAlarm);
 }