Commit Graph
82 Commits
Author SHA1 Message Date
Marek Safar 6e6ad378c0 Fixes c2ac44d3dd 2014-09-01 12:43:32 +02:00
Marek Safar c2ac44d3dd [system.data.linq] Delay reflection hit to actual execution point. Workarounds #22522 2014-09-01 11:22:57 +02:00
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Miguel de Icaza 60fa2525fb [build] the csproj files can now do a full class libraries build 2014-05-25 00:47:09 -04:00
Miguel de Icaza 3599b97b57 [build] Fresh new csproj files based on the updated build system. 2014-05-23 17:15:53 -04:00
Miguel de Icaza d79280674b Refreshed the CSProj files to use the new output build directory 2014-04-18 18:15:35 -04:00
Marek Safar b888cf5f04 Update csproj files 2013-07-02 13:45:15 +02:00
Marek Safar cf650fb3fb Update 4.5 bcl solution files 2013-02-21 17:25:06 +01:00
Marek Safar 78318771d5 Update csproj files 2013-02-07 16:34:23 +01:00
Zoltan Varga b5afc5a2ae Fix up class library test so they at least compile when running make check in runtime/. Add a 'test' target to compile them. 2012-10-18 16:02:19 +02:00
Marek Safar 2d2796f07b Fix System.Core reference in VS projects 2012-06-26 13:26:56 +01:00
Atsushi Eno 73a79debf6 add bonus mobile build in System.Data.Linq (not sure if it works well yet). 2012-04-20 23:11:34 +09:00
Marek Safar 8074a7d31e Update csproj files 2012-04-05 15:46:25 +01:00
Marek Safar 2869713c48 Fix some compiler warnings 2012-02-17 12:37:25 +00:00
Marek Safar 88fde5a568 Add VS project files for test project 2012-02-10 14:56:23 +00:00
Marek Safar 91d40d754d Update class library csproj files 2012-02-09 11:25:18 +00:00
Marek Safar 3ecb5142f6 Introduce separate .net 4.5 profile 2011-09-23 19:37:04 +01:00
Marek Habersack 5ccf8a79ee [dblinq] Fix compilation 2011-06-15 12:06:28 +02:00
Andres G. Aragoneses cbefc781e5 System.Data.Linq: Fix DataContext.ExecuteQuery<T>(..) to allow primitive types for T
This should fix https://bugzilla.novell.com/show_bug.cgi?id=699803
2011-06-14 14:55:01 +01:00
Miguel de Icaza 38253abf8c Add solution files 2011-02-12 22:09:49 -05:00
Jonathan Pryor 31190e15c3 Distribute DbmlSchema.xsd so that tarball builds work. 2010-09-14 06:39:57 -04:00
Jonathan Pryor 7d8ee77c4a [sqlmetal] Fix /code from DBML file.
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.
2010-09-13 13:34:36 -04:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
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.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
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.
2010-07-25 20:17:39 +05:30
Jonathan Pryor 34d108e9ea * class/System.Data.Linq/src/**/*: Sync with DbLinq r1403.
This is DbLinq 0.20 + fixes.  Primarily fixes sqlmetal, codegen, etc.
	* tools/sqlmetal/sqlmetal.exe.source: Add additional files.

svn path=/trunk/mcs/; revision=155323
2010-04-13 19:19:47 +00:00
Raja R Harinath 4e8f822589 tools/sqlmetal/AssemblyInfo.cs: Make internals visible to the sqlmetal testsuite.
class/System.Data.Linq/src/DbLinq/System.Data.Linq/Assembly/AssemblyInfo.cs: Likewise.

svn path=/trunk/mcs/; revision=154360
2010-03-29 10:46:03 +00:00
Jonathan Pryor 0dfd8811fa * src/**/*: Sync with DbLinq r1294. This is DbLinq 0.19. Fixes
DataContext.Transaction.

svn path=/trunk/mcs/; revision=148773
2009-12-18 20:53:32 +00:00
Jonathan Pryor e431173171 * class/System.Data.Linq/src/**/*,
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
2009-12-08 17:19:50 +00:00
Zoltan Varga 7c94655376 2009-11-07 Zoltan Varga <[email protected]>
* System.Data.Linq.dll.sources: Use MySqlDataContext.cs instead of
	MysqlDataContext.cs.

