/// <summary> /// Deprecated Method for adding a new object to the inventory_collection EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinventory_collection(inventory_collection inventory_collection) { base.AddObject("inventory_collection", inventory_collection); }
/// <summary> /// Create a new inventory_collection object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="name_kh">Initial value of the name_kh property.</param> /// <param name="collection_type_id">Initial value of the collection_type_id property.</param> public static inventory_collection Createinventory_collection(global::System.Int32 id, global::System.String name, global::System.String name_kh, global::System.Int32 collection_type_id) { inventory_collection inventory_collection = new inventory_collection(); inventory_collection.id = id; inventory_collection.name = name; inventory_collection.name_kh = name_kh; inventory_collection.collection_type_id = collection_type_id; return inventory_collection; }