Class SQLExecuterReader
Inheritance
SQLExecuterReader
Assembly: LemonEdge.API.dll
Syntax
public class SQLExecuterReader : ISimpleReader, IDisposable
Constructors
SQLExecuterReader(SQLWrapperExecuter, IEntityRetriever)
Declaration
public SQLExecuterReader(SQLWrapperExecuter executer, IEntityRetriever context)
Parameters
Properties
Columns
Declaration
public string[] Columns { get; }
Property Value
Methods
Dispose()
Declaration
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
ExecuteQuery()
Declaration
public Task ExecuteQuery()
Returns
GetColumnType(string)
Gets the type of a column, by name.
Declaration
public Type GetColumnType(string colName)
Parameters
Type |
Name |
Description |
string |
colName |
The name of the column.
|
Returns
GetResultValue(string)
Gets the value for a column.
Declaration
public (object Result, bool IsNull) GetResultValue(string column)
Parameters
Type |
Name |
Description |
string |
column |
The column.
|
Returns
GetTotalCount()
Gets the total count of rows.
Declaration
public Task<int> GetTotalCount()
Returns
ReadNextResult()
Declaration
public Task<bool> ReadNextResult()
Returns
Implements
Extension Methods