/// <summary> /// Create a new Shipper object. /// </summary> /// <param name="shipperID">Initial value of the ShipperID property.</param> /// <param name="companyName">Initial value of the CompanyName property.</param> public static Shipper CreateShipper(global::System.Int32 shipperID, global::System.String companyName) { Shipper shipper = new Shipper(); shipper.ShipperID = shipperID; shipper.CompanyName = companyName; return shipper; }
/// <summary> /// Deprecated Method for adding a new object to the Shippers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShippers(Shipper shipper) { base.AddObject("Shippers", shipper); }