Search Results for

    Show / Hide Table of Contents

    Class Scope

    Main runtime scope

    Inheritance
    System.Object
    Scope
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: SqlDotNet.Runtime
    Assembly: SqlDotNet.dll
    Syntax
    public class Scope

    Constructors

    | Improve this Doc View Source

    Scope(Scope)

    Create new scope

    Declaration
    public Scope(Scope parent)
    Parameters
    Type Name Description
    Scope parent

    Parent scope, can be null

    Properties

    | Improve this Doc View Source

    ArgumentStack

    Argument stack, here will be all parameters which were passed to a function/method stored

    Declaration
    public Dequeue<Tuple<int, StackItem>> ArgumentStack { get; }
    Property Value
    Type Description
    Dequeue<System.Tuple<System.Int32, StackItem>>
    | Improve this Doc View Source

    Stack

    Stack

    Declaration
    public CommandStack Stack { get; }
    Property Value
    Type Description
    CommandStack

    Methods

    | Improve this Doc View Source

    CreateCursor(String)

    Create and add a new cursor

    Declaration
    public Cursor CreateCursor(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the cursor

    Returns
    Type Description
    Cursor

    Cursor instance

    | Improve this Doc View Source

    CreateResultSet(String)

    Create and add a new result set

    Declaration
    public ResultSet CreateResultSet(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the result set

    Returns
    Type Description
    ResultSet

    Result set instance

    | Improve this Doc View Source

    CreateVariable(String)

    Create a new variable in the current scope

    Declaration
    public Variable CreateVariable(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the variable

    Returns
    Type Description
    Variable

    New var

    | Improve this Doc View Source

    GetCursor(String)

    Get an already existing cursor

    Declaration
    public Cursor GetCursor(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the cursor

    Returns
    Type Description
    Cursor

    Cursor instance

    | Improve this Doc View Source

    GetNew()

    Get a new scope and set the current scope as the new parent scope

    Declaration
    public Scope GetNew()
    Returns
    Type Description
    Scope

    Scope instance

    | Improve this Doc View Source

    GetResultSet()

    Get last or default set, only for the current scope

    Declaration
    public ResultSet GetResultSet()
    Returns
    Type Description
    ResultSet

    Current scope

    | Improve this Doc View Source

    GetResultSet(String)

    Get an already existing result set

    Declaration
    public ResultSet GetResultSet(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the resultset

    Returns
    Type Description
    ResultSet

    Resultset instance

    | Improve this Doc View Source

    GetVariable(String)

    Get an already existing variable

    Declaration
    public Variable GetVariable(string name)
    Parameters
    Type Name Description
    System.String name

    Name of the var

    Returns
    Type Description
    Variable

    Variable instance

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx