Show / Hide Table of Contents

Method Select

| Improve this Doc View Source

Select<T>(T, T)

Constructs SQL SELECT by matching between specified source column and target column.

Declaration
public DbQueryBuilder Select<T>(T from, T to)

    where T : Column, new()
Parameters
Type Name Description
T from

The source column.

T to

The target column.

Returns
Type Description
DbQueryBuilder

This query builder for fluent coding.

Type Parameters
Name Description
T

Type of the columns.

| Improve this Doc View Source

Select<T>(T, Adhoc, String)

Constructs SQL SELECT by matching between specified source column and target new adhoc column.

Declaration
public DbQueryBuilder Select<T>(T from, Adhoc to, string name = null)

    where T : Column, new()
Parameters
Type Name Description
T from

The source column.

Adhoc to

The target new adhoc model.

System.String name

Name to create the adhoc column.

Returns
Type Description
DbQueryBuilder

This query builder for fluent coding.

Type Parameters
Name Description
T

Type of lthe column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest