public List <T> MyList <T>(IConnection conn, Criteria condition, Order[] orders, int from, int count, string[] fields) { ListField[] fs = null; if (fields != null && fields.Length > 0) { fs = new ListField[fields.Length]; for (int i = 0; i < fields.Length; i++) { fs[i] = new ListField(fields[i]); } } return(MyList <T>(conn, condition, orders, from, count, fs)); }
public void AddFields(string field) { ListField f = new ListField(field); listFieldDict.Add(f.FieldName, f); }