A. Use a global procedure to act on the account or contact for code modularity. Using runtime type information the object type can be detected and acted upon accordingly. B. Define a base class that implements the functionality. Create a class that inherits from this class, CRMAccount, and CRMContact. Use the inherited functionality to act on the inherited account or contact using polymorphism. C. Use an abstract base class to define methods to encapsulate the needed business logic. Then implement the inherited classes using the base class the methods to act on the data. D. Use a template based solution to implement the functionality. Declare the required methods to act on the account or contact and temolated constructors for CRMAccount and CRMContact. Answer: C 61
QUESTION: 147 While developing an application that interacts with the Microsoft Business Solutions CRM, you are assigned the task of creating an XML string for use in a fetch XML query. What is a best practice to obtain the value representing the object type Account in Microsoft Business Solutions CRM 1.2? A. Use the integer value documented in the Microsoft Business Solutions CRM SDK. B. Use the value provided by the Microsoft.CRM.Proxy.ObjectType.otAccount. C. Use the value provided by Microsoft.Crm.Platform.Types.ObjectType.otAccount D. Use the value provided by Microsoft.Crm.Platform.Proxy.ObjectType.otAccount. Answer: C QUESTION: 148 You are tasked with developing an application which searches against accounts and contacts stored in Microsoft Business Solutions CRM. A design goal for the application states that the queries should execute as efficiently as possible. Which of the following represent a supported best practice that you would apply to achieve this goal? A. You create a COM+ component to be deployed on the Microsoft Business Solutions CRM server. This component uses the COM Proxy interface to retrieve information. The information is marshaled back to the client using Net Remoting in binary format.
You've reached the end of your free preview.
Want to read all 7 pages?
- Fall '20
- Object-Oriented Programming, .NET Framework, Microsoft SQL Server, Stored procedure