/// <summary> /// Deprecated Method for adding a new object to the Trade_Reference EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrade_Reference(Trade_Reference trade_Reference) { base.AddObject("Trade_Reference", trade_Reference); }
/// <summary> /// Create a new Trade_Reference object. /// </summary> /// <param name="trade_ref_id">Initial value of the trade_ref_id property.</param> /// <param name="trade_ref_description_1">Initial value of the trade_ref_description_1 property.</param> /// <param name="phone_1">Initial value of the phone_1 property.</param> /// <param name="existing_fuel_supplier">Initial value of the existing_fuel_supplier property.</param> /// <param name="fuel_supplier_phone">Initial value of the fuel_supplier_phone property.</param> /// <param name="app_id">Initial value of the app_id property.</param> /// <param name="trade_ref_description_2">Initial value of the trade_ref_description_2 property.</param> /// <param name="phone_2">Initial value of the phone_2 property.</param> public static Trade_Reference CreateTrade_Reference(global::System.Int32 trade_ref_id, global::System.String trade_ref_description_1, global::System.String phone_1, global::System.String existing_fuel_supplier, global::System.String fuel_supplier_phone, global::System.Int32 app_id, global::System.String trade_ref_description_2, global::System.String phone_2) { Trade_Reference trade_Reference = new Trade_Reference(); trade_Reference.trade_ref_id = trade_ref_id; trade_Reference.trade_ref_description_1 = trade_ref_description_1; trade_Reference.phone_1 = phone_1; trade_Reference.existing_fuel_supplier = existing_fuel_supplier; trade_Reference.fuel_supplier_phone = fuel_supplier_phone; trade_Reference.app_id = app_id; trade_Reference.trade_ref_description_2 = trade_ref_description_2; trade_Reference.phone_2 = phone_2; return trade_Reference; }