/// <summary> /// Create a new ResourceGroup object. /// </summary> /// <param name="resourceGroupID">Initial value of the ResourceGroupID property.</param> /// <param name="name">Initial value of the Name property.</param> public static ResourceGroup CreateResourceGroup(global::System.Int32 resourceGroupID, global::System.String name) { ResourceGroup resourceGroup = new ResourceGroup(); resourceGroup.ResourceGroupID = resourceGroupID; resourceGroup.Name = name; return resourceGroup; }
/// <summary> /// Deprecated Method for adding a new object to the ResourceGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToResourceGroups(ResourceGroup resourceGroup) { base.AddObject("ResourceGroups", resourceGroup); }