public OleDbCommand GetCommand string appId string commandSetId string

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
public OleDbCommand GetCommand(string appId, string commandSetId, string commandType, string attribName)
{
OleDbCommand cmd = new OleDbCommand();
XPathNodeIterator xpnIterator = GetCommandNodeIterator(appId, commandSetId, commandType, attribName);
xpnIterator.MoveNext();
SetQuery(cmd, xpnIterator);
SetParameters(cmd, xpnIterator);
return cmd;
}