예제 #1
0
 public QueryTable AddField(QueryField field)
 {
     if (_fields == null) _fields = new Dictionary<string, QueryField>();
     var fieldDescriptor = _tableDescriptor[field.Name];
     if (fieldDescriptor == null) throw new Exception();
     _fields.Add(field.Name, field);
     return this;
 }
예제 #2
0
 public QueryCondition SetComparandFieldName(QueryField comparandFieldName)
 {
     ComparandFieldName = comparandFieldName;
     return this;
 }
예제 #3
0
 public QueryCondition SetFieldName(QueryField fieldName)
 {
     FieldName = fieldName;
     return this;
 }
예제 #4
0
 internal QueryCondition(QueryField fieldName)
     : this()
 {
     FieldName = fieldName;
     TableAlias = FieldName.Table;
 }