FromDefinitionDataSourceBuilder.IdentityAttribute

FromDefinitionDataSourceBuilder.IdentityAttribute method

Mandatory setting that allows tracking changes.

public FromDefinitionDataSourceBuilder IdentityAttribute(string name, bool overwriteSameKey = true)
ParameterTypeDescription
nameStringAn attribute of a feature that will be treated as uniquely identifying the feature.
overwriteSameKeyBooleanIf 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. Otherwise, an exception will be thrown.

Return Value

FromDefinitionDataSourceBuilder

See Also