Testing.ShipMethod.CreateShipMethod C# (CSharp) Méthode

CreateShipMethod() public static méthode

Create a new ShipMethod object.
public static CreateShipMethod ( global shipMethodID, global name, global shipBase, global shipRate, global rowguid, global modifiedDate ) : ShipMethod
shipMethodID global Initial value of the ShipMethodID property.
name global Initial value of the Name property.
shipBase global Initial value of the ShipBase property.
shipRate global Initial value of the ShipRate property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
Résultat ShipMethod
        public static ShipMethod CreateShipMethod(global::System.Int32 shipMethodID, global::System.String name, global::System.Decimal shipBase, global::System.Decimal shipRate, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            ShipMethod shipMethod = new ShipMethod();
            shipMethod.ShipMethodID = shipMethodID;
            shipMethod.Name = name;
            shipMethod.ShipBase = shipBase;
            shipMethod.ShipRate = shipRate;
            shipMethod.rowguid = rowguid;
            shipMethod.ModifiedDate = modifiedDate;
            return shipMethod;
        }