Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ResourceLots EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResourceLots(ResourceLot resourceLot)
 {
     base.AddObject("ResourceLots", resourceLot);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new ResourceLot object.
 /// </summary>
 /// <param name="resourceLotID">Initial value of the ResourceLotID property.</param>
 public static ResourceLot CreateResourceLot(global::System.Int32 resourceLotID)
 {
     ResourceLot resourceLot = new ResourceLot();
     resourceLot.ResourceLotID = resourceLotID;
     return resourceLot;
 }
Esempio n. 3
0
 private bool FilterResourceLots(ResourceLot entity)
 {
     return (entity.ResourceLotStatusID == this.ResourceLotStatusID);
 }
Esempio n. 4
0
 private bool FilterResourceLot(ResourceLot entity)
 {
     return (entity.ResourceLotID == this.ResourceID);
 }
Esempio n. 5
0
 private void DetachResourceLots(ResourceLot entity)
 {
     entity.ResourceLotStatu = null;
 }
Esempio n. 6
0
 private void AttachResourceLots(ResourceLot entity)
 {
     entity.ResourceLotStatu = this;
 }
Esempio n. 7
0
 private bool FilterResourceLots(ResourceLot entity)
 {
     return (entity.ResourceDefinitionID == this.ResourceDefinitionID);
 }
Esempio n. 8
0
 private void DetachResourceLots(ResourceLot entity)
 {
     entity.ResourceDefinition = null;
 }
Esempio n. 9
0
 private void AttachResourceLots(ResourceLot entity)
 {
     entity.ResourceDefinition = this;
 }