J'ai un PM-tableau dans lequel sont un SenderID et un ReciID.LINQ: requête pour obtenir des informations à partir de 2 tables
Les deux ont une construction clé étrangère dans la MSSQL table à l'utilisateur.
Comment puis-je obtenir des informations sur SenderID.Username et ReciID.Username?
Je sais qu'il ya cette méthode:
DataLoadOptions options = new DataLoadOptions();
options.LoadWith<Biethistorie>(a => a.Auktion);
options.LoadWith<Auktion>(a => a.Artikel);
dc.LoadOptions = options;
Mais le problème est, la table utilisateur est très grand et je ne ai besoin de 1 pour afficher des informations (nom d'utilisateur).
Mais comment je ne peux pas revenir, quand je n'ai pas Liste ? Maintenant, j'ai seulement un var ?! – Kovu