Hi,
Pablo Iñigo Blasco wrote:
> 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.
I didn't add any more sources than those files in svn. Though, if
it does not match the actual assembly sign, then it has to be fixed
in MONO_STRICT mode.
> - 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);
>
>
Well, can you please file a bug on mono bugzilla on System.Data
section so that relevant people (probably Varadhan) could take
care of it?
>> - 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.
Exactly. We need implementation.
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
-~----------~----~----~----~------~----~------~--~---