First, thanks for releasing Kigg as open source, this really help me to learn best practices in MVC stream.
I have been trying to resolve a technical issue with EntityFramework block used in Kigg. I removed all references of Ling2Sql, and copied respected .config files from ConfigurationFiles folder. I also able to compile the complete solution properly but face
issue when code EntityFramework (Kigg.Infrastructure.EF) block. Like, when I search for a content in installed Kigg, I get this error:
The specified type member 'ApprovedAt' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.
.Count(s => (s.ApprovedAt != null) && (Database.StorySearchResult.Any(r => r == s.Id) || s.Category.Name.Contains(query) || s.StoryTagsInternal.Any(t => t.Name.Contains(query))));
I googled this issue and look like this is another limitation with EF. I also search this discussion forum and I didn't find any topic relating to this. So probably I am doing something wrong.
I appreciate if someone help me and give some pointer.