public void FilterData(StringBuilder res = null) { if (DisableBaseFilterData) { return; } if (res == null) { res = GetAutoPropertyFilterString(); } if (res.Length == 0 && vloader.NavigationExpression.Count != 0) { res.Append("&& All"); } if (res.Length > 0) { vloader.FilterExpression = res.ToString().Trim().Substring(2).Trim(); } else { if (vloader.FilterExpression != "All") { vloader.FilterExpression = null; } } EntryDataEx.Refresh(); NotifyPropertyChanged(x => this.EntryDataEx); }
private new void OnCurrentAsycudaDocumentSetExChanged(object sender, NotificationEventArgs <AsycudaDocumentSetEx> e) { if (e.Data != null) { vloader.FilterExpression = "All"; vloader.SetNavigationExpression("AsycudaDocumentSets", string.Format("AsycudaDocumentSetId == {0}", e.Data.AsycudaDocumentSetId)); EntryDataEx.Refresh(); } }
public async Task <EntryDataEx> CreateEntryDataEx(EntryDataEx entity) { return(await Channel.CreateEntryDataEx(entity).ConfigureAwait(false)); }