Database.From<TResult> Method (String)

Creates and returns a new SqlSet<TResult> using the provided table name.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet<TResult> From<TResult>(
	string tableName
)

Parameters

tableName

Type: System.String
The name of the table that will be the source of data for the set.

Type Parameters

TResult

The type of objects to map the results to.

Return Value

Type: SqlSet<TResult>
A new SqlSet<TResult> object.

See Also

Reference

Database Class
DbExtensions Namespace

© Max Toro Q.