It ’s with growing interest I have read about the features and potential of NHydrate so wanted to put my hands on it and assess as a candidate for future work. I faced some several issues with the package downloader (refer discussion "Feb
14th Download Appears to Be Broken") but at the end the packages got installed. Still when I open a VS solution with a Nhydrate model, Visual Studio notifies that there are files waiting to be installed and that I should restart VS - which I did
but this notification message remains. I get around this one but more important do not succeed to have the generator producing code (even from a simple model) that compiles – having used only DAL and EFDAL generators so far.
My environment :
-Windows 7, Visual Studio 2010 Ultimate and NHydrate (download from
Thu Feb 17 2011 at 9:00 AM)
as currently available from Codeplex.
-The NHydrate settings window shows Version 22.214.171.124 whereas the installed packages all show version 126.96.36.199 with the flag “Needs Update” equals false. Clicking the “Check Updates” button it reports that
I am using version 188.8.131.520 and that there is a newer version 184.108.40.206 available from Codeplex ???
I succeed opening the example files (e.g. nHydrate.EntityFramework.PublicTest) which build and test successfully. I also can create a model (e.g imported ACME.Northwind database), the model validates and I can generate DAL and EFDAL projects from it. However
I noticed the generator does only generate the partial classes that allow to add the custom code extensions. The partial classes with the generated code (which I can see in the examples) are missing. E.g it generates entity Customer.cs but not Customer.Generated.cs.
So when I try to build these projects I get all kind of errors like missing types or namespaces, Inconsistent accessibility errors, etc …
I appreciate some feedback whether I am missing something or doing something fundamentally wrong.