Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
After NH 3.3.0GA?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 35 of 35 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pvginkel  
View profile  
 More options Apr 24 2012, 9:42 am
From: pvginkel <pvgin...@gmail.com>
Date: Tue, 24 Apr 2012 06:42:26 -0700 (PDT)
Local: Tues, Apr 24 2012 9:42 am
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

There are lots of open source projects that have custom builds for
different frameworks. Through judicious application of #if's
it's completely feasible to create a .NET 4.0 and a .NET 4.5 version from a
single code base. I know it causes extra maintenance and complexity, but I
do believe that the 4.5 features may be worth it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Darren Kopp  
View profile  
 More options Apr 24 2012, 11:54 am
From: Darren Kopp <darrenk...@gmail.com>
Date: Tue, 24 Apr 2012 08:54:30 -0700 (PDT)
Local: Tues, Apr 24 2012 11:54 am
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

To be fair, async is all compiler magic, so the only thing NHibernate has
to do is return Task<T> and consumers could use async / await to their
hearts content. It should be remembered that .net 4.5 is a superset of .net
4.0, and is separate from the compiler. The question becomes whether
nhibernate will need to use the async / await keywords itself. Also, there
is a project AsyncBridge that allows you to compile using the new compiler
and still target 4.0, so that's an option as well.

https://nuget.org/packages/AsyncBridge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 24 2012, 12:01 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 24 Apr 2012 19:01:31 +0300
Local: Tues, Apr 24 2012 12:01 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

Just to point out, in RavenDB we are already compatible with all the C# 5.0
magic, because we can just use Task for everything.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diego Mijelshon  
View profile  
 More options Apr 24 2012, 1:00 pm
From: Diego Mijelshon <di...@mijelshon.com.ar>
Date: Tue, 24 Apr 2012 14:00:24 -0300
Local: Tues, Apr 24 2012 1:00 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

Async itself is compiler magic, but the ADO.NET async methods like
ExecuteReaderAsync are new in 4.5.
Without those, returning tasks from NH is pretty much useless.

    Diego


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 24 2012, 1:02 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 24 Apr 2012 20:02:07 +0300
Local: Tues, Apr 24 2012 1:02 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

Um, no.
Task.Factory.FromAsync(cmd.BeginExecuteReader, cmd.EndExecutReader) works

On Tue, Apr 24, 2012 at 8:00 PM, Diego Mijelshon <di...@mijelshon.com.ar>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oskar Berggren  
View profile  
 More options Apr 24 2012, 1:18 pm
From: Oskar Berggren <oskar.bergg...@gmail.com>
Date: Tue, 24 Apr 2012 19:18:04 +0200
Local: Tues, Apr 24 2012 1:18 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?
'async' is the new sexy of course, but it seems to me that this could
have just as well been implemented years ago:

IQuery.BeginExecute()
IQuery.EndExecute()

Perhaps that is still a good place to start?

/Oskar

Den 24 april 2012 19:02 skrev Oren Eini (Ayende Rahien) <aye...@ayende.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diego Mijelshon  
View profile  
 More options Apr 24 2012, 1:38 pm
From: Diego Mijelshon <di...@mijelshon.com.ar>
Date: Tue, 24 Apr 2012 14:38:32 -0300
Local: Tues, Apr 24 2012 1:38 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

That would _almost_ work but there are two problems:
- Those methods aren't part of the generic DbCommand: they are implemented
in SqlCommand (not sure about other providers)
- There are no Begin/End methods for operations other than Execute (for
example, Read)

    Diego

On Tue, Apr 24, 2012 at 14:02, Oren Eini (Ayende Rahien)
<aye...@ayende.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Apr 24 2012, 1:39 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Tue, 24 Apr 2012 20:39:49 +0300
Local: Tues, Apr 24 2012 1:39 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

That is because Read is on the Reader, and you are not doing async stuff
there, you are reading from the in memory pool

On Tue, Apr 24, 2012 at 8:38 PM, Diego Mijelshon <di...@mijelshon.com.ar>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diego Mijelshon  
View profile  
 More options Apr 24 2012, 1:43 pm
From: Diego Mijelshon <di...@mijelshon.com.ar>
Date: Tue, 24 Apr 2012 14:43:50 -0300
Local: Tues, Apr 24 2012 1:43 pm
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

I don't think that's correct. Check out
http://blogs.msdn.com/b/adonet/archive/2012/04/20/using-sqldatareader...
if
you haven't yet.

    Diego

On Tue, Apr 24, 2012 at 14:39, Oren Eini (Ayende Rahien)
<aye...@ayende.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Birkby  
View profile  
 More options Apr 27 2012, 2:57 am
From: Richard Birkby <rbir...@gmail.com>
Date: Fri, 27 Apr 2012 07:57:45 +0100
Local: Fri, Apr 27 2012 2:57 am
Subject: Re: [nhibernate-development] After NH 3.3.0GA?

This is a timely announcement:

We would like to announce that you can now download an Async Targeting Pack

> for Visual Studio 11that lets you use Visual Studio 11 Beta to create
> projects that target .NET 4.0

http://blogs.msdn.com/b/bclteam/archive/2012/04/26/async-targeting-pa...

Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »