/// <summary>
 /// Deprecated Method for adding a new object to the Resources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResources(Resource resource)
 {
     base.AddObject("Resources", resource);
 }
 /// <summary>
 /// Create a new Resource object.
 /// </summary>
 /// <param name="resourceId">Initial value of the ResourceId property.</param>
 /// <param name="resourceTypeID">Initial value of the ResourceTypeID property.</param>
 public static Resource CreateResource(global::System.Int32 resourceId, global::System.Int32 resourceTypeID)
 {
     Resource resource = new Resource();
     resource.ResourceId = resourceId;
     resource.ResourceTypeID = resourceTypeID;
     return resource;
 }