Hi zgabi,
thank you for fast reply. I have sent you the download link via PM.
This is step by step, what i do (VS 2013):
And second issue:
thank you for fast reply. I have sent you the download link via PM.
This is step by step, what i do (VS 2013):
- New project - ASP.NET Web Application - MVC
- Models - Add - ADO.NET Entity Data Model "HidTestModel" - Generate from database
(hierarchyId is ignored by generator - OK) - PM> Install-Package EntityFrameworkWithHierarchyId -Pre
- Manually add hierarchyId field to Category.cs
- Add the query to HomeController.cs
- Run project - it throws System.NotSupportedException exception.
And second issue:
- It seems that there is some collision between Microsoft.AspNet.Identity.EntityFramework and EntityFrameworkWithHierarchyId.
File: Models - IdentityModels.cs
ApplicationDbContext - throws EntityFramework assembly not referenced error during compilation
When EntityFrameworkWithHierarchyId is uninstalled it works fine.