Class ResultSetIndexer
SQL procedure call out result sets indexer
Inherited Members
Namespace: XData
Assembly: XData.docfx.dll
Syntax
public sealed class ResultSetIndexer
Properties
| Improve this Doc View SourceCount
Variables count
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Item[String]
Result set data rows
Declaration
public DataTable this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Result set name |
Property Value
| Type | Description |
|---|---|
| DataTable |
Methods
| Improve this Doc View SourceContains(String)
Variables contains name
Declaration
public bool Contains(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Variable name |
Returns
| Type | Description |
|---|---|
| Boolean | Contains flag |
GetResultSet<T>(String)
Returns typed result collection
Declaration
public IEnumerable<T> GetResultSet<T>(string name)
where T : class
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Result set name |
Returns
| Type | Description |
|---|---|
| IEnumerable<T> | Types result collection |
Type Parameters
| Name | Description |
|---|---|
| T | Result set element mapped type |