Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InventoryTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInventoryTypes(InventoryType inventoryType)
 {
     base.AddObject("InventoryTypes", inventoryType);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new InventoryType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static InventoryType CreateInventoryType(global::System.Int32 id, global::System.String type)
 {
     InventoryType inventoryType = new InventoryType();
     inventoryType.ID = id;
     inventoryType.Type = type;
     return inventoryType;
 }