SqlServerDbCmdBuilder

SqlServerDbCmdBuilder implements the command builder functionality based on Statements for Microsoft SQL Server database engine.

Namespace:
Inetdev.Data.SqlServer
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.AbstractDbCmdBuilder

Constructors

SqlServerDbCmdBuilder

Default constructor

Signature:
public Void SqlServerDbCmdBuilder()

Methods

BuildCommand

Creates a new IDbCommand based on the Statement.

Signature:
public IDbCommand BuildCommand(statement)
Returns

A new IDbCommand ready to execute.

Parameters
Name Type Summary
statement Statement The Statement with the command specification.
Exceptions
Type Summary
ArgumentNullException Thrown when statement is null.
StatementNotSupportedException Thrown when the Statement is of a not supported type.
MissingRequiredPropertyException Thrown when a required property is not initialized.

In this document