TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rajendra Deopura
NA
253
0
Mapping a class to LINQ in VB.Net
Oct 3 2008 11:08 PM
I want to use LINQ DataSource Control where I nedd to map a user defined class to LINQ table. How I applied the table attribute and column attribute to class in VB.Net ? Ex -
public class Customer
[Table(Name="Customers")]
Dim strid as String
[Column(DBTYPE="varchar")]
Public Property ID() as String
get
return strid
end get
set
stif=value
end set
end class
I got the error on Table and column mapping line.
Please anyone can rectify this problem.
Thanks
Reply
Answers (
1
)
strongly typed datasets adapters
SqlBulkCopy