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