This illustration will show you how to check if an entity can be the primary 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 CanBeReferencedRequest
req.EntityName = "account"
Dim resp As CanBeReferencedResponse = DirectCast(service.Execute(req), CanBeReferencedResponse)
Thats all there is to it!
-
-
No comments:
Post a Comment