示例#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);
 }
示例#2
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialLotStatusID == this.LotStatusID);
 }
示例#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;
 }
示例#4
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = null;
 }
示例#5
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialLotStatus = this;
 }
示例#6
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private bool FilterMaterialLots(MaterialLot entity)
 {
     return (entity.MaterialDefinitionID == this.MaterialDefinitionID);
 }
示例#7
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private void DetachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = null;
 }
示例#8
0
文件: T2T.Web.g.cs 项目: mikestam/t2t
 private void AttachMaterialLots(MaterialLot entity)
 {
     entity.MaterialDefinition = this;
 }