| MGDatabaseSetup.getKeyColumnType |
|
String getKeyColumnType()
Gets the key column type.
String - The key column data type. Values can be: Boolean, Byte, Date, Decimal, Double, Float, Integer, Numeric, SmallInt, String, Time, TimeStamp, UnsignedByte, UnsignedInteger, or UnsignedSmallInt.
In previous releases, this method also returned Char, Real, VarChar, or LogVarChar types. Autodesk MapGuide Viewers reading version 4.x MWFs will now return these types as String, Float, String, and String, respectively.
We recommend that you do not use Double, Float, or Real types because of the inherent inaccuracies in comparing them.
Note that the Autodesk MapGuide Viewer API uses string values while the OLEDBFeatureDataSource KeyColumnType element in Map Window XML (MWX) files uses enumerated constants. For more information about MWX files, refer to the Autodesk MapGuide Dynamic Authoring Toolkit Developer's Guide.
-15 (does not apply)
setKeyColumnType, KeyColumnType