none
Query with Linq RRS feed

  • Question

  • Hi at all,
    
    
    i get error on attribute <Table and <Column
    
    Error say table and column is not defined 
    
    
    <Table(Name:="Person.Contact")> _
    
    Public Class Contact
    
     <Column(DbType:="nvarchar(8) not null")> _
    
     Public Title As String
    
     <Column(DbType:="nvarchar(50) not null")> _
    
     Public FirstName As String
    
     <Column(DbType:="nvarchar(50) not null")> _
    
     Public MiddleName As String
    
     <Column(DbType:="nvarchar(50) not null")> _
    
     Public LastName As String
    
     <Column(DbType:="nvarchar(50) not null")> _
    
     Public EmailAddress As String
    
    End Class
    
    
    • Moved by Jonathan Aneja -- MSFT Monday, April 26, 2010 9:59 PM (From:ADO.NET Entity Framework and LINQ to Entities)
    Tuesday, April 20, 2010 8:04 PM

Answers