Inline...

On Sat, 2009-12-12 at 17:43 -0800, Truezplaya wrote:
> I am brand new to this and i am having some problems. I have download
> 0.18,good start!

0.18 is ancient, and svn trunk has many, many fixes.  I'm aiming for a
0.19 release before the end of the year.

> . I have found the run_myMetal.bat after editing
> however the cmd window dissapears really quickly and i believe it is
> erroring as no file is being generated. Any ideas on keeping this
> window open?

Don't launch it from Explorer.  Instead, launch it from a CMD.EXE
instance (command line), so that you can view any output and errors.

> Also if the file is being created where abouts would it live? i
> understand that it would be called the same as your DB Name.

If it's generated, it should be generated in the same directory as
run_myMetal.bat, as Northwind.cs.

Note, however, three things:

1. run_myMetal.bat (and others) requires a MySQL server on localhost
with the Northwind tables.

2. Consequently...you need to have a MySQL server running on localhost
that has the Northwind tables, with a valid user 'LinqUser' and password
'linq2'.

You can create such tables using
examples/DbLinq.MySql.Example/sql/create_Northwind.sql, but the
ruN_myMetal.bat script will not do so.

3. It shouldn't be necessary for you to run run_myMetal.bat anyway,
as ./examples/DbLinq.MySql.Example/nwind/Northwind.cs should be the same
file that run_myMetal.bat would generate in the first place.

Consequently, if you need Northwind entity definitions, just use the
Northwind.cs example file.

Far more likely is that you'd want to run DbMetal against your MySQL
database to generate entities for your current tables, and not generate
something specific to Northwind (with a "Northwind.cs" filename and
"nwind" namespace name).  Thus, you should use run_myMetal.bat as a
template for what to start with, and change the command line arguments
accordingly for your particular table (e.g. change -user, -password, and
-namespace).

 - Jon


--

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