/// <summary> /// Deprecated Method for adding a new object to the ResourceTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResourceTypes(ResourceType resourceType) { base.AddObject("ResourceTypes", resourceType); }
/// <summary> /// Create a new ResourceType object. /// </summary> /// <param name="resourceTypeID">Initial value of the ResourceTypeID property.</param> public static ResourceType CreateResourceType(global::System.Int32 resourceTypeID) { ResourceType resourceType = new ResourceType(); resourceType.ResourceTypeID = resourceTypeID; return resourceType; }