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