2 overrides of IsForeignKey
System.Data.Linq (2)
Mapping\AttributedMetaModel.cs (1)
1398public override bool IsForeignKey {
Mapping\MappedMetaModel.cs (1)
1301public override bool IsForeignKey {
18 references to IsForeignKey
System.Data.Linq (15)
ChangeProcessor.cs (4)
165if (assoc.IsForeignKey) { 214Debug.Assert(assoc.IsForeignKey, "Foreign key clearing should only happen on foreign key side of the association."); 547if (assoc.IsForeignKey) { 672if (assoc.IsForeignKey) {
ChangeTracker.cs (3)
314if (assoc.DeleteOnNull && assoc.IsForeignKey && !assoc.IsNullable && !assoc.IsMany && 570if (assoc.IsForeignKey) { 807if (assoc.IsForeignKey) {
DataServices.cs (1)
70if (mm.Association.IsForeignKey == isForeignKey) {
SqlClient\Query\SqlBinder.cs (1)
1372SqlJoinType joinType = (link.Member.Association.IsForeignKey && !link.Member.Association.IsNullable)
SqlClient\Query\Translator.cs (5)
342if (link1 != null && link1.Member.IsAssociation && link1.Member.Association.IsForeignKey) { 350if (link2 != null && link2.Member.IsAssociation && link2.Member.Association.IsForeignKey) { 439if ((link1 != null && link1.Member.IsAssociation && link1.Member.Association.IsForeignKey) || 440(link2 != null && link2.Member.IsAssociation && link2.Member.Association.IsForeignKey)) { 450if (!(link != null && link.Member.IsAssociation && link.Member.Association.IsForeignKey)) {
SqlClient\SqlBuilder.cs (1)
158if (assoc.IsForeignKey) {
System.Web.DynamicData (3)
DynamicData\ModelProviders\DLinqAssociationProvider.cs (3)
49if (association.IsForeignKey) { 65if (!association.IsForeignKey && !association.ThisKeyIsPrimaryKey) { 68if (association.IsForeignKey && !association.OtherKeyIsPrimaryKey) {