Inheritance: SqlBaseExpression
コード例 #1
0
 protected override Expression VisitPragma(SqlPragmaExpression expression)
 {
     this.hashCode ^= expression.Directive?.GetHashCode() ?? 0;
     return(base.VisitPragma(expression));
 }
コード例 #2
0
 protected override Expression VisitPragma(SqlPragmaExpression expression)
 {
     this.hashCode ^= expression.Directive?.GetHashCode() ?? 0;
     return base.VisitPragma(expression);
 }
コード例 #3
0
        protected override Expression VisitPragma(SqlPragmaExpression expression)
        {
            SqlPragmaExpression current;
            if (!TryGetCurrent(expression, out current))
            {
                return expression;
            }

            if (!(this.result &= object.Equals(current.Directive, expression.Directive)))
            {
                return expression;
            }

            if (!(this.result &= current.NodeType == expression.NodeType))
            {
                return expression;
            }

            if (!(this.result &= current.Type == expression.Type))
            {
                return expression;
            }

            this.currentObject = current;
            return expression;
        }
コード例 #4
0
ファイル: Sql92QueryFormatter.cs プロジェクト: ciker/Shaolinq
        protected override Expression VisitPragma(SqlPragmaExpression expression)
        {
            this.Write("PRAGMA ");
            this.Write(expression.Directive);
            this.WriteLine(";");

            return base.VisitPragma(expression);
        }
コード例 #5
0
		protected virtual Expression VisitPragma(SqlPragmaExpression expression)
		{
			return expression;
		}
コード例 #6
0
 protected virtual Expression VisitPragma(SqlPragmaExpression expression)
 {
     return(expression);
 }