3 overrides of Association
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
1218
public override MetaAssociation
Association
{
Mapping\MappedMetaModel.cs (2)
1123
public override MetaAssociation
Association
{
1810
public override MetaAssociation
Association
{
42 references to Association
System.Data.Linq (35)
ChangeProcessor.cs (1)
178
if (assoc.OtherMember.
Association
.IsMany) {
ChangeTracker.cs (4)
474
if (mm.IsAssociation && mm.
Association
.IsMany) {
503
if (!am.
Association
.IsMany) {
515
if (mm.IsAssociation && mm.
Association
.ThisKey.Contains(key)) {
651
if (mm.IsAssociation && mm.
Association
.IsMany) {
DataServices.cs (9)
69
MetaType otherType = mm.
Association
.OtherType;
70
if (mm.
Association
.IsForeignKey == isForeignKey) {
79
if (mm.
Association
.IsMany) {
237
MetaAssociation association = member.
Association
;
289
Type elemType = member.IsAssociation && member.
Association
.IsMany
311
this.refersToPrimaryKey = this.member.IsAssociation && this.member.
Association
.OtherKeyIsPrimaryKey;
330
keys = this.member.
Association
.ThisKey;
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 (1)
801
this.associations = this.dataMembers.Where(m => m.IsAssociation).Select(m => m.
Association
).ToList().AsReadOnly();
Mapping\MappedMetaModel.cs (1)
881
this.associations = this.dataMembers.Where(m => m.IsAssociation).Select(m => m.
Association
).ToList().AsReadOnly();
SqlClient\Query\SqlBinder.cs (2)
1372
SqlJoinType joinType = (link.Member.
Association
.IsForeignKey && !link.Member.
Association
.IsNullable)
SqlClient\Query\Translator.cs (13)
95
&& !mm.
Association
.IsMany
120
SqlExpression[] exprs = new SqlExpression[member.
Association
.ThisKey.Count];
122
MetaDataMember mm = member.
Association
.ThisKey[i];
125
MetaType otherType = member.
Association
.OtherType;
246
MetaType otherType = mm.
Association
.OtherType;
253
MetaDataMember metaMember = mm.
Association
.OtherKey[i];
260
Expression expr = TranslateAssociation(this.services.Context, mm.
Association
, source, keyExprs, lex);
267
if (mm.
Association
.IsMany) {
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 (3)
157
MetaAssociation assoc = mm.
Association
;
171
MetaDataMember otherMember = mm.
Association
.OtherMember;
173
string delConstr = otherMember.
Association
.DeleteRule;
System.Web.DynamicData (7)
DynamicData\DynamicDataExtensions.cs (1)
270
if (member.IsAssociation && !member.
Association
.IsMany) {
DynamicData\ModelProviders\DLinqAssociationProvider.cs (5)
17
MetaAssociation association = column.Member.
Association
;
32
int count = column.Member.
Association
.ThisKey.Count;
34
MetaDataMember thisKeyMetaDataMember = column.Member.
Association
.ThisKey[i];
35
MetaDataMember otherKeyMetaDataMember = column.Member.
Association
.OtherKey[i];
94
} else if (association.OtherMember == null || association.OtherMember.
Association
.IsMany) {
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
28
Nullable = Member.IsAssociation ? Member.
Association
.IsNullable : Member.CanBeNull;