EntitySqlQueryExtensions.From method
namespace: Serenity.Data assembly: Serenity.Net.Entity
Adds a table to the FROM statement with "T0" alias and sets it as target for future field selections.
public static SqlQuery From(this SqlQuery query, IEntity entity)
parameter | description |
---|---|
query | The query. |
entity | The entity. |
Return Value
The query itself.
Exceptions
exception | condition |
---|---|
ArgumentNullException | row |
See Also
- class SqlQuery
- interface IEntity
- class EntitySqlQueryExtensions