src/Shared/EntityFramework/Core/Metadata/Edm/util.cs
// <summary>
// Check to make sure the given item do have identity
// </summary>
// <param name="item"> The item to check for valid identity </param>
// <param name="argumentName"> The name of the argument </param>
Check to make sure the given item do have identity
Check to make sure the given item do have identity
[Conditional("DEBUG")]
        internal static void AssertItemHasIdentity(MetadataItem item, string argumentName)
        {
            Check.NotNull(item, argumentName);
            DebugCheck.NotEmpty(item.Identity);
        }
[ Conditional ( " " ) ] internal static void AssertItemHasIdentity ( MetadataItem item , string argumentName ) { Check . NotNull ( item , argumentName ) ; DebugCheck . NotEmpty ( item . Identity ) ; }
Check to make sure the given item do have identity
Check to make sure the given item do have identity
item
MetadataItem
The item to check for valid identity
The item to check for valid identity
argumentName
string
The name of the argument
The name of the argument