commits

date

comment

80132
by Project Collectio...
(60 downloads)
Oct 1, 2012
9:49 PM

Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563

80131
by Project Collectio...
(0 downloads)
Oct 1, 2012
9:43 PM

Checked in by server upgrade

52536
by mhunter
(143 downloads)
Jun 14, 2010
10:18 PM

Added SuppressMessage Attributes to suppress Code Analysis messages.

49702
by mhunter
(5 downloads)
May 29, 2010
1:55 AM

Feature: Changed Reflection in GetKnownTypes() to reflect over all assemblies rather than just the same one that the LINQEntityBase class is in. Allowing LINQEntityBase class to be in a seperate assembly to the Data Context it services.

45625
by mhunter
(18 downloads)
Apr 17, 2010
12:29 AM

Associated with Release: Version 1.2 Final.

*** VERSION 1.2 Final

45624
by mhunter
(0 downloads)
Apr 17, 2010
12:28 AM

Comment Change

37869
by mhunter
(80 downloads)
Nov 20, 2009
10:35 PM

Bug Fix: When EntityState == CanceNew, don't change to EntityState == Deleted when SetAsDeleteOnSubmit is called.

32319
by mhunter
(32 downloads)
Oct 19, 2009
8:47 AM

Minor Comment Change.

32318
by mhunter
(16 downloads)
Oct 19, 2009
8:45 AM

Bug Fix: Fixed Comparison bug in ShadownCompare() method.

32181
by mhunter
(20 downloads)
Oct 18, 2009
3:44 AM

Feature: If the onModifyKeepOriginal parameter on SetAsChangeTrackingRoot() is set to true, and an object is modified (i.e. EntityState == Modified) and then modified again in a way which set's it back to be the same as property values as it's original state, the entity will now have it's EntityState set to back Original (instead of remaining as EntityState == "Modified".

32177
by mhunter
(7 downloads)
Oct 18, 2009
3:02 AM

Feature: Added ShallowCompare Method, which compares the properties of two entities and returns true if all the properties match (compare LINQ to SQL ColumnAttribute properties only).

24790
by mhunter
(51 downloads)
Aug 9, 2009
9:41 AM

Bug Fix: If the onModifyKeepOriginal parameter on SetAsChangeTrackingRoot() is set to true and an object is detached from a collection (i.e. x.remove(y)), the object was not being attached properly to the data context when SynchroniseWithDataContext() was called, causing an error to be thrown. Thanks Yaki for finding the issue!
ALSO: added comments at top of LINQEntityBase.cs so you can see the changes between version easier.

24047
by mhunter
(30 downloads)
Jul 23, 2009
10:50 AM

Bug Fix: If the entity's state is "New", LINQ to SQL Tries to attach an FK references as "New" as well - even though this was unintended. Fixed it so it does not try and insert FK referenced entities when adding a new object. Thanks Mark & Stephan for finding/fixing the issue.

22434
by mhunter
(119 downloads)
Mar 10, 2009
12:17 PM

Minor Change: Changed Caching to use Types instead of strings for keys.
*** VERSION 1.1

22432
by mhunter
(26 downloads)
Mar 10, 2009
12:05 PM

Feature: Implemented caching for properties which should significanly speed up creation of entity instances. Thanks Johannes!

21540
by mhunter
(95 downloads)
Jan 29, 2009
10:04 AM

Fix/Feature: If you delete an entity while it is in the new state (and therefore has not been submitted to the database yet), the entity will be removed from the scope of the entity tree during the call SyncronisationWithDataContext(), and as there are no references to the entity anymore it will be garbage collected.

21289
by mhunter
(53 downloads)
Jan 19, 2009
9:52 AM

Made it clearer where checking if current object is root

20591
by mhunter
(47 downloads)
Jan 8, 2009
4:59 AM

Bug Fix: issue where setting a value FK value via object reference did not result in entity being flagged as modified.

17306
by mhunter
(191 downloads)
Oct 22, 2008
12:20 AM

NOTE: Requires Visual Studio 2008 SP1 / .NET 3.5 SP1 due to use of [DataContract(IsReference=true)] attribute, which is not available in .NET 3.5
Feature: Serialization will now use entity reference notation, rather than duplicating entities (see DataContract attribute "IsReference" property in MSND documentation). This also means that serialization string is smaller as no data is duplicated, and it also means that when de-serializing entity references will be resolved correctly, rather than making copies of objects.
Bug Fix: Fixed deletion issue where entities with multiple parents caused exception when deletion logic attempted to delete the object twice.

13994
by mhunter
(107 downloads)
Aug 8, 2008
4:34 AM

Bug Fix: When Subclassing an entity class, SynchroniseWithDataContext() fails because the sub class is not a table type. Fixed by adding GetEntityType() method (used instead of GetType()) which returns the entity type by finding the parent class with the table attribute set).

12290
by mhunter
(30 downloads)
Jul 23, 2008
11:39 AM

Bug Fix: Fixed the case when a column is database generated (such as an Identity column) where the object was being marked as modified after it returned from be submitted to the database. The modification generated from the database is now being ignored and the object is no longer marked as modified. Thanks Johannes!

10999
by mhunter
(61 downloads)
Jun 27, 2008
11:50 PM

Bug Fix: In the case where a child entity is being detached from a parent entity which is NOT change tracked, a null check was missing - this has been added (thanks Ron!).

10648
by mhunter
(19 downloads)
Jun 22, 2008
10:38 AM

Fixed issue with tables that are added that do not have primary keys. If no primary key, there's no INotifyPropertyChange/INotifyPropertyChanging Interface implemented - no longer crashes when these interfaces do not exist.

9642
by mhunter
(13 downloads)
Jun 13, 2008
11:35 AM

Minor Update

9640
by mhunter
(4 downloads)
Jun 13, 2008
11:32 AM

1. Extended SetAsInsertOnSubmit(), SetAsUpdateOnSubmit(), SetAsDeletedOnSubmit(), SetAsNoChangeOnSubmit() methods with optional parameters to apply operation to child entities.
2. Breaking Change: SetAsUpdateOnSubmit KeepOriginal has been replaced with a parameter that lets you set the original entitity value to use - this is similar to Data Context's Attach(current,original) method.
3. Exposed ShallowCopy() method - it is no longer private so you can use it if you want in combination with Change 2. above.