Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ResourceProperties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResourceProperties(ResourceProperty resourceProperty)
 {
     base.AddObject("ResourceProperties", resourceProperty);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new ResourceProperty object.
 /// </summary>
 /// <param name="propertyID">Initial value of the PropertyID property.</param>
 /// <param name="resourceID">Initial value of the ResourceID property.</param>
 public static ResourceProperty CreateResourceProperty(global::System.Int32 propertyID, global::System.Int32 resourceID)
 {
     ResourceProperty resourceProperty = new ResourceProperty();
     resourceProperty.PropertyID = propertyID;
     resourceProperty.ResourceID = resourceID;
     return resourceProperty;
 }
Esempio n. 3
0
 private bool FilterResourceProperties(ResourceProperty entity)
 {
     return (entity.ResourceID == this.ResourceLotID);
 }
Esempio n. 4
0
 private void DetachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceLot = null;
 }
Esempio n. 5
0
 private void AttachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceLot = this;
 }
Esempio n. 6
0
 private void DetachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceDefinition = null;
 }
Esempio n. 7
0
 private void AttachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceDefinition = this;
 }