1
Vote

About QuerySingle<DataTable>()

description

I from the Mysql query data, a column is "longtext", use the QuerySingle<DataTable>() , returned null.

Problems appeared in the following code:
    public object HandleType(Action<TEntity, IDataReader> customMapperReader, Action<TEntity, dynamic> customMapperDynamic)
    {
        var dataTable = new DataTable();
        dataTable.Load(_data.Reader.InnerReader, LoadOption.OverwriteChanges);

        return dataTable;
    }
I want to use the "customMapperReader" also not line, can you tell me how to solve?

comments