sqlmetal.exe is supposed to allow generating source code from a .dbml file:
sqlmetal /code:foo.cs foo.dbml
However, this failed because the DbmlSchema.xsd file couldn't be found (so
that the DBML file could be validated).
Embed the DbmlSchema.xsd file so that the above `sqlmetal` command works.
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
class/System.Data.Linq/examples/**/*: Sync with DbLinq r1293. This
adds SchemaLoader support for Microsoft SQL Server, allowing sqlmetal
to generate entity stubs against SQL Server databases.
* class/System.Data.Linq/System.Data.Linq.dll.sources: Add files to the
build.
* tools/sqlmetal/sqlmetal.exe.config: Add provider entry for SQL Server.
* tools/sqlmetal/sqlmetal.exe.sources: Add additional files.
svn path=/trunk/mcs/; revision=147868
generate constructors referring to IVendor), enhances query support
so that extension methods can be used within 'select' blocks,
various FirebirdSQL fixes, etc.
svn path=/trunk/mcs/; revision=145613
* build/DbLinq.Sqlite_test_mono_strict.dll.sources: Added; .sources
file to build build/DbLinq.Sqlite_test_mono_strict.dll, the
"end-to-end" unit tests for SQLite using Mono.Data.Sqlite.
* build/Makefile: Added; builds all "end-to-end" unit tests.
* examples/**/*: Sync with DbLinq r1217; includes sources needed for
end-to-end tests located in 'build'.
svn path=/trunk/mcs/; revision=141365
issue where AttributeMappingSource.GetModel().GetTables() would
return duplicate types, which was unexpected by Marek Habersack.
svn path=/trunk/mcs/; revision=136871
a state (i.e. no release tests fail within NUnit), fixes several
bugs, massive code cleanup (#if removal), EntitySet<T> fixes,
removes some locale dependency issues, predicate building,
performance improvements, and likely more. Remove src/VisualMetal;
it's no longer used.
* Makefile (update-dblinq): Exclude more files so that there's less
"garbage" files to review on the next update.
svn path=/trunk/mcs/; revision=136523
disable QueryCache.GetFromSelectCache(), as the cache keeps breaking
for currently undiagnosed reasons. With this disabled, NerdDinner
seems to work properly.
svn path=/trunk/mcs/; revision=134143
src/DbLinq/Factory/Implementation/AbstractObjectFactory.cs, add
src/DbLinq/Data/Linq/SqlClient/Sql2008Provider.cs.
* src/**/*: Flush; syncs to DbLinq r1038, fixes
System.Data.Linq.SqlClient.Sql200?Provider cor-compare differences,
unit test execution order dependency issues, namespace names within
tests, etc.
svn path=/trunk/mcs/; revision=130561
IEnumerable<TEntity>.GetEnumerator() implementation to Table<TEntity>.
This is done for cor-compare compatibility with .NET.
svn path=/trunk/mcs/; revision=130333