ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.DataProcessing Namespace / RecordsAdapter Class / FromDbCommand Method

In This Topic
    FromDbCommand Method
    In This Topic
    Creates records enumerator for a given command.
    Syntax
    'Declaration
     
    Public Shared Function FromDbCommand( _
       ByVal command As IDbCommand, _
       ByVal fields As Collection(Of Field), _
       ByVal expressionContext As GrapeCity.Enterprise.Data.DataEngine.ExpressionEvaluation.IExpressionContext, _
       ByVal token As CancellationToken _
    ) As GrapeCity.Enterprise.Data.DataEngine.Extensions.IBuffer(Of Record)
    public static GrapeCity.Enterprise.Data.DataEngine.Extensions.IBuffer<Record> FromDbCommand( 
       IDbCommand command,
       Collection<Field> fields,
       GrapeCity.Enterprise.Data.DataEngine.ExpressionEvaluation.IExpressionContext expressionContext,
       CancellationToken token
    )

    Parameters

    command
    fields
    expressionContext
    token
    See Also