示例#1
0
 /// <summary>
 /// 將新物件加入 tblMagneticCard EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblMagneticCard(tblMagneticCard tblMagneticCard)
 {
     base.AddObject("tblMagneticCard", tblMagneticCard);
 }
示例#2
0
 /// <summary>
 /// 建立新 tblMagneticCard 物件。
 /// </summary>
 /// <param name="magneticID">MagneticID 屬性的初始值。</param>
 /// <param name="aBA">ABA 屬性的初始值。</param>
 /// <param name="endDate">EndDate 屬性的初始值。</param>
 /// <param name="roleID">RoleID 屬性的初始值。</param>
 /// <param name="timestamp">Timestamp 屬性的初始值。</param>
 public static tblMagneticCard CreatetblMagneticCard(global::System.Int32 magneticID, global::System.String aBA, global::System.DateTime endDate, global::System.Int32 roleID, global::System.DateTime timestamp)
 {
     tblMagneticCard tblMagneticCard = new tblMagneticCard();
     tblMagneticCard.MagneticID = magneticID;
     tblMagneticCard.ABA = aBA;
     tblMagneticCard.EndDate = endDate;
     tblMagneticCard.RoleID = roleID;
     tblMagneticCard.Timestamp = timestamp;
     return tblMagneticCard;
 }