Skip to content

Instantly share code, notes, and snippets.

@lluisfranco

lluisfranco/Adomd_Query.cs

Last active Dec 12, 2017
Embed
What would you like to do?
public static List<T> Query<T>(this AdomdConnection conn, string commandText, params object[] parameters)
{
var commandTextParameters = ReplaceCommandTextParameters(commandText, parameters);
var cmd = new AdomdCommand(commandTextParameters, conn);
var dr = cmd.ExecuteReader();
return dr.ToList<T>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.