18 using System.Collections.Generic;
24 namespace Deveel.Data.Sql {
28 throw new ArgumentNullException(
"handled");
31 Statements =
new List<SqlStatement>();
36 public ICollection<SqlStatement> Statements {
get;
private set; }
38 public bool Handles(
string exceptionName) {
39 return Handled.ExceptionNames.Any(x => String.Equals(x, exceptionName, StringComparison.OrdinalIgnoreCase)) ||
44 throw new NotImplementedException();
48 return PrepareExpressions(preparer);
bool Handles(string exceptionName)
ExceptionHandler(HandledExceptions handled)
An interface used to prepare a SqlExpression object.
object Prepare(IExpressionPreparer preparer)
Converts the underlying value of this instance into an object that can be evaluated by an expression...
ExceptionHandler PrepareExpressions(IExpressionPreparer preparer)
A contract for objects that participate to a SqlExpression.Prepare phase of an expression evaluation...