public IList <dynamic> SelectWithDynamic <T>(string sql) where T : BasicObj { SqlConnection conn = cm.GetConnection(); QueryMore queryMore = new PreparedSelectMore(); IList <dynamic> list = queryMore.SelectWithDynamic <T>(conn, sql); return(list); }
public IList <dynamic> SelectWithDynamic(string sql) { SqlConnection conn = cm.GetConnection(); QueryMore queryMore = new PreparedSelectMore(); IList <dynamic> list = queryMore.SelectWithDynamic <Entity>(conn, sql); return(list); }