Hi,

The files to exclude are the *.Extended.cs files, which contain DbLinq
specific extensions.

Pascal.

On Thu, Oct 2, 2008 at 11:08, Pablo Iñigo Blasco <[EMAIL PROTECTED]> wrote:

>
> Hi folks!
>
> On Thu, Oct 2, 2008 at 7:07 AM, Atsushi Eno <[EMAIL PROTECTED]> wrote:
> > The basic direction in my idea is simple:
> >
> > - Copy dblinq src directory under mcs/class/System.Data.Linq,
> >  replacing existing files, and put System.Data.Linq.dll.sources.
> >  For now I just did "find src -name *.cs" and removed extra ones.
> > -- I'm not sure if I remove extra sources. Maybe I will.
>
> I agree with the method it should work.
>
> Just point two things:
> - What are we doing to do with the assembly.cs file? does it need any
> modification to work in the mono tree? If so, remember that such file
> shouldn't be replaced but merged since some
> functionality(AbstractFactory) depends to some
> atributtes(DbLinqAttribute) defined inside.
> - Besides remember that to do DbLinq work in mono some fixes are
> needed in TdsCom.cs.
>
> The following patch it worked fine for me, nonetheless I'm not sure if
> the changes are the most suitable ones.
>
> Index: TdsComm.cs
> ===================================================================
> --- TdsComm.cs  (revision 110536)
> +++ TdsComm.cs  (working copy)
> @@ -93,7 +93,14 @@
>
>  #if NET_2_0
>                                IPAddress ip;
> -                               if(IPAddress.TryParse(this.dataSource, out
> ip)) {
> +                               string ipString;
> +                               if(dataSource.Contains ("\\")) {
> +                                       ipString=dataSource.Substring
> (0,dataSource.IndexOf ("\\"));
> +                               } else {
> +                                       ipString=dataSource;
> +                               }
> +
> +                               if(IPAddress.TryParse (ipString, out ip)) {
>                                        endPoint = new IPEndPoint(ip, port);
>                                } else {
>                                        IPHostEntry hostEntry =
> Dns.GetHostEntry (this.dataSource);
>
>
> > - We (I?) likely do it when there is a new feature in dblinq or
> >  a new release when we want sort of stability.
> > -- Pablo should get our svn access and become able to commit the
> >   changes in mcs tree as well, of course ;)
> I agree.
>
> > - We'd like to support other DBs than SQLServer. (Needs some
> >  changes in other providers/vendors.)
>
> It was conceptually solved, doesn't it?
> http://groups.google.com/group/dblinq/msg/108fd0d7ca1b29a3
> We only have to implement it.
>
> Regards.
>
> >
>


-- 
Pascal.

jabber/gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to