Replies: 1 comment 4 replies
-
It looks like the data portal is unable to find a In other words, you have client-side code like var obj = await DataPortal.CreateAsync<Users>("some filter value"); And the data portal expects, in your [Create]
private void Create(string filter)
{
var entityData = USERSCollection.GetCollection(filter);
// load collection from entityData
} The way the data portal finds server-side operation methods in CSLA 5 is very different (internally) from earlier versions of CSLA, because the data portal now supports dependency injection of parameters. In most cases methods should be backward compatible, but there are edge-cases where issues can happen - especially if you are still using the (soon to be obsolete) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to convert from CSLA 4.11 to CSLA 5.50. The CRUD operations all appear to work fine.
This is a Business Library using Net Core 5 and CSLA V5.50
Things went pretty smoothly until I looked at the collections. In my previous version I could supply a where clause to the collection and get back the information I was interested in. Below is a comparison of what I had before and what I am attempting to do. The old code is on the top. This would return me a collection of USERS. The only difference is the last line in the using block
It compiles OK but at run time I get the following.
I cannot seem to find the answer anywhere.
Beta Was this translation helpful? Give feedback.
All reactions