public static Dictionary <string, dynamic> GetDefinitionByValue( IGenericSerializer genericSerializer, dynamic obj) { var objType = (Type)obj.GetType(); var typeCode = genericSerializer.GetCqlType(objType, out var typeInfo); return(GetDefinitionByType(new Dictionary <string, dynamic>(), genericSerializer, typeCode, typeInfo)); }
public ColumnTypeCode GetCqlType(Type type, out IColumnInfo typeInfo) { return(_serializer.GetCqlType(type, out typeInfo)); }
internal static ColumnTypeCode GetCqlTypeForPrimitive(this IGenericSerializer serializer, Type type) { IColumnInfo dummyInfo; return(serializer.GetCqlType(type, out dummyInfo)); }