/// <summary>
 /// Deprecated Method for adding a new object to the ResourceTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToResourceTypes(ResourceType resourceTypes)
 {
     base.AddObject("ResourceTypes", resourceTypes);
 }
 /// <summary>
 /// Create a new ResourceTypes object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static ResourceType CreateResourceTypes(global::System.Int32 id, global::System.String name)
 {
     ResourceType resourceTypes = new ResourceType();
     resourceTypes.Id = id;
     resourceTypes.Name = name;
     return resourceTypes;
 }
 private bool FilterResourceTypes(ResourceType entity)
 {
     return (entity.Id == this.ResourceTypeId);
 }