Interface ISelectCommandBuilder
Provides an interface select command builder objects.
Namespace: Paradigm.ORM.Data.CommandBuilders
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ISelectCommandBuilder : ICommandBuilder, IDisposable
Methods
| Improve this Doc View SourceGetCommand(String, Object[])
Gets the select command ready to execute the select query.
Declaration
IDatabaseCommand GetCommand(string whereClause = null, params object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | whereClause | An optional where clause to add to the query. If the where contains parameters, they need to be named as @1 @2 @3 etc. |
System.Object[] | parameters | A list of parameter values. |
Returns
Type | Description |
---|---|
IDatabaseCommand | A select command already parametrized to execute. |