EntitySqlHelper class
namespace: Serenity.Data assembly: Serenity.Net.Entity
Contains extension methods to query entities directly
public static class EntitySqlHelper
Public Members
| name | description |
|---|---|
| static ForEach(…) | Executes the specified callback for all rows returned from executing the query. (2 methods) |
| static ForFirst(…) | Executes the specified callback for the first result returned from executing the query. (2 methods) |
| static GetFirst(…) | Gets the first entity returned by executing the query. The result is loaded into the loader row of the query. (2 methods) |
| static GetFromReader(…) | Gets field values from data reader into the query loader row. (2 methods) |
| static GetSingle(…) | Gets the single entity returned by executing the query. The values are loaded into the loader row of the query. (2 methods) |
| static List<TRow>(…) | Lists the rows returned from executing the query. |
See Also
- Source: EntitySqlHelper.cs