to Geo Location Entity
Converts the GeoLocation into the GeoLocationEntity with an association to an administrative unit name.
This function creates a new GeoLocationEntity with the provided GeoLocation data and sets the administrativeUnitNameGeoLocationsID as a foreign key value. This likely associates the GeoLocationEntity with a specific administrative unit name record in the database.
Return
the converted GeoLocationEntity object.
Parameters
the ID of the administrative unit name to associate with this GeoLocationEntity.
Converts the GeoLocation into the GeoLocationEntity, optionally associating it with an image.
This function creates a new GeoLocationEntity with the provided GeoLocation data. The geoLocationsID
parameter is optional and can be used to set a foreign key value. This would associate the GeoLocationEntity with a specific image record in the database (if provided).
Return
the converted GeoLocationEntity object.
Parameters
(optional) the ID of the image to associate with this GeoLocationEntity.
Converts the GeoLocation into the GeoLocationEntity, optionally associating it with an image, and using a provided ID.
This function creates a new GeoLocationEntity with the provided GeoLocation data and sets the id
field. The id
parameter is typically used when updating existing records in the database and should be set to the ID retrieved from the database query.
The geoLocationsID
parameter (optional) can be used to set a foreign key value. This would associate the GeoLocationEntity with a specific image record in the database (if provided).
Return
the converted GeoLocationEntity object.
Parameters
the ID to be used in the GeoLocationEntity, typically for updates based on database retrievals.
(optional) the ID of the image to associate with this GeoLocationEntity.