/// <summary> /// Deprecated Method for adding a new object to the OrganizationLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrganizationLocations(OrganizationLocation organizationLocation) { base.AddObject("OrganizationLocations", organizationLocation); }
/// <summary> /// Create a new OrganizationLocation object. /// </summary> /// <param name="organizationLocationID">Initial value of the OrganizationLocationID property.</param> public static OrganizationLocation CreateOrganizationLocation(global::System.Int32 organizationLocationID) { OrganizationLocation organizationLocation = new OrganizationLocation(); organizationLocation.OrganizationLocationID = organizationLocationID; return organizationLocation; }