// ** CanBeReferenced Entity Request ** //Checks whether the specified entity can be the primary entity in one-to-many relationship. // REQUEST CanBeReferencedRequest canBeReferencedRequest = new CanBeReferencedRequest { EntityName = "referencedEntity(Primary Entity)" //Primary Entity Name }; // RESPONSE CanBeReferencedResponse canBeReferencedResponse = (CanBeReferencedResponse)_service.Execute(canBeReferencedRequest); // Verify RESPONSE if (!canBeReferencedResponse.CanBeReferenced) { Console.WriteLine( "Entity {0} can't be the primary entity in this one-to-many relationship", "referencedEntity(Primary Entity)"); }