|
I found the problem, the AuthenticationContext wasn't set on that EntityManager. I have a new error I can't find though. When executing this statement
var query = emInboxPromoCatalog.Member_PromoCatalog .With(QueryStrategy.CacheOnly) .Where(memberIDPredicate) .Execute(); |
I get this error: Unable to get metadata for LEAF.BusinessObjects.Promotions.Member_PromoCatalog. Make sure it is a valid entity type or POCO type with a KeyAttribute at IdeaBlade.EntityModel.EntityMetadataStore.GetEntityMetadata(Type entityType, Boolean canThrowException) at IdeaBlade.EntityModel.EntityManager.CreateEntityGroupAndInitialize(Type entityType) at IdeaBlade.EntityModel.EntityManager.GetEntityGroup(Type entityType) at lambda_method(Closure , EntityManager ) at IdeaBlade.EntityModel.EntityQuery`1.ExecuteExpression() at IdeaBlade.EntityModel.EntityQuery`1.ExecuteCacheQuery() at IdeaBlade.EntityModel.EntityQueryFinder.ExecuteFind(Guid queryGuid) at IdeaBlade.EntityModel.EntityQueryFinder.Execute() at IdeaBlade.EntityModel.EntityManager.ExecuteQueryCore(IEntityQuery query, Boolean isAsync) at IdeaBlade.EntityModel.EntityManager.ExecuteQuery[T](IEntityQuery`1 query) at IdeaBlade.EntityModel.EntityQueryExtensions.Execute[T](IEntityQuery`1 query) at LEAF.DataModels.PromoCatalog.PromoCatalog_DataModel.load_InboxMemberPromoCatalogsForMemberIDAsync(Decimal memberID) at LEAF.DataModels.PromoCatalog.PromoCatalog_DataModel.<load_InboxMemberPromoCatalogsForMemberIDCoroutine>d__19.MoveNext() at IdeaBlade.EntityModel.CoroutineSerialProcessor.Process()
I don't see a request to the server yet so it looks like it's a client side isse (Silverlight). Where should I look to try and find what is missing? Thanks, Sean
|