Show / Hide Table of Contents

Class PostgreSqlSelectOneCommandBuilder

Provides an implementation for postgresql select one command builder objects.

Inheritance
System.Object
CommandBuilderBase
PostgreSqlSelectOneCommandBuilder
Implements
ISelectOneCommandBuilder
ICommandBuilder
IDisposable
Inherited Members
CommandBuilderBase.Connector
CommandBuilderBase.FormatProvider
CommandBuilderBase.Descriptor
CommandBuilderBase.Command
CommandBuilderBase.Dispose()
CommandBuilderBase.GetTableName()
CommandBuilderBase.GetPropertyNames()
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetPropertyNames(IEnumerable<>)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNames(IEnumerable<>, System.String)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNamesAndValues(IEnumerable<>, System.String)
CommandBuilderBase.PopulateParameters()
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.PopulateParameters(IEnumerable<>)
Namespace: Paradigm.ORM.Data.PostgreSql.CommandBuilders
Assembly: Paradigm.ORM.Data.PostgreSql.dll
Syntax
public class PostgreSqlSelectOneCommandBuilder : CommandBuilderBase, ISelectOneCommandBuilder, ICommandBuilder, IDisposable

Constructors

| Improve this Doc View Source

PostgreSqlSelectOneCommandBuilder(IDatabaseConnector, ITableDescriptor)

Initializes a new instance of the PostgreSqlSelectOneCommandBuilder class.

Declaration
public PostgreSqlSelectOneCommandBuilder(IDatabaseConnector connector, ITableDescriptor descriptor)
Parameters
Type Name Description
IDatabaseConnector connector

A database connector.

ITableDescriptor descriptor

A table type descriptor.

Methods

| Improve this Doc View Source

GetCommand(Object[])

Gets the select one command ready to execute the select query.

Declaration
public IDatabaseCommand GetCommand(params object[] ids)
Parameters
Type Name Description
System.Object[] ids

The id values of the entity that will be selected from the database.

Returns
Type Description
IDatabaseCommand

A select command already parametrized to execute.

Implements

ISelectOneCommandBuilder
ICommandBuilder
IDisposable

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

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