/// <summary> /// Deprecated Method for adding a new object to the MaterialLots EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMaterialLots(MaterialLot materialLot) { base.AddObject("MaterialLots", materialLot); }
private bool FilterMaterialLots(MaterialLot entity) { return (entity.MaterialLotStatusID == this.LotStatusID); }
/// <summary> /// Create a new MaterialLot object. /// </summary> /// <param name="materialLotID">Initial value of the MaterialLotID property.</param> /// <param name="lotID">Initial value of the LotID property.</param> /// <param name="materialDefinitionID">Initial value of the MaterialDefinitionID property.</param> /// <param name="materialLotStatusID">Initial value of the MaterialLotStatusID property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> public static MaterialLot CreateMaterialLot(global::System.Int32 materialLotID, global::System.String lotID, global::System.Int32 materialDefinitionID, global::System.Int32 materialLotStatusID, global::System.Decimal quantity, global::System.DateTime creationDate) { MaterialLot materialLot = new MaterialLot(); materialLot.MaterialLotID = materialLotID; materialLot.LotID = lotID; materialLot.MaterialDefinitionID = materialDefinitionID; materialLot.MaterialLotStatusID = materialLotStatusID; materialLot.Quantity = quantity; materialLot.CreationDate = creationDate; return materialLot; }
private void DetachMaterialLots(MaterialLot entity) { entity.MaterialLotStatus = null; }
private void AttachMaterialLots(MaterialLot entity) { entity.MaterialLotStatus = this; }
private bool FilterMaterialLots(MaterialLot entity) { return (entity.MaterialDefinitionID == this.MaterialDefinitionID); }
private void DetachMaterialLots(MaterialLot entity) { entity.MaterialDefinition = null; }
private void AttachMaterialLots(MaterialLot entity) { entity.MaterialDefinition = this; }