November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Try with:
var store = typeof(language).GetStore();
store.Save(mylanguageObject);
var items = store.Items<language>();
var count = items.Count();
Frederik
Thanks for the response Frederik,
I needed to have separate Data stores for different languages, as the Ids of the items I was adding were based on page Id's and hence the same..
I've changed my code now to store a single object, which it self has child elements with the language specified
I am able to retrieve the object, update it, and re save it with out issue.
Cheers
Danny
Hi,
I am adding objects to a DDS, and I get a new Identity returned when doing so, indicating it was added.
However, when I've completed adding my items, and go to get a count of items in hte store, it is always returning "0" results:
My code is as follows:
The language string is not null, same for the page object being saved. The itemCount int is always 0, dispite the .Save being hit several times.
Any ideas?