DatabaseQueryDataSourceBuilder.AsTrackableForChanges
DatabaseQueryDataSourceBuilder.AsTrackableForChanges method
Configure the resulting layer to track changes and create a data source to synchronize the changes made.
public DatabaseEditableDataSourceBuilder AsTrackableForChanges(string tableName,
string identityAttribute, bool overwriteSameKey = false, string dbFunc = "ST_GeomFromWKB")
Parameter | Type | Description |
---|---|---|
tableName | String | The name of the table where the changes will be made. |
identityAttribute | String | An attribute of a feature that will be treated as uniquely identifying the feature. |
overwriteSameKey | Boolean | If this flag is set to true, then newly added features with a unique identifier the same that is already present in the layer, the current one will be overwritten, and the data will be read as updated if differences are found. |
dbFunc | String | Function that will be supplied in SQL query to transform binary data into geographic data representation of the current database. |
Return Value
DatabaseEditableDataSourceBuilder
See Also
- class DatabaseEditableDataSourceBuilder
- class DatabaseQueryDataSourceBuilder
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS