/// <summary> /// Create a new RptInventory object. /// </summary> /// <param name="rIID">Initial value of the RIID property.</param> /// <param name="resourceID">Initial value of the ResourceID property.</param> /// <param name="inventoryDate">Initial value of the InventoryDate property.</param> /// <param name="inventoryCount">Initial value of the InventoryCount property.</param> /// <param name="inventoryMode">Initial value of the InventoryMode property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="updateTime">Initial value of the UpdateTime property.</param> public static RptInventory CreateRptInventory(global::System.Int32 rIID, global::System.Int32 resourceID, global::System.DateTime inventoryDate, global::System.Int32 inventoryCount, global::System.String inventoryMode, global::System.DateTime createTime, global::System.DateTime updateTime) { RptInventory rptInventory = new RptInventory(); rptInventory.RIID = rIID; rptInventory.ResourceID = resourceID; rptInventory.InventoryDate = inventoryDate; rptInventory.InventoryCount = inventoryCount; rptInventory.InventoryMode = inventoryMode; rptInventory.CreateTime = createTime; rptInventory.UpdateTime = updateTime; return rptInventory; }
/// <summary> /// Deprecated Method for adding a new object to the RptInventory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRptInventory(RptInventory rptInventory) { base.AddObject("RptInventory", rptInventory); }