2using System.Threading.Tasks;
41 public abstract Task<IElement>
GetSchema(
string Name);
55 public Task<ILambdaExpression>
this[
string Name] => this.
GetProcedure(Name);
99 if (!(Arguments[0]?.AssociatedObjectValue is
string SqlStatement))
Abstract base class for external databases
IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the lambda expression.
abstract Task< ILambdaExpression > GetProcedure(string Name)
Creates a lambda expression for accessing a stored procedure.
virtual int NrArguments
Number of arguments.
abstract Task< IElement > GetSchema(string Name)
Gets a Schema table, given its collection name.
ArgumentType[] ArgumentTypes
Argument types.
ExternalDatabase()
Abstract base class for external databases
Task< IElement > EvaluateAsync(IElement[] Arguments, Variables Variables)
Evaluates the lambda expression.
virtual void Dispose()
IDisposable.Dispose
bool IsAsynchronous
If the node (or its decendants) include asynchronous evaluation. Asynchronous nodes should be evaluat...
abstract Task< IElement > ExecuteSqlStatement(string Statement)
Executes an SQL Statement on the database.
virtual string[] ArgumentNames
Argument Names.
override string ToString()
Script runtime exception.
override string ToString()
Basic interface for all types of elements.
Interface for database connections
ArgumentType
Type of parameter used in a function definition or a lambda definition.