3 overrides of IsAssociation
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
1131
public override bool
IsAssociation
{
Mapping\MappedMetaModel.cs (2)
1086
public override bool
IsAssociation
{
1777
public override bool
IsAssociation
{
46 references to IsAssociation
System.Data.Linq (42)
ChangeConflicts.cs (1)
305
if (!metaMember.
IsAssociation
&& this.HasMemberConflict(metaMember)) {
ChangeProcessor.cs (2)
170
Debug.Assert(assoc.OtherMember.
IsAssociation
, "OtherMember of the association is expected to also be an association.");
215
Debug.Assert(assoc.ThisMember.
IsAssociation
, "Expected ThisMember of an association to always be an association.");
ChangeTracker.cs (10)
450
if (!mm.
IsAssociation
&& (this.Type.Type == instanceType || mm.DeclaringType.Type.IsAssignableFrom(instanceType))) {
474
if (mm.
IsAssociation
&& mm.Association.IsMany) {
484
System.Diagnostics.Debug.Assert(!mm.
IsAssociation
);
515
if (mm.
IsAssociation
&& mm.Association.ThisKey.Contains(key)) {
535
if (!mm.
IsAssociation
) {
651
if (mm.
IsAssociation
&& mm.Association.IsMany) {
683
if (!mm.
IsAssociation
&& this.HasChangedValue(mm)) {
706
return !member.
IsAssociation
&&
722
IEnumerable<MetaDataMember> deferredMembers = this.Type.PersistentDataMembers.Where(p => p.IsDeferred && !p.
IsAssociation
);
758
IEnumerable<MetaDataMember> deferredMembers = this.Type.PersistentDataMembers.Where(p => p.IsDeferred && !p.
IsAssociation
);
DataServices.cs (7)
68
if (mm.
IsAssociation
) {
236
if (member.
IsAssociation
) {
289
Type elemType = member.
IsAssociation
&& member.Association.IsMany
311
this.refersToPrimaryKey = this.member.
IsAssociation
&& this.member.Association.OtherKeyIsPrimaryKey;
329
if (this.member.
IsAssociation
) {
402
MetaType mt = this.member.
IsAssociation
? this.member.Association.OtherType : this.member.DeclaringType;
416
ReadOnlyCollection<MetaDataMember> members = this.member.
IsAssociation
? this.member.Association.OtherKey : this.member.DeclaringType.IdentityMembers;
Mapping\AttributedMetaModel.cs (2)
471
if (!mem.
IsAssociation
) {
801
this.associations = this.dataMembers.Where(m => m.
IsAssociation
).Select(m => m.Association).ToList().AsReadOnly();
Mapping\MappedMetaModel.cs (3)
465
if (!mem.
IsAssociation
) {
881
this.associations = this.dataMembers.Where(m => m.
IsAssociation
).Select(m => m.Association).ToList().AsReadOnly();
1275
if (omm.
IsAssociation
&& omm != this.thisMember && omm.MappedName == this.thisMember.MappedName) {
SqlClient\Query\QueryConverter.cs (1)
2414
if (!mm.
IsAssociation
&& !mm.IsDbGenerated && !mm.IsVersion) {
SqlClient\Query\SqlBinder.cs (3)
677
if (mm.
IsAssociation
&& ma.Expression != null && ma.Expression.NodeType != SqlNodeType.Link
685
else if (mm.
IsAssociation
|| mm.IsDeferred) {
1367
&& link.Member.
IsAssociation
SqlClient\Query\Translator.cs (10)
91
if (allowDeferred && (mm.
IsAssociation
|| mm.IsDeferred)) {
93
if (link != null && mm != link.Member && mm.
IsAssociation
107
else if (!mm.
IsAssociation
) {
119
if (member.
IsAssociation
) {
244
if (mm.
IsAssociation
) {
342
if (link1 != null && link1.Member.
IsAssociation
&& link1.Member.Association.IsForeignKey) {
350
if (link2 != null && link2.Member.
IsAssociation
&& link2.Member.Association.IsForeignKey) {
439
if ((link1 != null && link1.Member.
IsAssociation
&& link1.Member.Association.IsForeignKey) ||
440
(link2 != null && link2.Member.
IsAssociation
&& link2.Member.Association.IsForeignKey)) {
450
if (!(link != null && link.Member.
IsAssociation
&& link.Member.Association.IsForeignKey)) {
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1370
Type elemType = link.Member.
IsAssociation
&& link.Member.Association.IsMany
SqlClient\SqlBuilder.cs (2)
93
if (!mm.
IsAssociation
) {
156
if (mm.IsDeclaredBy(type) && mm.
IsAssociation
) {
System.Web.DynamicData (4)
DynamicData\DynamicDataExtensions.cs (1)
270
if (member.
IsAssociation
&& !member.Association.IsMany) {
DynamicData\ModelProviders\DLinqColumnProvider.cs (3)
26
_isAssociation = member.
IsAssociation
;
27
IsCustomProperty = !member.
IsAssociation
&& Member.DbType == null;
28
Nullable = Member.
IsAssociation
? Member.Association.IsNullable : Member.CanBeNull;