Questions tagged [sqlmetal]

The SqlMetal command-line tool generates code and mapping for the LINQ to SQL component of the .NET Framework.

The SqlMetal command-line tool generates code and mapping for the LINQ to SQL component of the .NET Framework.

93 questions
0
votes
1 answer

How does sqlmetal generate association names?

The association names sqlmetal generates have been the source of much frustration. Sometimes the association is simply the column name with "Id" taken off the end, sometimes it generates an association name based on the foreign key constraint…
naasking
  • 2,514
  • 1
  • 27
  • 32
0
votes
1 answer

Sqlmetal failing to generate dbml file for SQL Server Compact Edition 3.5 db

I can't seem to generate a dbml file using Sqlmetal for a simple SSCE 3.5 db. I am using the VS command prompt, am sitting in the VS project directory that contains the db, and then enter the following Sqlmetal command at the prompt : sqlmetal…
Bazza Formez
  • 179
  • 5
  • 16
0
votes
2 answers

Ignore Code Analysis for SqlMetal generated files

I'm developing a C# project which includes a SqlMetal generated file. I'd like to use Code Analysis. I've turned on "Suppress results from generated code" in the Code Analysis options, but it still reports on the SqlMetal classes. Is there some way…
Whatsit
  • 10,227
  • 11
  • 42
  • 41
1 2 3 4 5 6
7