Hello,
I'm actually trying to use DBLinq 0.18, in view of using LinQ on a
MySQL 5.1 database.
Actually, i use the already built assemblies in build folder (no
recompile).
Step A: running DBMetal:
dbmetal /provider:mysql /server:localhost /database:test /user:test /
password:test /code:test.cs
-> ok, i get a test.cs file. no problems
Step B: i include my test.cs file into a blank project for the 3.5
framework (it compiles, no problems); i include dblinq.mysql assembly
(notice i don't include dblinq.dll or mysql.data.dll). I have the
following using statements:
using System;
using System.ComponentModel;
using System.Data;
using System.Data.Linq.Mapping;
using System.Diagnostics;
using DbLinq.Linq;
using DbLinq.Linq.Mapping;
public partial class test: DbLinq.Data.Linq.DataContext
{
Step C: compiling. And this is my trouble :D
i get the following errors:
no existing namespace for System.Data.Linq.Mapping DbLinq.Linq
DbLinq.Linq.Mapping.
I have changed (and added) some namespaces, but i'm not able to find
the working thing.
Can someone using DBLinQ / MySQL give me where i'm wrong ? my dbmetal
is obsolete and produce outdated files, with wrong namespaces ? have i
to include - simply for compile DBLinQ files the mysql ado.net
assembly ? Is there an hint i missed to use MySQL with changing
namespaces ?
Many thx for you answers.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---