Database.From Method (String, Type)

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

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet From(
	string tableName,
	Type resultType
)

Parameters

tableName

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

resultType

Type: System.Type
The type of objects to map the results to.

Return Value

Type: SqlSet
A new SqlSet object.

See Also

Reference

Database Class
DbExtensions Namespace

© Max Toro Q.