1 write to type
System.Data.Linq (1)
ChangeTracker.cs (1)
253
this.
type
= type.GetInheritanceType(current.GetType());
20 references to type
System.Data.Linq (20)
ChangeTracker.cs (20)
228
return
type
.Name + ":" + GetState();
257
dirtyMemberCache = new BitArray(this.
type
.DataMembers.Count);
270
get { return this.
type
; }
349
System.Diagnostics.Debug.Assert(this.
type
.VersionMember != null || !this.
type
.HasUpdateCheck);
358
System.Diagnostics.Debug.Assert(originalState.GetType() == this.
type
.Type);
447
foreach (MetaDataMember mm in
type
.PersistentDataMembers) {
473
foreach (MetaDataMember mm in
type
.PersistentDataMembers) {
514
foreach (MetaDataMember mm in this.
type
.PersistentDataMembers) {
524
System.Diagnostics.Debug.Assert(instance.GetType() == this.
type
.Type);
621
if (this.
type
.HasInheritance) {
623
object currentDiscriminator =
type
.Discriminator.MemberAccessor.GetBoxedValue(this.current);
624
MetaType currentTypeFromDiscriminator = TypeFromDiscriminator(this.
type
, currentDiscriminator);
625
object dbDiscriminator =
type
.Discriminator.MemberAccessor.GetBoxedValue(this.original);
626
MetaType dbTypeFromDiscriminator = TypeFromDiscriminator(this.
type
, dbDiscriminator);
636
MetaType currentType =
type
.GetInheritanceType(this.current.GetType());
639
this.
type
.Discriminator.MemberAccessor.SetBoxedValue(ref current, code);
682
foreach (MetaDataMember mm in this.
type
.PersistentDataMembers) {
691
foreach (MetaDataMember mm in this.
type
.PersistentDataMembers) {
806
foreach (MetaAssociation assoc in
type
.Associations) {