<<назад OfficeAssignment.vb (Contoso University).
1: Imports System.ComponentModel.DataAnnotations
2: Imports System.ComponentModel.DataAnnotations.Schema
3:
4: Namespace Models
5:
6: Public Class OfficeAssignment
7:
8: <Key>
9: Public Property InstructorID As Integer
10:
11: <StringLength(50)>
12: <Display(Name:="Office Location")>
13: Public Property Location As String
14:
15: Public Property Instructor As Instructor
16: End Class
17: End Namespace
Comments (
)
Link to this page:
//www.vb-net.com/EF-missing-FAQ/Code/OfficeAssignment.vb.htm
|