I have two tables, with foreign key.
linq to sql class generated for me classes.
now i want make linq select with join, what will be result of join?
is where any way to generate class, for that result?
want get something like
IEnumerable<par_of_class1+part_of_class2>.
thx
RPM1984 is correct. Here is the other way to do join that which, while more cumbersome, is worth mentioning:
You don’t have to return an anonymous class if you don’t want to though. The return of a join really can be whatever you want it to be. you could just return ‘o.Property’ if that’s all you want, or just ‘o’. Feel free to play around with it to return whatever it is you want!