Returns true if the non Key and Timestamp properties of two entities are the same

Namespace: RiaServicesContrib.Extensions
Assembly: RiaServicesContrib.EntityTools (in RiaServicesContrib.EntityTools.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool IsDuplicate<T>(
	this T entity,
	T compareEntity
)
where T : Entity
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsDuplicate(Of T As Entity) ( _
	entity As T, _
	compareEntity As T _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
where T : Entity
static bool IsDuplicate(
	T entity, 
	T compareEntity
)

Parameters

entity
Type: T

[Missing <param name="entity"/> documentation for "M:RiaServicesContrib.Extensions.RiaServicesExtensions.IsDuplicate``1(``0,``0)"]

compareEntity
Type: T

[Missing <param name="compareEntity"/> documentation for "M:RiaServicesContrib.Extensions.RiaServicesExtensions.IsDuplicate``1(``0,``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:RiaServicesContrib.Extensions.RiaServicesExtensions.IsDuplicate``1(``0,``0)"]

Return Value

true if duplicate

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also