/// <summary>
 /// Create a new ResourceType object.
 /// </summary>
 /// <param name="resourceTypeID">Initial value of the ResourceTypeID property.</param>
 /// <param name="isFixed">Initial value of the IsFixed property.</param>
 /// <param name="isService">Initial value of the IsService property.</param>
 /// <param name="isDeplete">Initial value of the IsDeplete property.</param>
 /// <param name="hasSerialNumber">Initial value of the HasSerialNumber property.</param>
 public static ResourceType CreateResourceType(global::System.Int32 resourceTypeID, global::System.Boolean isFixed, global::System.Boolean isService, global::System.Boolean isDeplete, global::System.Boolean hasSerialNumber)
 {
     ResourceType resourceType = new ResourceType();
     resourceType.ResourceTypeID = resourceTypeID;
     resourceType.IsFixed = isFixed;
     resourceType.IsService = isService;
     resourceType.IsDeplete = isDeplete;
     resourceType.HasSerialNumber = hasSerialNumber;
     return resourceType;
 }
 /// <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 resourceType)
 {
     base.AddObject("ResourceTypes", resourceType);
 }