Class Mapping Error: 'T' must be a non-abstract type with a public parameterless constructor
- by Amit Ranjan
Hi,
While mapping class i am getting error 'T' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'T' in the generic type or method.
Below is my SqlReaderBase Class
public abstract class SqlReaderBase<T> : ConnectionProvider
{
#region Abstract Methods
protected…