Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres G. Aragoneses <knocte@gmail.com>2011-06-14 17:55:01 +0400
committerAndres G. Aragoneses <knocte@gmail.com>2011-06-14 17:55:01 +0400
commitcbefc781e55a17ced8085d79f44c58937a2be449 (patch)
tree96d03ced89b49ec4503f66716776823995155137 /mcs/class/System.Data.Linq
parent2be0cb7156819b1c1d4e9d2d5f0a033aa97afaf5 (diff)
System.Data.Linq: Fix DataContext.ExecuteQuery<T>(..) to allow primitive types for T
This should fix https://bugzilla.novell.com/show_bug.cgi?id=699803
Diffstat (limited to 'mcs/class/System.Data.Linq')
-rw-r--r--mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/DataContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/DataContext.cs b/mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/DataContext.cs
index 9710a8aad0b..57e3d1da876 100644
--- a/mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/DataContext.cs
+++ b/mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/DataContext.cs
@@ -987,7 +987,7 @@ namespace DbLinq.Data.Linq
/// <summary>
/// Execute raw SQL query and return object
/// </summary>
- public IEnumerable<TResult> ExecuteQuery<TResult>(string query, params object[] parameters) where TResult : class, new()
+ public IEnumerable<TResult> ExecuteQuery<TResult>(string query, params object[] parameters) where TResult : new()
{
if (query == null)
throw new ArgumentNullException("query");