Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the inventory_collection_type EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToinventory_collection_type(inventory_collection_type inventory_collection_type)
 {
     base.AddObject("inventory_collection_type", inventory_collection_type);
 }
Example #2
0
 /// <summary>
 /// Create a new inventory_collection_type object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static inventory_collection_type Createinventory_collection_type(global::System.Int32 id, global::System.String name)
 {
     inventory_collection_type inventory_collection_type = new inventory_collection_type();
     inventory_collection_type.id = id;
     inventory_collection_type.name = name;
     return inventory_collection_type;
 }