public QueryContainer(QueryBase query) : this()
		{
			if (query == null) return;

			if (query.IsStrict && !query.IsWritable)
				throw new ArgumentException("Query is conditionless but strict is turned on");

			query.WrapInContainer(this);
		}
Exemplo n.º 2
0
        public QueryContainer(QueryBase query) : this()
        {
            if (query == null)
            {
                return;
            }

            if (query.IsStrict && !query.IsWritable)
            {
                throw new ArgumentException("Query is conditionless but strict is turned on");
            }

            query.WrapInContainer(this);
        }
Exemplo n.º 3
0
 public QueryContainer(QueryBase query) : this()
 {
     query?.WrapInContainer(this);
 }