WildFire 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package WildFire --version 1.0.1
NuGet\Install-Package WildFire -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WildFire" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WildFire --version 1.0.1
#r "nuget: WildFire, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WildFire as a Cake Addin
#addin nuget:?package=WildFire&version=1.0.1

// Install WildFire as a Cake Tool
#tool nuget:?package=WildFire&version=1.0.1

var queryBuilder = new QueryBuilder();

           //Add table from there you want to select.
           var table = new FromTable("Table1", "t1");

           // Perform a join
           table.JoinOn("Table2", "t2", "Column1", "Column2", JoinType.Inner);

           //add table
           queryBuilder.AddFromTable(table.TableString);

           //Create Where clauses using predicates query builder provides you methods to add predicate
           //there are two ways you can add predicate  either by string or predicate object
           var textMatchExpression = new Predicate("t1.[Column3] like 'Joe'");

           //AddPredicate also takes just string if you have only one where condition.
           //add predicate  and specify the operation type supports and or and not
           queryBuilder.AddPredicate(textMatchExpression, OperationType.And);

           var datesExpressions1 = new List<string>();
           datesExpressions1.Add("f.[Column5] >= '2015-09-01'");//
           datesExpressions1.Add("f.[Column6] <= '2015-12-31'");

           var dateExpressions2 = new List<string>();
           dateExpressions2.Add("f.[Column7] >= '2015-10-01'");
           dateExpressions2.Add("f.[Column8] >= '2015-12-31'");

           //add groups of predicates
           queryBuilder.AddPredicate(datesExpressions1, OperationType.And,OperationType.Or);
           queryBuilder.AddPredicate(dateExpressions2, OperationType.And, OperationType.Empty);

           queryBuilder.GenerateQuery();

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.11 1,795 9/22/2015
1.0.10 1,603 9/22/2015
1.0.9 1,557 9/22/2015
1.0.8 1,582 9/22/2015
1.0.7 1,588 9/22/2015
1.0.6 1,567 9/21/2015
1.0.5 1,588 9/21/2015
1.0.4 1,597 9/21/2015
1.0.3 1,575 9/18/2015
1.0.2 1,578 9/18/2015
1.0.1 1,573 9/17/2015
1.0.0 1,566 9/17/2015

Updated logic for groups and subgroups in predicates.