EntityExtensions.AssertEntityName Method (Entity, String[])
Applies To: Dynamics CRM 2013
Verifies that the logical name of an entity is the expected name.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void AssertEntityName(
this Entity entity,
params string[] expectedEntityName
)
public:
[ExtensionAttribute]
static void AssertEntityName(
Entity^ entity,
... array<String^>^ expectedEntityName
)
static member AssertEntityName :
entity:Entity *
[<ParamArrayAttribute>] expectedEntityName:string[] -> unit
<ExtensionAttribute>
Public Shared Sub AssertEntityName (
entity As Entity,
ParamArray expectedEntityName As String()
)
Parameters
entity
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The entity instance.
expectedEntityName
Type: System.String[]Type: String[]. The expected entity name.
See Also
EntityExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top