Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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();
     }
 }
Ejemplo n.º 3
0
 public async Task <EntryDataEx> CreateEntryDataEx(EntryDataEx entity)
 {
     return(await Channel.CreateEntryDataEx(entity).ConfigureAwait(false));
 }