Show / Hide Table of Contents

Method From

| Improve this Doc View Source

From<T>(DbSet<T>, out T)

Constructs SQL FROM clause.

Declaration
public DbQueryBuilder From<T>(DbSet<T> dbSet, out T _)

    where T : class, IEntity, new()
Parameters
Type Name Description
DbSet<T> dbSet

The first DbSet in FROM clause.

T _

The entity object for further SQL construction.

Returns
Type Description
DbQueryBuilder

This query builder for fluent coding.

Type Parameters
Name Description
T

Entity type of the DbSet.

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