CRMGlobalManager.GetEntity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetEntity(String, String, String) | |
GetEntity(String, String, String, Entity) |
This version captures the Entity that is found from the Entity Searches configuration. It also returns the actual search definition entry that would contain the fetchXml that was executed |
GetEntity(EntityReference, String, String, String, Entity) |
This version captures the Entity that is found from the Entity Searches configuration. It also returns the actual search definition entry that would contain the fetchXml that was executed |
GetEntity(String, String, String)
public:
virtual Microsoft::Xrm::Sdk::Entity ^ GetEntity(System::String ^ entity, System::String ^ idname, System::String ^ id);
public Microsoft.Xrm.Sdk.Entity GetEntity (string entity, string idname, string id);
abstract member GetEntity : string * string * string -> Microsoft.Xrm.Sdk.Entity
override this.GetEntity : string * string * string -> Microsoft.Xrm.Sdk.Entity
Public Function GetEntity (entity As String, idname As String, id As String) As Entity
Parameters
- entity
- String
- idname
- String
- id
- String
Returns
Implements
Applies to
GetEntity(String, String, String, Entity)
This version captures the Entity that is found from the Entity Searches configuration. It also returns the actual search definition entry that would contain the fetchXml that was executed
public:
virtual Microsoft::Xrm::Sdk::Entity ^ GetEntity(System::String ^ entity, System::String ^ idname, System::String ^ id, [Runtime::InteropServices::Out] Microsoft::Xrm::Sdk::Entity ^ % searchDefinition);
public Microsoft.Xrm.Sdk.Entity GetEntity (string entity, string idname, string id, out Microsoft.Xrm.Sdk.Entity searchDefinition);
abstract member GetEntity : string * string * string * Entity -> Microsoft.Xrm.Sdk.Entity
override this.GetEntity : string * string * string * Entity -> Microsoft.Xrm.Sdk.Entity
Public Function GetEntity (entity As String, idname As String, id As String, ByRef searchDefinition As Entity) As Entity
Parameters
- entity
- String
- idname
- String
- id
- String
- searchDefinition
- Entity
The Entity Searches entity that contains the FetchXml that was used
Returns
Implements
Applies to
GetEntity(EntityReference, String, String, String, Entity)
This version captures the Entity that is found from the Entity Searches configuration. It also returns the actual search definition entry that would contain the fetchXml that was executed
public:
Microsoft::Xrm::Sdk::Entity ^ GetEntity(Microsoft::Xrm::Sdk::EntityReference ^ entitySearch, System::String ^ entity, System::String ^ idname, System::String ^ id, [Runtime::InteropServices::Out] Microsoft::Xrm::Sdk::Entity ^ % searchDefinition);
public Microsoft.Xrm.Sdk.Entity GetEntity (Microsoft.Xrm.Sdk.EntityReference entitySearch, string entity, string idname, string id, out Microsoft.Xrm.Sdk.Entity searchDefinition);
member this.GetEntity : Microsoft.Xrm.Sdk.EntityReference * string * string * string * Entity -> Microsoft.Xrm.Sdk.Entity
Public Function GetEntity (entitySearch As EntityReference, entity As String, idname As String, id As String, ByRef searchDefinition As Entity) As Entity
Parameters
- entitySearch
- EntityReference
- entity
- String
- idname
- String
- id
- String
- searchDefinition
- Entity
The Entity Searches entity that contains the FetchXml that was used