예제 #1
0
        /// <summary>
        /// 建立新 tbMemberAndCard 物件。
        /// </summary>
        /// <param name="id">id 屬性的初始值。</param>
        public static tbMemberAndCard CreatetbMemberAndCard(global::System.Int32 id)
        {
            tbMemberAndCard tbMemberAndCard = new tbMemberAndCard();

            tbMemberAndCard.id = id;
            return(tbMemberAndCard);
        }
예제 #2
0
 /// <summary>
 /// 將新物件加入 tbMemberAndCards EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotbMemberAndCards(tbMemberAndCard tbMemberAndCard)
 {
     base.AddObject("tbMemberAndCards", tbMemberAndCard);
 }