SQL Class

Provides a set of static (Shared in Visual Basic) methods to create SqlBuilder instances.

Inheritance Hierarchy

System.Object
  DbExtensions.SQL

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public static class SQL

The SQL type exposes the following members.

Methods

  Name Description
Public methodStatic member DELETE_FROM Creates and returns a new SqlBuilder initialized by appending the DELETE FROM clause using the provided format and args.
Public methodStatic member INSERT_INTO Creates and returns a new SqlBuilder initialized by appending the INSERT INTO clause using the provided format and args.
Public methodStatic member List(IEnumerable) Returns a special parameter value that is expanded into a list of comma-separated placeholder items.
Public methodStatic member List(Object[]) Returns a special parameter value that is expanded into a list of comma-separated placeholder items.
Public methodStatic member SELECT Creates and returns a new SqlBuilder initialized by appending the SELECT clause using the provided format and args.
Public methodStatic member UPDATE Creates and returns a new SqlBuilder initialized by appending the UPDATE clause using the provided format and args.
Public methodStatic member WITH(String, Object[]) Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided format and args.
Public methodStatic member WITH(SqlBuilder, String) Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided subQuery and alias.
Public methodStatic member WITH(SqlSet, String) Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided subQuery and alias.

See Also

Reference

DbExtensions Namespace

© Max Toro Q.