Example #1
0
        private static void RegisterPlainTypeInfo <T>(ClickHouseTypeCode type)
        {
            var typeInfo = new PlainDataType <T>(type);

            SimpleTypes.Add(type, typeInfo);
            if (!ReverseMapping.ContainsKey(typeInfo.FrameworkType))
            {
                ReverseMapping.Add(typeInfo.FrameworkType, typeInfo);
            }
        }
Example #2
0
 public PlainDataType(ClickHouseTypeCode dataType)
 {
     this.dataType = dataType;
     FrameworkType = typeof(T);
 }