public MsSqlQueryBuilderSelect(MsSqlDatabase database)
        {
            Database = database ?? throw new System.ArgumentNullException(nameof(database));

            _builderWhere = database.QueryFactory.CreateWhere();
            _builderWhere.And(_builderWhere);

            _limitBuilder = database.QueryFactory.CreateLimit();
        }
Exemplo n.º 2
0
 protected virtual void VisitLimit(IFragmentBuilder parent, IQueryGraphBuilder graph, ILimitBuilder expression)
 {
     this.Push(new SQLiteLimitWriter(parent, graph, this.Database, this, this.Parameters));
     this.Peek.Write(expression);
     this.Pop();
 }
Exemplo n.º 3
0
 protected virtual void VisitLimit(IFragmentBuilder parent, IQueryGraphBuilder graph, ILimitBuilder expression)
 {
     //Nothing to do.
 }