This project is read-only.

Query Shop3.Entities.EmployeeDN is Not registered on DynamicQueryManager SF 2.0

Aug 2, 2012 at 10:13 AM

The title is the error, and that´s the trace:

El código de usuario no controló System.InvalidOperationException  Message=La query Shop3.Entities.EmployeeDN no está registrada en el DynamicQueryManager  Source=Signum.Windows  StackTrace:       en Signum.Windows.NavigationManager.AssertFindable(Object queryName) en D:\Signum\Framework\Signum.Windows\Facades\Navigator.cs:línea 763       en Signum.Windows.NavigationManager.Explore(ExploreOptions options) en D:\Signum\Framework\Signum.Windows\Facades\Navigator.cs:línea 485       en Signum.Windows.Navigator.Explore(ExploreOptions options) en D:\Signum\Framework\Signum.Windows\Facades\Navigator.cs:línea 37       en Signum.Windows.MenuManager.GenericMenuItem_Click(Object sender, RoutedEventArgs e) en D:\Signum\Framework\Signum.Windows\Facades\MenuManager.cs:línea 100       en System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)       en System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)       en System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)       en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)       en MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)  InnerException: 

I´m following the last video tutorial, but is quite different because it´s SF1.0 and i don´tknow why is throwing me this exception.


Aug 2, 2012 at 11:09 AM

Solved!! I was able to do this by adding to the dqm the entities that were forbidden like this:

In MyEntityLogic.cs


 dqm[typeof(EmployeeDN)] = (from e in Database.Query<EmployeeDN>()
                                        select new
                                            Entity = e.ToLite(),