/** * Initializes a new instance of the SqlQuerySpec class with the text of the * query. * * @param queryText * the query text. */ public SqlQuerySpec(String queryText) { super(); this.setQueryText(queryText); }
/** * Initializes a new instance of the SqlQuerySpec class with the text of the * query and parameters. * * @param queryText the query text. * @param parameters the query parameters. */ public SqlQuerySpec(String queryText, SqlParameterCollection parameters) { super(); this.setQueryText(queryText); this.parameters = parameters; }