11 references to IsConceptualNullKey
System.Data.Entity (11)
System\Data\Objects\DataClasses\EntityReference.cs (2)
115
if (!ForeignKeyFactory.
IsConceptualNullKey
(_cachedForeignKey))
358
_cachedForeignKey != null && !ForeignKeyFactory.
IsConceptualNullKey
(_cachedForeignKey) // do we have an fk?
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
559
if (reference != null && ForeignKeyFactory.
IsConceptualNullKey
(reference.CachedForeignKey))
System\Data\Objects\EntityEntry.cs (5)
1150
bool hasConceptualNullFk = ForeignKeyFactory.
IsConceptualNullKey
(reference.CachedForeignKey);
1717
if (!ForeignKeyFactory.
IsConceptualNullKey
(reference.CachedForeignKey))
3429
if (!ForeignKeyFactory.
IsConceptualNullKey
(relatedEnd.CachedForeignKey))
3447
bool hasConceptualNullFk = ForeignKeyFactory.
IsConceptualNullKey
(reference.CachedForeignKey);
3916
bool originalKeyIsConceptualNull = ForeignKeyFactory.
IsConceptualNullKey
(originalKey);
System\Data\Objects\Internal\ForeignKeyFactory.cs (1)
46
Debug.Assert(
IsConceptualNullKey
(conceptualNullKey), "The key supplied is not a null key");
System\Data\Objects\ObjectStateManager.cs (2)
521
Debug.Assert(entry.State == EntityState.Detached || !ForeignKeyFactory.
IsConceptualNullKey
(entry.EntityKey), "Found an entry with conceptual null Key=" + entry.EntityKey.ConcatKeyValue());
617
if (reference != null && ForeignKeyFactory.
IsConceptualNullKey
(reference.CachedForeignKey))