Hi all,

I am trying to create a MySQL LINQ Class using Mono Develop's DB mapping
tool, and having a problem.

When I try and create the class I get the following error:

Cannot create LINQ class >
MonoDevelop.Database.Sql.SqlMetalExecException: sqlmetal: Object reference
not set to an instance of an object
The DB connection works. The MySQL DLL's are installed in the GAC

I am using Monodevelop 2.4 on Mac OSX with the latest Mono runtime (2.10.x)

If I run SqlMetal from terminal with command line arguments to generate a
class I get Abort trap error message:

sudo mono sqlmetal.exe -u user -p *** -s localhost --provider=MySQL -d
Dbname -code=Output.cs

DbLinq Database mapping generator 2008 version 0.20
for Microsoft (R) .NET Framework version 3.5
Distributed under the MIT licence (http://linq.to/db/license)

>>> Reading schema from MySQL database
<<< writing C# classes in file 'Output.cs'
Abort trap

Any help would be greatly appreciated.

Thanks,

JD

-- 
Regards,

James Darbyshire
[email protected]
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to