This illustration will show you how to check if an entity can be the referencing (many) entity in a one-to-one relationship in Microsoft Dynamics CRM 2011 using VB.NET.
Ok, here is what the code looks like!
In VB.NET
In VB.NET
Dim req As New CanBeReferencingRequest
req.EntityName = "account"
Dim resp As CanBeReferencingResponse = DirectCast(service.Execute(req), CanBeReferencingResponse)
Thats all there is to it!
-
-
No comments:
Post a Comment