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
Guest User
Tech Writer
357
120.8k
Extension methods
Feb 28 2012 8:25 AM
Ive wrote a few Extension\Helper methods for converting data from a database into a business object of the same type.
For example I have AsId(); which converts\casts a string to an int.
However, when I come to bolt on one of my Extension methods I am unable to, I want AsId(); added like so
CustomerId = reader["CustomerId"].AsId();
But when I use try to access the method from intellisense it only gives me the common base types ie ToString() etc.
How can I get intellisense to pick up my set of Extension methods? ive seen it done before but cant work out how to do it...
Reply
Answers (
5
)
How to build a softphone in C#?
Printing a sales bill using dotmatrix printer