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);
		}
示例#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);
        }
示例#3
0
 public QueryContainer(QueryBase query) : this()
 {
     query?.WrapInContainer(this);
 }