I went back and regenerated the files, and confirmed it's as Mike has said for me as well, only with MySQL. I didn't look closely enough at the C# file, but it is in fact generating the columns, but not in the .dbml file. Same with VisualMetal, it seems to be aware that there are in fact columns there, but it will not populate the Columns window with them. I am also using 0.18.
-daniel On Sep 24, 9:45 am, Mike <[EMAIL PROTECTED]> wrote: > I've also ran into this problem with trying to generate a dbml from > postgres. Using DbMetal from the command line to generate a dbml, the > column definitions are not generated. I ran it through the debugger > and the column data is definitely pulled from the database properly, > and VisualMetal even shows the column count. > To make things even weirder, when i generate a C# file, it properly > grabs all the column definitions and everything works perfectly. > I'm hoping it's something simple, since it's being retrieved from the > database properly, and it's generating code, hopefully that narrows it > to a small path of code to track down. > I am using the 0.18 release. > > Mike > > On Sep 24, 1:43 am, "Pascal Craponne" <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > I'll take a look at this tonight. > > > Pascal. > > > On Wed, Sep 24, 2008 at 03:47, bryan costanich <[EMAIL PROTECTED]>wrote: > > > > I just walked through the whole thing. i believe it is in the > > > serialization of the database schema (processor.cs, line 119). All the > > > tables and columns are present in the schema all the way up until > > > there, so i assume it's just not serializing correctly. > > > > i'll take a deeper look into it tomorrow. in the meantime, i can give > > > you a mysql database create script that will create a database that > > > you can repro it if you'd like. > > > > On Sep 23, 5:48 pm, bryan costanich <[EMAIL PROTECTED]> wrote: > > > > I see no errors in MySQL administrator. i'm going to debug now, see > > > > what i can find. > > > > > On Sep 23, 2:11 pm, "Pascal Craponne" <[EMAIL PROTECTED]> wrote: > > > > > > That should not happen this way. DbMetal is supposed to work, and > > > > > works > > > > > correctly with our test database.Can you help? > > > > > 1. You could check if MySQL logs an error. > > > > > 2. Then you could try to debug DbMetal with its source and see what > > > happens. > > > > > > Thanks, > > > > > Pascal. > > > > > > On Tue, Sep 23, 2008 at 00:10, bryan costanich < > > > [EMAIL PROTECTED]>wrote: > > > > > > > I used DbMetal to create my DBML file, it created without error, but > > > > > > it didn't include any of the column definitions. just the tables. > > > > > > did > > > > > > i do something wrong, or is it just not working yet? this is what it > > > > > > looks like: > > > > > > > <?xml version="1.0"?> > > > > > > <Database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > > > Name="TixSmartLocalBoxOffice" > > > > > > EntityNamespace="TixSmart.BoxOffice.Local.DL" > > > > > > ContextNamespace="TixSmart.BoxOffice.Local.DL" > > > > > > Class="TixSmartLocalBoxOffice" > > > BaseType="DbLinq.Data.Linq.DataContext" > > > > > > Provider="MySql" xmlns="http://schemas.microsoft.com/linqtosql/dbml/ > > > > > > 2007"> > > > > > > <Table Name="tixsmartlocalboxoffice.boxoffice" Member="BoxOffices"> > > > > > > <Type Name="BoxOffice" /> > > > > > > </Table> > > > > > > <Table Name="tixsmartlocalboxoffice.boxofficeeventaudit" > > > > > > Member="BoxOfficeEventAudits"> > > > > > > <Type Name="BoxOfficeEventAudit" /> > > > > > > </Table> > > > > > > .......[other tables omitted] > > > > > > </Database> > > > > > > -- > > > > > Pascal. > > > > > > jabber/gtalk: [EMAIL PROTECTED] > > > > > msn: [EMAIL PROTECTED] > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---
