internal ColumnTypeMapping GetColumnTypeMapping(string columnTypeName, bool unsigned = false, int length = 0) { ColumnTypeMapping columnTypeMapping; if (!m_columnTypeMappingLookup.TryGetValue(ColumnTypeMapping.CreateLookupKey(columnTypeName, unsigned, length), out columnTypeMapping) && length != 0) { m_columnTypeMappingLookup.TryGetValue(ColumnTypeMapping.CreateLookupKey(columnTypeName, unsigned, 0), out columnTypeMapping); } return(columnTypeMapping); }
private void AddColumnTypeMapping(ColumnTypeMapping columnTypeMapping) { m_columnTypeMappingLookup[columnTypeMapping.LookupKey] = columnTypeMapping; }