Table of Contents

Method MapId

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

MapId(string, DataType)

Maps the Feature's top-level id member to a table column.

public void MapId(string columnName, DataType dataType)

Parameters

columnName string

The target database column.

dataType DataType

The column's type. A GeoJSON id is a string or a number, so this is usually Long or VarChar.

Remarks

A feature without an id imports as null in this column. To write the ids from the file into an auto-generated key column, set KeepIdentity as well.