You are developing an application that includes the following code segment. (Line numbers are included for reference only.)
The GetAnimals() method must meet the following requirements:
✑ Connect to a Microsoft SQL Server database.
✑ Create Animal objects and populate them with data from the database.
✑ Return a sequence of populated Animal objects.
You need to meet the requirements.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Diogo
Highly Voted 5 years, 7 months agoapostolin
Highly Voted 5 years, 9 months agoEnthusiastGuy
Most Recent 4 months agozzMichielzz
4 years, 8 months agocshine
4 years, 9 months agolh2607
4 years, 11 months agoXardasLord
5 years agorobinnirola
5 years, 1 month agotanujgyan
5 years, 2 months ago