|
645 | 645 |
|
646 | 646 | In addition, temporary keys have no <xref:System.Data.Metadata.Edm.EntitySet> or key values, but permanent keys do. |
647 | 647 |
|
648 | | - The equivalent method for this operator is <xref:System.Data.EntityKey.Equals%28System.Data.EntityKey%29?displayProperty=nameWithType></format> |
649 | | - </remarks> |
650 | | - </Docs> |
651 | | - </Member> |
652 | | - <Member MemberName="op_Inequality"> |
653 | | - <MemberSignature Language="C#" Value="public static bool op_Inequality (System.Data.EntityKey key1, System.Data.EntityKey key2);" /> |
654 | | - <MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(class System.Data.EntityKey key1, class System.Data.EntityKey key2) cil managed" /> |
655 | | - <MemberSignature Language="DocId" Value="M:System.Data.EntityKey.op_Inequality(System.Data.EntityKey,System.Data.EntityKey)" /> |
656 | | - <MemberType>Method</MemberType> |
657 | | - <AssemblyInfo> |
658 | | - <AssemblyName>System.Data.Entity</AssemblyName> |
659 | | - <AssemblyVersion>4.0.0.0</AssemblyVersion> |
660 | | - </AssemblyInfo> |
661 | | - <ReturnValue> |
662 | | - <ReturnType>System.Boolean</ReturnType> |
663 | | - </ReturnValue> |
664 | | - <Parameters> |
665 | | - <Parameter Name="key1" Type="System.Data.EntityKey" /> |
666 | | - <Parameter Name="key2" Type="System.Data.EntityKey" /> |
667 | | - </Parameters> |
668 | | - <Docs> |
669 | | - <param name="key1">A <see cref="T:System.Data.EntityKey" /> to compare.</param> |
670 | | - <param name="key2">A <see cref="T:System.Data.EntityKey" /> to compare.</param> |
671 | | - <summary>Compares two <see cref="T:System.Data.EntityKey" /> objects.</summary> |
672 | | - <returns> |
673 | | - <see langword="true" /> if the <paramref name="key1" /> and <paramref name="key2" /> values are not equal; otherwise, <see langword="false" />.</returns> |
674 | | - <remarks> |
675 | | - <format type="text/markdown"><![CDATA[ |
676 | | -
|
677 | | -## Remarks |
678 | | - Temporary keys have different comparison semantics than permanent keys: |
679 | | -
|
680 | | -- Temporary keys use reference equality. That is, two references to the exact same temporary <xref:System.Data.EntityKey> instance are equal but no other <xref:System.Data.EntityKey> instances are equal. |
681 | | -
|
682 | | -- Permanent keys determine equality based on the values of the contained key properties and the <xref:System.Data.Metadata.Edm.EntitySet>. That is, you can have two separate <xref:System.Data.EntityKey> instances that are equal if their entity sets are the same and their key values are equal. |
683 | | -
|
684 | | - In addition, temporary keys have no <xref:System.Data.Metadata.Edm.EntitySet> or key values, but regular keys do. |
685 | | -
|
686 | | - The equivalent method for this operator is <xref:System.Data.EntityKey.Equals%28System.Data.EntityKey%29?displayProperty=nameWithType>.]]></format> |
| 648 | + The equivalent method for this operator is <xref:System.Data.EntityKey.Equals%28System.Data.EntityKey%29?displayProperty=nameWithType>.]]> </format> |
687 | 649 | </remarks> |
688 | 650 | </Docs> |
689 | 651 | </Member> |
|
723 | 685 |
|
724 | 686 | - Permanent keys determine equality based on the values of the contained key properties and the <xref:System.Data.Metadata.Edm.EntitySet>. That is, you can have two separate <xref:System.Data.EntityKey> instances that are equal if their entity sets are the same and their key values are equal. |
725 | 687 |
|
726 | | - In addition, temporary keys have no <xref:System.Data.Metadata.Edm.EntitySet> or key values, but regular keys do.]]></format> |
| 688 | + In addition, temporary keys have no <xref:System.Data.Metadata.Edm.EntitySet> or key values, but regular keys do. |
| 689 | +
|
| 690 | + The equivalent method for this operator is <xref:System.Data.EntityKey.Equals%28System.Data.EntityKey%29?displayProperty=nameWithType>.]]></format> |
727 | 691 | </remarks> |
728 | 692 | </Docs> |
729 | 693 | </Member> |
|
0 commit comments