How to use NameValueListBase in CSLA 6.2.2 #3326
Unanswered
CROprogrammer
asked this question in
Questions
Replies: 1 comment 4 replies
-
Like this you mean? [Serializable]
public class NVList : NameValueListBase<string, string>
{
[Fetch]
private void Fetch([Inject]DataAccess.IListDal dal)
{
using (LoadListMode)
{
// load data here
}
}
} And then you get it via the data portal: var dp = ApplicationContext.GetRequiredService<IDataPortal<ListInfo>>();
var nvList = await dp.FetchAsync(); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, is there any example that shows how to use NameValueListBase without factory methods in it?
Beta Was this translation helpful? Give feedback.
All reactions