YouaredevelopingaWindowsCommunicationFoundation(WCF)servicethatcontainsthefollowingservicecontract.[ServiceContract()]publicinterfaceIPaymentService{[OperationContract()]voidRecordPayments(Personperson);}publicclassPerson{...}publicclassEmployee:Person{...}publicclassCustomer:Person{...}YouneedtoensurethatRecordPaymentscancorrectlydeserializeintoanEmployeeoraCustomerobject. Whatshouldyoudo?()
AddthefollowingKnownTypeattributetotheEmployeeclassandtotheCustomerclass.[KnownType(GetType(Person))]
B. ImplementtheIExtensibleDataObjectinterfaceinthePersonclass.
C. ImplementtheIExtension(ofType(T))interfaceinthePersonclass.
D. AddthefollowingKnownTypeattributestothePersonclass.[KnownType(GetType(Employee))][KnownType(GetType(Customer))]
查看答案
在Dreamweaver中插入ActiveX控件文件后,显示为()
A
B
C
D
CSS是利用什么XHTML标记构建网页布局()
A
B
C
D
在【模板】子面板,如图所示,模板预览区是()
A. 模板预览区是①
B. 模板预览区是②
C. 模板预览区是③
D. 模板预览区是④
Your company has a server that runs an instance of Active Directory Lightweight Directory Services (AD LDS). You need to create new organizational units in the AD LDS application directory partition. What should you do()
A. Use the Active Directory Users and Computers snap-in to create the organizational units on the AD LDS application directory partition.
B. Use the ADSI Edit snap-in to create the organizational units on the AD LDS application directory partition.
C. Use the dsadd OU