Exemple #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;
 }
 public QueryCondition SetComparandFieldName(QueryField comparandFieldName)
 {
     ComparandFieldName = comparandFieldName;
     return this;
 }
 public QueryCondition SetFieldName(QueryField fieldName)
 {
     FieldName = fieldName;
     return this;
 }
 internal QueryCondition(QueryField fieldName)
     : this()
 {
     FieldName = fieldName;
     TableAlias = FieldName.Table;
 }