private JProperty ParseValue(Mix.Cms.Lib.ViewModels.MixAttributeSetValues.NavigationViewModel item) { switch (item.get_DataType()) { case 0: case 4: case 5: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 19: case 20: case 21: { Label0: return new JProperty(item.get_AttributeFieldName(), item.get_StringValue()); } case 1: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_DateTimeValue()); } case 2: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_DateTimeValue()); } case 3: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_DateTimeValue()); } case 6: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_DoubleValue()); } case 18: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_BooleanValue()); } case 22: { return new JProperty(item.get_AttributeFieldName(), (object)item.get_IntegerValue()); } case 23: { V_0 = new JArray(); stackVariable46 = item.get_DataNavs(); stackVariable47 = Mix.Cms.Lib.ViewModels.MixAttributeSetDatas.NavigationViewModel.u003cu003ec.u003cu003e9__62_0; if (stackVariable47 == null) { dummyVar0 = stackVariable47; stackVariable47 = new Func<Mix.Cms.Lib.ViewModels.MixRelatedAttributeDatas.NavigationViewModel, int>(Mix.Cms.Lib.ViewModels.MixAttributeSetDatas.NavigationViewModel.u003cu003ec.u003cu003e9.u003cParseValueu003eb__62_0); Mix.Cms.Lib.ViewModels.MixAttributeSetDatas.NavigationViewModel.u003cu003ec.u003cu003e9__62_0 = stackVariable47; } V_2 = stackVariable46.OrderBy<Mix.Cms.Lib.ViewModels.MixRelatedAttributeDatas.NavigationViewModel, int>(stackVariable47).GetEnumerator(); try { while (V_2.MoveNext()) { V_3 = V_2.get_Current(); V_3.get_Data().get_Data().Add(new JProperty("data", V_3.get_Data().get_Data())); V_0.Add(V_3.get_Data().get_Data()); } } finally { if (V_2 != null) { V_2.Dispose(); } } return new JProperty(item.get_AttributeFieldName(), V_0); } default: { goto Label0; } } }
V_0 = Expression.Parameter(Type.GetTypeFromHandle(// // Current member / type: System.Void Mix.Cms.Lib.ViewModels.MixAttributeSetDatas.NavigationViewModel::ExpandView(Mix.Cms.Lib.Models.Cms.MixCmsContext,Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction) // Exception in: System.Void ExpandView(Mix.Cms.Lib.Models.Cms.MixCmsContext,Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction) // Specified method is not supported. // // mailto: [email protected] private void ParseModelValue(JToken property, Mix.Cms.Lib.ViewModels.MixAttributeSetValues.NavigationViewModel item) { switch (item.get_DataType()) { case 0: case 4: case 5: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 19: case 20: case 21: { Label1: item.set_StringValue(Newtonsoft.Json.Linq.Extensions.Value<string>(property)); goto Label0; } case 1: { item.set_DateTimeValue(Newtonsoft.Json.Linq.Extensions.Value<DateTime?>(property)); goto Label0; } case 2: { item.set_DateTimeValue(Newtonsoft.Json.Linq.Extensions.Value<DateTime?>(property)); goto Label0; } case 3: { item.set_DateTimeValue(Newtonsoft.Json.Linq.Extensions.Value<DateTime?>(property)); goto Label0; } case 6: { item.set_DoubleValue(Newtonsoft.Json.Linq.Extensions.Value<double?>(property)); goto Label0; } case 18: { item.set_BooleanValue(Newtonsoft.Json.Linq.Extensions.Value<bool?>(property)); goto Label0; } case 22: { item.set_IntegerValue(Newtonsoft.Json.Linq.Extensions.Value<int?>(property)); goto Label0; } case 23: { Label0: item.set_StringValue(Newtonsoft.Json.Linq.Extensions.Value<string>(property)); return; } default: { goto Label1; } } }