Exemplo 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);
 }
Exemplo 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;
 }
Exemplo n.º 3
0
 private bool FilterResourceProperties(ResourceProperty entity)
 {
     return (entity.ResourceID == this.ResourceLotID);
 }
Exemplo n.º 4
0
 private void DetachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceLot = null;
 }
Exemplo n.º 5
0
 private void AttachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceLot = this;
 }
Exemplo n.º 6
0
 private void DetachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceDefinition = null;
 }
Exemplo n.º 7
0
 private void AttachResourceProperties(ResourceProperty entity)
 {
     entity.ResourceDefinition = this;
 }