-
Notifications
You must be signed in to change notification settings - Fork 226
HierarchyId
Simon Hughes edited this page Oct 12, 2016
·
20 revisions
If any of your tables uses the SQL HIERARCHYID type, please install the following package:
Install-Package EntityFrameworkWithHierarchyId
Here is a demo of the AdventureWorks 2012 and 2014 databases which makes use of the HIERARCHYID type: AdventureWorksDemo.zip
My thanks to Miguel Vrolijk for the following info:
One issue that I’ve encountered is that you can’t use both HierarchyId columns and Table-valued functions as is. You need to compile the CodeFirstStoreFunctions library with the EntityFrameworkWithHierarchyId library instead of the EntityFramework library; the version on NuGet was compiled with the latter.
- Home
- Compared with the Microsoft scaffolder
- Connection strings
- JetBrains Rider
- Upgrading from v3 to v4
- Saving .tt does nothing
- Settings A-Z - every setting, with a page each
- Common Settings Types Explained
- Settings Callbacks
- Settings runtime values and helpers
- Filtering
- Full Control Over the Generated Code
- Enum Generation from Table Data
- Owned Entities
- JSON column support
- Global Query Filters
- Extended Property Names Feature
- Partial Properties
- File-Scoped Namespaces
- Data Annotations
- Spatial Types
- HierarchyId
- RowVersion and TimeStamp columns
- Lazy Loading
- Stored proc result sets