private static string getSelect <T>(WhereHelperBase t, string selectSql) { if (string.IsNullOrEmpty(selectSql) == false) { if (selectSql.StartsWith("Select", StringComparison.CurrentCultureIgnoreCase)) { return(selectSql); } return("SELECT " + selectSql); } return(SelectHelper.CreateSelectHeader(typeof(T), t._headers, t.GetTypes())); }