Commit Graph
49 Commits
Author SHA1 Message Date
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
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
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
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
Jonathan Pryor 21b3da52b4 * **/*: Flush. (Updates to sync with DbLinq r1020, adding additional
tests generated from gui-compare differences.)

svn path=/trunk/mcs/; revision=130301
2009-03-26 15:09:07 +00:00
Jonathan Pryor fd45105d28 * src/DbLinq/Data/Linq/Database/Implementation/TransactionalCommand.cs,
src/DbLinq.Firebird/FirebirdDataContext.cs,
	  src/DbLinq.Ingres/IngresDataContext.cs,
	  src/DbLinq.MySql/MysqlDataContext.cs,
	  src/DbLinq.Oracle/OracleDataContext.cs,
	  src/DbLinq.PostgreSql/PgsqlDataContext.cs,
	  src/DbLinq.Sqlite/Schema/DataCommand.cs,
	  src/DbLinq.Sqlite/SqliteDataContext.cs,
	  src/DbLinq.SqlServer/SqlServerDataContext.cs,
	  src/DbLinq/Util/ReflectionUtility.cs: Make types internal so that
	  they aren't exported from System.Data.Linq.dll.

svn path=/trunk/mcs/; revision=129823
2009-03-19 21:00:27 +00:00
Jonathan Pryor 29272a265d * Makefile: Also distribute .txt files.
svn path=/trunk/mcs/; revision=129236
2009-03-13 00:56:01 +00:00
Jonathan Pryor 77c5e7353a * src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.cs:
There is no System.Vendor namespace, so don't generate one.

svn path=/trunk/mcs/; revision=129218
2009-03-12 23:07:44 +00:00
Jonathan Pryor 8f4bbb2ad0 * Makefile: Add a dist-local target and distribute all DbLinq sources.
We can't just rely on the normal System.Data.Linq.dll.sources
	  handling because ../../tools/sqlmetal also uses these sources.

svn path=/trunk/mcs/; revision=129217
2009-03-12 22:59:34 +00:00
Jonathan Pryor b5f3e00eed * src/DbLinq/System.Data.Linq/Assembly/AssemblyInfo.cs: Allow
sqlmetal.exe to access the System.Data.Linq.dll internals, as
	  sqlmetal.exe is DbMetal.exe, and needs access to (normally public)
	  DbLinq.dll types.

svn path=/trunk/mcs/; revision=129187
2009-03-12 19:43:32 +00:00
Jonathan Pryor 76dcaa699e * System.Data.Linq.dll.sources: Sort filenames (to more easily see
which DbLinq files are being excluded from the build), and add
	  additional files to the build, specifically the *SchemaLoader and
	  *DataContext types.
	* src/**: Flush to DbLinq r1013 (which allows the *SchemaLoader and
	  *DataContext types to build under MONO_STRICT).

svn path=/trunk/mcs/; revision=129185
2009-03-12 19:37:33 +00:00
Jonathan Pryor ce2c2fc5a8 Flush (should have been doing this before...).
svn path=/trunk/mcs/; revision=129183
2009-03-12 19:35:24 +00:00
Atsushi Eno a3f972be9e 2008-12-02 Atsushi Enomoto <[email protected]>
* updated to DbLinq r966.


svn path=/branches/atsushi-200810/mcs/; revision=120451
2008-12-02 02:53:50 +00:00
Atsushi Eno 987bef88b5 2008-11-25 Atsushi Enomoto <[email protected]>
* updated to DbLinq r960.


svn path=/branches/atsushi-200810/mcs/; revision=119939
2008-11-25 10:10:10 +00:00
Atsushi Eno 99e199a497 2008-11-18 Atsushi Enomoto <[email protected]>
* updated to DbLinq r947 (XmlMappingSource).


svn path=/branches/atsushi-200810/mcs/; revision=119139
2008-11-18 10:14:47 +00:00
Atsushi Eno c586247917 2008-11-12 Atsushi Enomoto <[email protected]>
* updated to DbLinq r946 (quick fix for vendor loading).


svn path=/branches/atsushi-200810/mcs/; revision=118675
2008-11-12 23:44:51 +00:00
Atsushi Eno c806452609 2008-11-12 Atsushi Enomoto <[email protected]>
* updated to DbLinq r945.
	  It is not working well wrt connectionString yet.


svn path=/branches/atsushi-200810/mcs/; revision=118662
2008-11-12 22:29:22 +00:00
Atsushi Eno a9984f1056 2008-10-24 Atsushi Enomoto <[email protected]>
* updated to DbLinq r931.


svn path=/branches/atsushi-200810/mcs/; revision=116918
2008-10-24 09:14:13 +00:00
Atsushi Eno 203e1b8ea3 2008-10-10 Atsushi Enomoto <[email protected]>
* src/DbLinq.Firebird, System.Data.Linq.dll.sources :
	  added Firebird support sources (new in DbLinq).


svn path=/branches/atsushi-200810/mcs/; revision=115419
2008-10-10 09:51:21 +00:00
Atsushi Eno cf27c37fb4 2008-10-09 Atsushi Enomoto <[email protected]>
* src/DbLinq.{Oracle|MySql|PostgreSql|Sqlite|Ingres}: new.
	* src/DbLinq : updated to DbLinq r905.
	* System.Data.Linq.dll.sources : added vendor-specific files and
	  new files in r905.


svn path=/branches/atsushi-200810/mcs/; revision=115365
2008-10-09 17:54:31 +00:00
Atsushi Eno 84a4dc433b 2008-10-08 Atsushi Enomoto <[email protected]>
* System.Data.Linq.dll.sources : fix wrong reference to EntitySet.cs.


svn path=/branches/atsushi-200810/mcs/; revision=115206
2008-10-08 13:39:20 +00:00
Atsushi Eno e0a6bf1de3 2008-10-08 Atsushi Enomoto <[email protected]>
* System.Data.Linq.dll.sources :
	  SqlServer vendor sources were missing.


svn path=/branches/atsushi-200810/mcs/; revision=115192
2008-10-08 10:23:45 +00:00
Atsushi Eno ebb8404a2e second step.
svn path=/branches/atsushi-200810/mcs/; revision=115079
2008-10-07 12:03:27 +00:00
Atsushi Eno c122ff47f6 replace it in smooth way.
svn path=/branches/atsushi-200810/mcs/; revision=115078
2008-10-07 12:00:06 +00:00
Atsushi Eno 6eb39c18ba ok, let me just add remaining stubs.
svn path=/trunk/mcs/; revision=103586
2008-05-20 16:18:05 +00:00
Atsushi Eno 9b990c3faf new stub checkin.
svn path=/trunk/mcs/; revision=103545
2008-05-20 04:47:06 +00:00
Atsushi Eno 84e445130e remove old DLinq stub first.
svn path=/trunk/mcs/; revision=103544
2008-05-20 04:44:29 +00:00
Marek Safar 3d6e98da04 2008-03-03 Marek Safar <[email protected]>
* Makefile: Build as 3.5 assembly using 2.0 profile.


svn path=/trunk/mcs/; revision=97284
2008-03-04 10:23:17 +00:00
Marek Safar 0626b468a6 Set eol-style
svn path=/trunk/mcs/; revision=97283
2008-03-04 10:19:33 +00:00
Marek Safar 1b422fefeb Moved to mainline.
svn path=/trunk/mcs/; revision=97176
2008-03-03 10:54:27 +00:00