Oops, nm, my System.Data.Linq.dllsources was wrong that it didn't
include DbLinq.SqlServer/*.cs sources (hence the vendor was not
included in System.Data.Linq.dll).

I included those files and noticed that it exposes extra public
type in MONO_STRICT. The patch is attached.

Now It reached to another NotImplementedException which is
actually likely unimplemented yet.

Atsushi Eno

Atsushi Eno wrote:
> Hi,
> 
> I cooked a patch for every vendor (excluding SqlServer that is
> already done) to make types internal so that we can include them
> into mono's System.Data.Linq.dll. Can any of you review and apply it?
> 
> I'm having a look at NullReferenceException that occurs while
> running northwind example (the one that Pablo posted to mono-soc-2008
> list: http://groups.google.decenturl.com/dblinq-integration-testing ).
> The stack trace is here: http://monoport.com/37626
> 
> If I'm likely caught by any obvious trap, please tell me ;)
> 
> Atsushi Eno
> 
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Index: src/DbLinq.SqlServer/SqlServerTypeConversions.cs
===================================================================
--- src/DbLinq.SqlServer/SqlServerTypeConversions.cs    (revision 900)
+++ src/DbLinq.SqlServer/SqlServerTypeConversions.cs    (working copy)
@@ -35,7 +35,12 @@
     /// helper class which help to convert Microsoft Sql's types to SqlClient 
.NET types,
     /// eg. 'smalldatetime' to SqlDbType.Date.
     /// </summary>
-    public static class SqlServerTypeConversions
+#if MONO_STRICT
+    internal
+#else
+    public
+#endif
+    static class SqlServerTypeConversions
     {
         static Dictionary<string, SqlDbType> s_typeMap = new 
Dictionary<string, SqlDbType>();
 

Reply via email to