Click here to Skip to main content
14,734,126 members
Home » Discussions » C#
   

C#

 
AnswerRe: How to dynamically load assembly and dependencies from file path. Pin
Gerry Schmitz8-Sep-20 8:12
mveGerry Schmitz8-Sep-20 8:12 
GeneralRe: How to dynamically load assembly and dependencies from file path. Pin
koirat8-Sep-20 9:57
Memberkoirat8-Sep-20 9:57 
GeneralRe: How to dynamically load assembly and dependencies from file path. Pin
Gerry Schmitz8-Sep-20 11:34
mveGerry Schmitz8-Sep-20 11:34 
AnswerRe: How to dynamically load assembly and dependencies from file path. Pin
Eddy Vluggen8-Sep-20 8:41
professionalEddy Vluggen8-Sep-20 8:41 
GeneralRe: How to dynamically load assembly and dependencies from file path. Pin
koirat8-Sep-20 10:59
Memberkoirat8-Sep-20 10:59 
GeneralRe: How to dynamically load assembly and dependencies from file path. Pin
Eddy Vluggen8-Sep-20 11:04
professionalEddy Vluggen8-Sep-20 11:04 
GeneralRe: How to dynamically load assembly and dependencies from file path. Pin
koirat8-Sep-20 13:25
Memberkoirat8-Sep-20 13:25 
QuestionCreate a Multi-Layer Data Model from a MySQL Query Pin
mjeeves7-Sep-20 9:25
Membermjeeves7-Sep-20 9:25 
I have the following table, i can join this table to others to build a bigger dataset but I only wnat to run one query to get the data and then build a data model shown below. I can build a Single model but i want to do more like a JSON serialization.

Can anybody show me a LINQ or other method that would be efficient and could be expanded to use generics?

Thanks

Madaxe

School Class Student
Bakers 19A Bob
Bakers 19A Jim
Bakers 17A Gary
Bakers 17A Stuart


DataClass
IEnumerable<schoolclass> Schools

SchoolClass
IEnumerable<studentclass> Classes

StudentClass
AnswerRe: Create a Multi-Layer Data Model from a MySQL Query Pin
mjeeves7-Sep-20 9:43
Membermjeeves7-Sep-20 9:43 
GeneralRe: Create a Multi-Layer Data Model from a MySQL Query Pin
Richard MacCutchan7-Sep-20 10:27
mveRichard MacCutchan7-Sep-20 10:27 
GeneralRe: Create a Multi-Layer Data Model from a MySQL Query Pin
mjeeves7-Sep-20 10:44
Membermjeeves7-Sep-20 10:44 
GeneralRe: Create a Multi-Layer Data Model from a MySQL Query Pin
Richard Deeming7-Sep-20 23:34
mveRichard Deeming7-Sep-20 23:34 
QuestionProblem showing a symbol from a custom font Pin
Mc_Topaz6-Sep-20 22:18
MemberMc_Topaz6-Sep-20 22:18 
AnswerRe: Problem showing a symbol from a custom font Pin
Richard Deeming7-Sep-20 0:04
mveRichard Deeming7-Sep-20 0:04 
AnswerRe: Problem showing a symbol from a custom font Pin
Mc_Topaz7-Sep-20 0:54
MemberMc_Topaz7-Sep-20 0:54 
GeneralRe: Problem showing a symbol from a custom font Pin
Gerry Schmitz7-Sep-20 8:37
mveGerry Schmitz7-Sep-20 8:37 
GeneralRe: Problem showing a symbol from a custom font Pin
Mc_Topaz7-Sep-20 23:13
MemberMc_Topaz7-Sep-20 23:13 
AnswerRe: Problem showing a symbol from a custom font Pin
Mc_Topaz8-Sep-20 0:52
MemberMc_Topaz8-Sep-20 0:52 
QuestionDebug does not stop on errors. Pin
MAW306-Sep-20 16:27
MemberMAW306-Sep-20 16:27 
AnswerRe: Debug does not stop on errors. Pin
Sandeep Mewara6-Sep-20 20:09
mvaSandeep Mewara6-Sep-20 20:09 
AnswerRe: Debug does not stop on errors. Pin
OriginalGriff6-Sep-20 21:32
mveOriginalGriff6-Sep-20 21:32 
SuggestionRe: Debug does not stop on errors. Pin
Richard Deeming6-Sep-20 23:38
mveRichard Deeming6-Sep-20 23:38 
GeneralRe: Debug does not stop on errors. Pin
OriginalGriff6-Sep-20 23:51
mveOriginalGriff6-Sep-20 23:51 
QuestionChanging Caption in dt Pin
MAW306-Sep-20 16:22
MemberMAW306-Sep-20 16:22 
AnswerRe: Changing Caption in dt Pin
OriginalGriff6-Sep-20 21:45
mveOriginalGriff6-Sep-20 21:45 

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.