Questions tagged [linqtemplates]
2 questions
2
votes
1 answer
How Can I Get the Identity Column Value Associated with a SubSonic 3 LinqTemplate Insert?
I am using SubSonic 3.0.0.3 along with the Linq T4 Templates. My ProjectRepository, for example, has the following two methods:
public int Add(Project item)
{
int result = 0;
ISqlQuery query = BuildInsertQuery(item);
if (query !=…

Ben Griswold
- 17,793
- 14
- 58
- 60
0
votes
2 answers
SubSonic 3 Linq projecting anonymous types but not class types
I am fairly new to SubSonic 3/Linq, and don't know if I'm missing something obvious, but I think I ran into a projection issue. I am trying to perform the most basic query, and getting back proper results only when I use anonymous types. The moment…

Daniel Liuzzi
- 16,807
- 8
- 52
- 57