예제 #1
0
        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);
        }
예제 #2
0
 private void AddColumnTypeMapping(ColumnTypeMapping columnTypeMapping)
 {
     m_columnTypeMappingLookup[columnTypeMapping.LookupKey] = columnTypeMapping;
 }