Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method 'GetAsync' Exception #1

Open
dprevato opened this issue Mar 19, 2019 · 5 comments
Open

Method 'GetAsync' Exception #1

dprevato opened this issue Mar 19, 2019 · 5 comments

Comments

@dprevato
Copy link

I just bought your wonderful book, and I'm following the recipes; but, at the first recipe of Chapter 2 I'm stuck with an exception:
Capture

I follwed thoroughfully (twice) the first recipe, "Mapping a class with XML", but I can't get past the first statement. Can you help me?

@gliljas
Copy link
Owner

gliljas commented Mar 19, 2019

Sure thing! I'm not near the correct computer right now, but will be later tonight. The exception looks what can happen if you use NHibernate 5.x, since that's were GetAsync was added.

I'll get back to you as soon as possible. I may create a new Nuget, compatible with NH5.

@dprevato
Copy link
Author

That's very kind of you, thank you! Because in my opinion, your book is a masterpiece for learning NHibernate, whatever version it is. I like very much the method, of teaching step by step all the arguments to master this wonderful library. I am used to Microsoft EF6, Code First, but it is too SQL Server oriented... Thank you again, can't wait to see the new package :)

@Mafi78
Copy link

Mafi78 commented Jun 21, 2021

Hi - i am also stuck at this position ?!
Any help here ?

@gliljas
Copy link
Owner

gliljas commented Jun 23, 2021

Please try with the new version.

https://www.nuget.org/packages/NH4CookbookHelpers/2.0.0

@Mafi78
Copy link

Mafi78 commented Jun 23, 2021

Hi Gunnar,
Thumbs up - your new version works with nhibernate 5 and .NET core 5.
Thank you very much for the fast response !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants