What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application includes a data tier component that communicates with multiple databases. Some databases are hosted on Microsoft SQL Server 2008. Other databases are hosted on third- party database servers. The data tier component receives custom business objects from client application components. You need to ensure that the data tier component saves property values from the business objects to the databases. What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application includes a data tier component that communicates with multiple databases. Some databases are hosted on Microsoft SQL Server 2008. Other databases are hosted on third- party database servers. The data tier component receives custom business objects from client application components. You need to ensure that the data tier component saves property values from the business objects to the databases. What should you do?

A.
Use LINQ to SQL.

B.
Use LINQ to Objects.

C.
Use the SqlBulkCopy class.

D.
Use the OleDbCommand class.



Leave a Reply 0

Your email address will not be published. Required fields are marked *