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