/// <summary> /// Deprecated Method for adding a new object to the tblContainment EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblContainment(tblContainment tblContainment) { base.AddObject("tblContainment", tblContainment); }
/// <summary> /// Create a new tblContainment object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="returnableProduct">Initial value of the ReturnableProduct property.</param> /// <param name="productPackagingType">Initial value of the ProductPackagingType property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static tblContainment CreatetblContainment(global::System.Guid id, global::System.Int32 quantity, global::System.Guid returnableProduct, global::System.Guid productPackagingType, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblContainment tblContainment = new tblContainment(); tblContainment.id = id; tblContainment.Quantity = quantity; tblContainment.ReturnableProduct = returnableProduct; tblContainment.ProductPackagingType = productPackagingType; tblContainment.IM_DateCreated = iM_DateCreated; tblContainment.IM_DateLastUpdated = iM_DateLastUpdated; tblContainment.IM_Status = iM_Status; return tblContainment; }