Show / Hide Table of Contents

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 Source

GetCommand(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.

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)

See Also

ICommandBuilder
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.