Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShipMethods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShipMethods(ShipMethod shipMethod)
 {
     base.AddObject("ShipMethods", shipMethod);
 }
Пример #2
0
 /// <summary>
 /// Create a new ShipMethod object.
 /// </summary>
 /// <param name="setid">Initial value of the Setid property.</param>
 /// <param name="shipMethodCD">Initial value of the ShipMethodCD property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="descrShort">Initial value of the DescrShort property.</param>
 /// <param name="shipOutFlag">Initial value of the ShipOutFlag property.</param>
 public static ShipMethod CreateShipMethod(global::System.String setid, global::System.String shipMethodCD, global::System.String description, global::System.String descrShort, global::System.String shipOutFlag)
 {
     ShipMethod shipMethod = new ShipMethod();
     shipMethod.Setid = setid;
     shipMethod.ShipMethodCD = shipMethodCD;
     shipMethod.Description = description;
     shipMethod.DescrShort = descrShort;
     shipMethod.ShipOutFlag = shipOutFlag;
     return shipMethod;
 }