Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #3
0
 private bool FilterResourceLots(ResourceLot entity)
 {
     return (entity.ResourceLotStatusID == this.ResourceLotStatusID);
 }
Beispiel #4
0
 private bool FilterResourceLot(ResourceLot entity)
 {
     return (entity.ResourceLotID == this.ResourceID);
 }
Beispiel #5
0
 private void DetachResourceLots(ResourceLot entity)
 {
     entity.ResourceLotStatu = null;
 }
Beispiel #6
0
 private void AttachResourceLots(ResourceLot entity)
 {
     entity.ResourceLotStatu = this;
 }
Beispiel #7
0
 private bool FilterResourceLots(ResourceLot entity)
 {
     return (entity.ResourceDefinitionID == this.ResourceDefinitionID);
 }
Beispiel #8
0
 private void DetachResourceLots(ResourceLot entity)
 {
     entity.ResourceDefinition = null;
 }
Beispiel #9
0
 private void AttachResourceLots(ResourceLot entity)
 {
     entity.ResourceDefinition = this;
 }