/// <summary> /// 建立新 tblCustomer 物件。 /// </summary> /// <param name="cUSTOMER_ID">CUSTOMER_ID 屬性的初始值。</param> public static tblCustomer CreatetblCustomer(global::System.Int32 cUSTOMER_ID) { tblCustomer tblCustomer = new tblCustomer(); tblCustomer.CUSTOMER_ID = cUSTOMER_ID; return tblCustomer; }
/// <summary> /// 將新物件加入 tblCustomer EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTotblCustomer(tblCustomer tblCustomer) { base.AddObject("tblCustomer", tblCustomer); }