/// <summary> /// 建立新 Target 物件。 /// </summary> /// <param name="target_id">target_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 Target CreateTarget(global::System.Int32 target_id, global::System.Int32 country_id, global::System.Int32 product_type_id, global::System.Int32 technology_id) { Target target = new Target(); target.target_id = target_id; target.country_id = country_id; target.product_type_id = product_type_id; target.technology_id = technology_id; return target; }
/// <summary> /// 將新物件加入 Target EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddToTarget(Target target) { base.AddObject("Target", target); }