svn path=/trunk/mcs/; revision=145623
2009-11-06 23:10:07 +00:00
Jonathan Pryor 7115c2c1da * src/**/*: Sync with DbLinq r1265. This fixes sqlmetal (it shouldn't
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
2009-11-06 21:38:28 +00:00
Jonathan Pryor 51fe9f0e89 * Makefile: Also rsync dblinq2007/examples sources.
* 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
2009-09-04 20:50:26 +00:00
Jonathan Pryor 263d129a2d * src/**/*: Sync with DbLinq r1217. This removes a slew of
FieldAccessExceptions when running the DbLinq unit tests.

svn path=/trunk/mcs/; revision=141344
2009-09-04 17:22:41 +00:00
Jonathan Pryor a49f30b844 * src/**/*: Sync with DbLinq r1215. This fixes the
../../tools/sqlmetal build.

svn path=/trunk/mcs/; revision=141172
2009-09-02 19:42:28 +00:00
Jonathan Pryor cc5ca17ec0 * src/**/*: Sync with DbLinq r1214. This integrates several
performance patches from Zoltan Varga, and adds a
	  DataContextSubclass(string) constructor to sqlmetal output.

svn path=/trunk/mcs/; revision=141160
2009-09-02 17:56:50 +00:00
Jonathan Pryor 2969606fa4 * src/**/*: Sync with DbLinq r1200. Among other fixes, this fixes an
issue where AttributeMappingSource.GetModel().GetTables() would 
	  return duplicate types, which was unexpected by Marek Habersack.

svn path=/trunk/mcs/; revision=136871
2009-06-25 18:57:33 +00:00
Jonathan Pryor 177c4d7469 * src/**/*, tests/**/*: Sync with DbLinq r1180. Gets unit tests into
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
2009-06-19 21:14:10 +00:00
Marek Safar 6f1d5e5874 More work on 4.0 profile
svn path=/trunk/mcs/; revision=135454
2009-06-04 16:56:17 +00:00
Jonathan Pryor b55df3bcb0 * src/DbLinq/Data/Linq/Sugar/Implementation/QueryCache.cs: Temporarily
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
2009-05-14 16:36:54 +00:00
Jonathan Pryor 74bba50348 * Makefile: Add 'update-dblinq' target, which copies files from my
dblinq checkout into src.
	* System.Data.Linq.dll.sources, System.Data.Linq_test.dll.sources: Add
	  additional files.
	* src/**/*: Flush; syncs to DbLinq r1073, greatly improves object
	  tracking support, more tests....

svn path=/trunk/mcs/; revision=134139
2009-05-14 15:09:36 +00:00
Jonathan Pryor e43cb181c3 * src/**/*: Add missing files (doh!). Fixes the build.
svn path=/trunk/mcs/; revision=132643
2009-04-25 00:52:17 +00:00
Jonathan Pryor f77b5feb60 * src/**/*: Flush; syncs to DbLinq r1053. Adds
DataContext(string,MappingSource) support, the beginnings of object
	  tracking, more tests...

svn path=/trunk/mcs/; revision=132640
2009-04-24 23:47:48 +00:00
Jonathan Pryor a5974c2487 * **/* (svn:ignore): Ignore generated files and directories.
* src/**/*: Flush; syncs to DbLinq r1043.

svn path=/trunk/mcs/; revision=131354
2009-04-08 20:07:26 +00:00
Raja R Harinath 1d50386bfb Ensure Test/ exists in dist tarballs and checkouts
svn path=/trunk/mcs/; revision=131216
2009-04-07 11:06:59 +00:00
Jonathan Pryor 4789af4bc6 * Makefile: Remove make warning about overriding dist-local.
svn path=/trunk/mcs/; revision=130704
2009-03-31 20:05:31 +00:00
Jonathan Pryor ff693e990f * System.Data.Linq.dll.sources: Remove
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
2009-03-30 17:09:45 +00:00
Jonathan Pryor 0017f47bc6 * src/DbLinq.sln,
src/DbLinq.SqlServer/Test/DbLinq.SqlServer_test_ndb.csproj: Flush;
	  syncs to DbLinq r1029.
	* src/DbLinq.suo: Delete.
	* src (svn:ignore): Ignore DbLinq.suo.
	* src/DbLinq/Test/NullProvider.cs: Default initialize the
	  ConnectionString to "" so that the MsSqlDataContextTest tests pass.
	* System.Data.Linq_test.dll.sources: Add 
	  src/DbLinq.SqlServer/Test/MsSqlDataContextTest.cs.

svn path=/trunk/mcs/; revision=130422
2009-03-27 19:30:04 +00:00
Jonathan Pryor 103cbe03fd * src/DbLinq/Data/Linq/Table.cs: Add an explicit
IEnumerable<TEntity>.GetEnumerator() implementation to Table<TEntity>.
	  This is done for cor-compare compatibility with .NET.

svn path=/trunk/mcs/; revision=130333
2009-03-26 20:04:06 +00:00
Jonathan Pryor 1f0a2d7e78 * Test/: Added (though empty), to allow building unit tests located in
src/*/Test/**.
	* System.Data.Linq_test.dll.sources: Added; database-less unit tests.

svn path=/trunk/mcs/; revision=130317
2009-03-26 17:26:16 +00:00
Jonathan Pryor f2a3e4abcb * src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
* Makefile: Build against System.Runtime.Serialization.dll so that
	  Binary can use the [DataContract] attribute.

svn path=/trunk/mcs/; revision=130306
2009-03-26 16:01:10 +00:00
Jonathan Pryor 455e8d330a * **/*: Flush. (Updates to sync with DbLinq r1026, correcting tests
so that they build under Mono for testing System.Data.Linq.dll.)

svn path=/trunk/mcs/; revision=130303
2009-03-26 15:39:53 +00:00