Click here to Skip to main content
15,886,091 members
Home / Discussions / C#
   

C#

 
GeneralRe: Destructors Pin
Richard Andrew x641-Oct-13 17:08
professionalRichard Andrew x641-Oct-13 17:08 
GeneralRe: Destructors Pin
Keith Barrow1-Oct-13 22:45
professionalKeith Barrow1-Oct-13 22:45 
GeneralRe: Destructors Pin
N8tiv1-Oct-13 19:56
N8tiv1-Oct-13 19:56 
AnswerRe: Destructors Pin
Ron Beyer1-Oct-13 17:48
professionalRon Beyer1-Oct-13 17:48 
GeneralRe: Destructors Pin
jschell2-Oct-13 8:42
jschell2-Oct-13 8:42 
AnswerRe: Destructors Pin
Abhinav S1-Oct-13 21:12
Abhinav S1-Oct-13 21:12 
GeneralRe: Destructors Pin
Pete O'Hanlon1-Oct-13 21:58
mvePete O'Hanlon1-Oct-13 21:58 
QuestionEager Loading Problem Pin
eddieangel1-Oct-13 11:53
eddieangel1-Oct-13 11:53 
I disabled Lazy Loading for various reasons (Mostly proxy craziness and performance) but I have hit a snag I don't know how to handle.

I have an address table that has a street address broken into parts. One of the pieces is a SuffixId that determines if it is a street, ave, etc... Here is my fullAddress property of the address:

C#
public string fullAddress
        {
            get
            {
                string address = number.ToString();
                if (direction != null)
                    address += " " + direction;
                address += " " + street;
                if (suffixId != null)
                    address += " " + StreetSuffix.abbreviation;
                return address;
            }
        }


Now my problem is with the StreetSuffix.abbreviation part, I am getting a null reference. How do I handle this?

Cheers, --EA
AnswerRe: Eager Loading Problem Pin
Mycroft Holmes1-Oct-13 12:54
professionalMycroft Holmes1-Oct-13 12:54 
GeneralRe: Eager Loading Problem Pin
eddieangel1-Oct-13 13:06
eddieangel1-Oct-13 13:06 
QuestionSending SMS Text Messages Pin
Kevin Marois1-Oct-13 5:35
professionalKevin Marois1-Oct-13 5:35 
AnswerRe: Sending SMS Text Messages Pin
Keith Barrow1-Oct-13 5:49
professionalKeith Barrow1-Oct-13 5:49 
QuestionHow to use WM_PASTE ? Pin
Mahmoud EL-Shazly1-Oct-13 0:49
Mahmoud EL-Shazly1-Oct-13 0:49 
AnswerRe: How to use WM_PASTE ? Pin
Sivaraman Dhamodharan1-Oct-13 2:14
Sivaraman Dhamodharan1-Oct-13 2:14 
GeneralRe: How to use WM_PASTE ? Pin
Mahmoud EL-Shazly1-Oct-13 9:29
Mahmoud EL-Shazly1-Oct-13 9:29 
AnswerRe: How to use WM_PASTE ? Pin
Richard MacCutchan1-Oct-13 3:07
mveRichard MacCutchan1-Oct-13 3:07 
AnswerRe: How to use WM_PASTE ? Pin
BillWoodruff1-Oct-13 3:26
professionalBillWoodruff1-Oct-13 3:26 
GeneralRe: How to use WM_PASTE ? Pin
OriginalGriff1-Oct-13 6:01
mveOriginalGriff1-Oct-13 6:01 
GeneralRe: How to use WM_PASTE ? Pin
Mahmoud EL-Shazly1-Oct-13 9:35
Mahmoud EL-Shazly1-Oct-13 9:35 
AnswerRe: How to use WM_PASTE ? Pin
Simon_Whale1-Oct-13 3:30
Simon_Whale1-Oct-13 3:30 
QuestionOOPS, deisgn patterns and principles Pin
Govindaraj Rangaraj1-Oct-13 0:25
Govindaraj Rangaraj1-Oct-13 0:25 
QuestionRe: OOPS deisgn patterns and principles Pin
Eddy Vluggen1-Oct-13 0:31
professionalEddy Vluggen1-Oct-13 0:31 
AnswerRe: OOPS deisgn patterns and principles Pin
Keith Barrow1-Oct-13 1:01
professionalKeith Barrow1-Oct-13 1:01 
AnswerRe: OOPS deisgn patterns and principles Pin
Abhinav S1-Oct-13 1:17
Abhinav S1-Oct-13 1:17 
GeneralRe: OOPS deisgn patterns and principles Pin
Govindaraj Rangaraj1-Oct-13 4:14
Govindaraj Rangaraj1-Oct-13 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.