DatabaseQueryDataSourceBuilder.AddAttribute

AddAttribute(string, AttributeDataType)

Configures the name of the field that will contain information for the feature attribute.

public DatabaseQueryDataSourceBuilder AddAttribute(string name, AttributeDataType type)
ParameterTypeDescription
nameStringName of query field for attribute.
typeAttributeDataTypeType of data into which data from the database should be converted.

Return Value

DatabaseQueryDataSourceBuilder

See Also


AddAttribute(string, AttributeDataType, DbType)

Configures the name of the field that will contain information for the feature attribute.

public DatabaseQueryDataSourceBuilder AddAttribute(string name, AttributeDataType type, 
    DbType dbType)
ParameterTypeDescription
nameStringName of query field for attribute.
typeAttributeDataTypeType of data into which data from the database should be converted.
dbTypeDbTypeThe type by which the attribute is represented in the database. This is useful if you need to save changes.

Return Value

DatabaseQueryDataSourceBuilder

See Also