You use Microsoft Visual Studio 2010 and Microsoft NET framework 4 to create an application the
application uses the ADO NET entity framework to model entities. You define a Category class by
writing the following code segment (Line numbers are included for reference only) Public Class
Category
01 Public Class Category
02 Public Property CategorylDO As Integer
03 Get
04 End Get
05 Set
06 End Set
07 End Property
08 Public Property CategoryName() As String
09 Get
10 End Get
11 Set
12 End Set
13 End Property
14 Public Property Description() As String
15 Get
16 End Get
17 Set
18 End Set
19 End Property
20 Public Property Picture() As Byte()
21 Get
22 End Get
23 Set
24 End Set 25
26 End Property
You need to add a collection named Products to the Category class. You also need to ensure that the
collection supports deterred loading. Which code segment should you insert at line 25?
A.
Public Shared Property Products() As List(Of Product) Get
End Get
Set
End Set
End Property
B.
Public Oweindabte Properly Products() As bst(Of Product) Get
End Get
Set
End Set
End Property
C.
Public UustOvemnde Properly Products() As bst (Of Produrt)
D.
Protected Property Products() As IJst(Of Product) Get
End Get
Set
End Set
End Property