/// <summary>
 /// Create a new ResourcePool object.
 /// </summary>
 /// <param name="resourcePoolID">Initial value of the ResourcePoolID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="resourceTypeID">Initial value of the ResourceTypeID property.</param>
 /// <param name="checkInventory">Initial value of the CheckInventory property.</param>
 public static ResourcePool CreateResourcePool(global::System.Int32 resourcePoolID, global::System.String name, global::System.Int32 resourceTypeID, global::System.Boolean checkInventory)
 {
     ResourcePool resourcePool = new ResourcePool();
     resourcePool.ResourcePoolID = resourcePoolID;
     resourcePool.Name = name;
     resourcePool.ResourceTypeID = resourceTypeID;
     resourcePool.CheckInventory = checkInventory;
     return resourcePool;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ResourcePools EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResourcePools(ResourcePool resourcePool)
 {
     base.AddObject("ResourcePools", resourcePool);
 }