Replies: 1 comment 2 replies
-
Hi @percramer
Within the 😅 ?
FusionCache is based on the core abstractions So anything that can be stored in a Did you try it? An alternative of using an Hope this helps. UPDATE (5 min later) I tried this piece of code (with an L1 only configuration): dynamic expando1 = new ExpandoObject();
expando1.Name = "John";
expando1.Age = 30;
cache.Set("aaa", expando1);
dynamic expando2 = cache.GetOrDefault<ExpandoObject>("aaa");
Console.WriteLine($"NAME: {expando2.Name}");
Console.WriteLine($"AGE : {expando2.Age}"); And it printed this: So it seems to work. Having said that, |
Beta Was this translation helpful? Give feedback.
-
Hi,
in my application there is the option to change the database from within the . So i have a schema that can change. So i can't create fixed dto classes for my tables. Most frameworks of course need this of course, so i was wondering if anybody might have a solution for this. Can FusionCache work with ExpandoObject for example
Beta Was this translation helpful? Give feedback.
All reactions