コード例 #1
0
 /// <summary>
 /// 建立新 tblPasswordEveryDayDifference 物件。
 /// </summary>
 /// <param name="controlID">ControlID 屬性的初始值。</param>
 /// <param name="timestamp">Timestamp 屬性的初始值。</param>
 /// <param name="doorPassword">DoorPassword 屬性的初始值。</param>
 public static tblPasswordEveryDayDifference CreatetblPasswordEveryDayDifference(global::System.String controlID, global::System.DateTime timestamp, global::System.String doorPassword)
 {
     tblPasswordEveryDayDifference tblPasswordEveryDayDifference = new tblPasswordEveryDayDifference();
     tblPasswordEveryDayDifference.ControlID = controlID;
     tblPasswordEveryDayDifference.Timestamp = timestamp;
     tblPasswordEveryDayDifference.DoorPassword = doorPassword;
     return tblPasswordEveryDayDifference;
 }
コード例 #2
0
 /// <summary>
 /// 將新物件加入 tblPasswordEveryDayDifference EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblPasswordEveryDayDifference(tblPasswordEveryDayDifference tblPasswordEveryDayDifference)
 {
     base.AddObject("tblPasswordEveryDayDifference", tblPasswordEveryDayDifference);
 }