This documentation is for the legacy Izenda 6 product. Documentation for the new Izenda 7 product can be found at https://www.izenda.com/docs/
Below is the code sample to change the hard-coded Decimal Type Precision from DECIMAL(18,6) to NUMERIC(22,8)
Ex) DECIMAL(18,6) to NUMERIC(22,8)
List<KeyValuePair<string, string>> typeOverrides = AdHocContext.Driver.NativeTypesOverrides; for (int i = 0; i < typeOverrides.Count; i++) if (typeOverrides[i].Key == "Decimal") { typeOverrides[i] = new KeyValuePair<string, string>(typeOverrides[i].Key, "NUMERIC(22,8)"); break; } AdHocContext.Driver.NativeTypesOverrides = typeOverrides;
Last edited by IzendaPeterCho, 2015-04-17 14:25:16