/// <summary> /// Create a new inventory_activity 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_activity Createinventory_activity(global::System.Int32 id, global::System.String name) { inventory_activity inventory_activity = new inventory_activity(); inventory_activity.id = id; inventory_activity.name = name; return inventory_activity; }
/// <summary> /// Deprecated Method for adding a new object to the inventory_activity EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinventory_activity(inventory_activity inventory_activity) { base.AddObject("inventory_activity", inventory_activity); }