Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MaterialLots EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaterialLots(MaterialLot materialLot)
 {
     base.AddObject("MaterialLots", materialLot);
 }
Ejemplo n.º 2
0
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialLotStatusID == this.LotStatusID);
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = null;
 }
Ejemplo n.º 5
0
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = this;
 }
Ejemplo n.º 6
0
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialDefinitionID == this.MaterialDefinitionID);
 }
Ejemplo n.º 7
0
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = null;
 }
Ejemplo n.º 8
0
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = this;
 }