Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="c:SetOperatorQuery"/> class.
 /// </summary>
 /// <param name="data"></param>
 /// <param name="dataFactory"></param>
 public SetOperatorQuery(SetOperatorQueryData data, IQueryDataFactory dataFactory)
 {
     Check.NotNull(data, "data");
     Check.NotNull(dataFactory, "dataFactory");
     this.data        = data;
     this.dataFactory = dataFactory;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the QueryBuilder class.
 /// </summary>
 /// <param name="nameResolver">
 /// The table/column name resolver.
 /// </param>
 public QueryBuilder(INameResolver nameResolver = null)
 {
     this.nameResolver     = nameResolver ?? new DefaultNameResolver();
     this.queryDataFactory = new DefaultQueryDataFactory(this.nameResolver);
 }