/// <summary> /// Create a new MaterialLotStatus object. /// </summary> /// <param name="lotStatusID">Initial value of the LotStatusID property.</param> /// <param name="lotStatus">Initial value of the LotStatus property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> public static MaterialLotStatus CreateMaterialLotStatus(global::System.Int32 lotStatusID, global::System.String lotStatus, global::System.String description, global::System.Int32 sortOrder) { MaterialLotStatus materialLotStatus = new MaterialLotStatus(); materialLotStatus.LotStatusID = lotStatusID; materialLotStatus.LotStatus = lotStatus; materialLotStatus.Description = description; materialLotStatus.SortOrder = sortOrder; return materialLotStatus; }
/// <summary> /// Deprecated Method for adding a new object to the MaterialLotStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMaterialLotStatuses(MaterialLotStatus materialLotStatus) { base.AddObject("MaterialLotStatuses", materialLotStatus); }
private bool FilterMaterialLotStatus(MaterialLotStatus entity) { return (entity.LotStatusID == this.MaterialLotStatusID); }