public EntitySelect(string query, string sort) { Query = query; var entitySort = EntitySort.Parse(sort); if (entitySort == null) { return; } Sort = new[] { entitySort }; }
public EntityQuery(string query, int page, int pageSize, string sort) { Query = query; Page = page; PageSize = pageSize; var entitySort = EntitySort.Parse(sort); if (entitySort == null) { return; } Sort = new[] { entitySort }; }