DatabaseQueryDataSourceBuilder.AddAttribute
Contents
[
Hide
]AddAttribute(string, AttributeDataType)
Configures the name of the field that will contain information for the feature attribute.
public DatabaseQueryDataSourceBuilder AddAttribute(string name, AttributeDataType type)
Parameter | Type | Description |
---|---|---|
name | String | Name of query field for attribute. |
type | AttributeDataType | Type of data into which data from the database should be converted. |
Return Value
DatabaseQueryDataSourceBuilder
See Also
- enum AttributeDataType
- class DatabaseQueryDataSourceBuilder
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS
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)
Parameter | Type | Description |
---|---|---|
name | String | Name of query field for attribute. |
type | AttributeDataType | Type of data into which data from the database should be converted. |
dbType | DbType | The type by which the attribute is represented in the database. This is useful if you need to save changes. |
Return Value
DatabaseQueryDataSourceBuilder
See Also
- enum AttributeDataType
- class DatabaseQueryDataSourceBuilder
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS