// 这里写你的代码 public static DataTable GetAllFunction(SqlConnection conn) { FuncArgs args = GetCurrentArgs(); QueryOrderCollection order = new QueryOrderCollection(); order.Add(args.cnvcFuncName.FieldName, QueryOperationSign.OrderOperation.ASC); return(SingleTableQuery.ExcuteQuery("tbFunc", order, conn)); }
internal ApiQuery(Api api, EntitySchema entity) { if (api == null) { throw new ArgumentNullException(nameof(api)); } if (entity == null) { throw new ArgumentNullException(nameof(entity)); } _api = api; Entity = entity; Filters = new FilterCollection(); Expand = new StringCollection(); Order = new QueryOrderCollection(); Output = OutputFormat.Compact; }