Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: Twain Scanner Interface for .net with multipage support Pin
Pete O'Hanlon16-Dec-11 0:08
mvePete O'Hanlon16-Dec-11 0:08 
GeneralRe: Twain Scanner Interface for .net with multipage support Pin
Richard MacCutchan16-Dec-11 0:17
mveRichard MacCutchan16-Dec-11 0:17 
GeneralRe: Twain Scanner Interface for .net with multipage support Pin
Pete O'Hanlon16-Dec-11 0:21
mvePete O'Hanlon16-Dec-11 0:21 
GeneralRe: Twain Scanner Interface for .net with multipage support Pin
BillWoodruff16-Dec-11 1:14
professionalBillWoodruff16-Dec-11 1:14 
QuestionParse Excel Currency Cell Pin
Saamir15-Dec-11 11:57
Saamir15-Dec-11 11:57 
AnswerRe: Parse Excel Currency Cell Pin
DaveyM6915-Dec-11 13:33
professionalDaveyM6915-Dec-11 13:33 
AnswerRe: Parse Excel Currency Cell Pin
Richard MacCutchan15-Dec-11 22:26
mveRichard MacCutchan15-Dec-11 22:26 
QuestionHow to include child property of LINQ to SQL object? Pin
Goalie3515-Dec-11 11:04
Goalie3515-Dec-11 11:04 
I'm pulling in a sql table via linq to sql called "Employee".

There are a total of 11 fields within this Employee table, so my LINQ automatically creates properties such as the following:
Employee.Name
Employee.Address
Employee.Phone
etc...

I now however, need to add a child property to each of these properties called "Location", but I'm not sure how I would do this. So for example, I would need to use code such as the following:
Employee.Name.Location = 1;
Employee.Address.Location = 2;
Employee.Phone.Location = 3;
etc...

I know I could set this "Location" up directly within my linq to sql dbml file, however anytime I update my database, my dbml file would be overwritten, so I'd prefer to avoid that.

Is there any other way I can setup this "Location" child property?

Thanks.
AnswerRe: How to include child property of LINQ to SQL object? Pin
Mycroft Holmes15-Dec-11 18:48
professionalMycroft Holmes15-Dec-11 18:48 
QuestionCollections, plus collection of base type - concept Pin
DaveyM6915-Dec-11 9:16
professionalDaveyM6915-Dec-11 9:16 
AnswerRe: Collections, plus collection of base type - concept Pin
PIEBALDconsult15-Dec-11 9:34
mvePIEBALDconsult15-Dec-11 9:34 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6915-Dec-11 9:47
professionalDaveyM6915-Dec-11 9:47 
GeneralRe: Collections, plus collection of base type - concept Pin
PIEBALDconsult15-Dec-11 10:40
mvePIEBALDconsult15-Dec-11 10:40 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6915-Dec-11 11:27
professionalDaveyM6915-Dec-11 11:27 
GeneralRe: Collections, plus collection of base type - concept Pin
PIEBALDconsult15-Dec-11 11:51
mvePIEBALDconsult15-Dec-11 11:51 
GeneralRe: Collections, plus collection of base type - concept Pin
Luc Pattyn15-Dec-11 19:55
sitebuilderLuc Pattyn15-Dec-11 19:55 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6915-Dec-11 23:54
professionalDaveyM6915-Dec-11 23:54 
GeneralRe: Collections, plus collection of base type - concept Pin
BillWoodruff16-Dec-11 4:03
professionalBillWoodruff16-Dec-11 4:03 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6916-Dec-11 14:20
professionalDaveyM6916-Dec-11 14:20 
GeneralRe: Collections, plus collection of base type - concept Pin
BillWoodruff16-Dec-11 18:19
professionalBillWoodruff16-Dec-11 18:19 
AnswerRe: executive summary Pin
Luc Pattyn17-Dec-11 2:23
sitebuilderLuc Pattyn17-Dec-11 2:23 
GeneralRe: Collections, plus collection of base type - concept Pin
DaveyM6917-Dec-11 2:15
professionalDaveyM6917-Dec-11 2:15 
AnswerRe: Collections, plus collection of base type - concept Pin
Luc Pattyn17-Dec-11 2:32
sitebuilderLuc Pattyn17-Dec-11 2:32 
GeneralRe: Collections, plus collection of base type - concept Pin
Luc Pattyn17-Dec-11 2:42
sitebuilderLuc Pattyn17-Dec-11 2:42 
AnswerRe: Collections, plus collection of base type - concept Pin
Luc Pattyn17-Dec-11 2:48
sitebuilderLuc Pattyn17-Dec-11 2:48 

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.