/// <summary> /// Create a new CarrierLocation object. /// </summary> /// <param name="carrierLocationID">Initial value of the CarrierLocationID property.</param> /// <param name="carrierID">Initial value of the CarrierID property.</param> public static CarrierLocation CreateCarrierLocation(global::System.Int32 carrierLocationID, global::System.Int32 carrierID) { CarrierLocation carrierLocation = new CarrierLocation(); carrierLocation.CarrierLocationID = carrierLocationID; carrierLocation.CarrierID = carrierID; return carrierLocation; }
/// <summary> /// Deprecated Method for adding a new object to the CarrierLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarrierLocations(CarrierLocation carrierLocation) { base.AddObject("CarrierLocations", carrierLocation); }