public List <T> GetDataIModel <T>(out int outParame) where T : IModel, new() { var data = ObjectConvert.DataReaderToIModelList <T>(reader, out runTime, false); //reader.Close(); outParame = handler(); return(data); }