Exemple #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);
 }
Exemple #2
0
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialLotStatusID == this.LotStatusID);
 }
Exemple #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;
 }
Exemple #4
0
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = null;
 }
Exemple #5
0
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = this;
 }
Exemple #6
0
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialDefinitionID == this.MaterialDefinitionID);
 }
Exemple #7
0
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = null;
 }
Exemple #8
0
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = this;
 }