Class CallResult
Stored procedure call result
Inherited Members
Namespace: XData.Database.Adapter
Assembly: XData.docfx.dll
Syntax
public sealed class CallResult : QueryResultBase, IEnumerable<QueryParam>, IEnumerable
Constructors
| Improve this Doc View SourceCallResult(StoredProcedure, IEnumerable<IDataParameter>, IList<DataTable>)
Stored procedure call result constructor
Declaration
public CallResult(StoredProcedure procedure, IEnumerable<IDataParameter> procedureParams, IList<DataTable> resultSets)
Parameters
| Type | Name | Description |
|---|---|---|
| StoredProcedure | procedure | Stored procedure |
| IEnumerable<IDataParameter> | procedureParams | Procedure parameters |
| IList<DataTable> | resultSets | Result sets list |
CallResult(StoredProcedure, IEnumerable<QueryParam>, IList<DataTable>)
Stored procedure call result constructor
Declaration
public CallResult(StoredProcedure procedure, IEnumerable<QueryParam> procedureParams, IList<DataTable> resultSets)
Parameters
| Type | Name | Description |
|---|---|---|
| StoredProcedure | procedure | Stored procedure |
| IEnumerable<QueryParam> | procedureParams | Procedure parameters sequence |
| IList<DataTable> | resultSets | Result sets list |
CallResult(StoredProcedure, IDataParameterCollection, IList<DataTable>)
Stored procedure call result constructor
Declaration
public CallResult(StoredProcedure procedure, IDataParameterCollection procedureParams, IList<DataTable> resultSets)
Parameters
| Type | Name | Description |
|---|---|---|
| StoredProcedure | procedure | Stored procedure |
| IDataParameterCollection | procedureParams | Procedure parameters |
| IList<DataTable> | resultSets | Result sets list |
Properties
| Improve this Doc View SourceResultSets
Stored procedure result sets
Declaration
public ReadOnlyCollection<DataTable> ResultSets { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<DataTable> |
Remarks
Hint: Data table name contains result set name
Methods
| Improve this Doc View SourceParamInit(IDataParameter)
Update out parameter value
Declaration
protected override QueryParam ParamInit(IDataParameter parameter)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataParameter | parameter | Parameter |
Returns
| Type | Description |
|---|---|
| QueryParam | Query parameter |
Overrides
Exceptions
| Type | Condition |
|---|---|
| XDataRuntimeException |