I upgraded to Mono 2.8, and tried to use sqlmetal (see [1] for prior attempts). Mono still requires the SQL Server Browser service to be running, otherwise it can't resolve instance names (unlike MS.NET).
In any case, sqlmetal chugs along then hits an InvalidOperationException: >>> Reading schema from SqlServer database sqlmetal: System.InvalidOperationException: Operation is not valid due to the current state of the object at System.Linq.Enumerable.Single[Association] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Single[Association] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at DbMetal.Generator.Implementation.Processor.ValidateAssociations (DbLinq.Schema.Dbml.Database database, DbLinq.Schema.Dbml.Table table) [0x00000] in <filename unknown>:0 at DbMetal.Generator.Implementation.Processor.SchemaIsV id (DbLinq.Schema.Dbml.Database database) [0x00000] in <filename unknown>:0 at DbMetal.Generator.Implementation.Processor.ProcessSchema (DbMetal.Parameters parameters) [0x00000] in <filename unknown>:0 Any thoughts? Sandro [1] http://groups.google.com/group/dblinq/browse_thread/thread/afc31ecc3463d8f2/ea6a43d40d49217a?lnk=gst#ea6a43d40d49217a -- 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.
