I want to use subsonic 3.0 SimpleRepository in my project, but there is a problem :
If my table's name like Product etc. then I can't get any data from database,
because subsonic generate the sql statement like "Select * from Products ...
"
PS: I don't want to change my table name.
I wrote a t4
template to solve this problem, I hope someone can take a look at my
code and tell me am i do the right thing?
Code: SimpleRepositoryDemo
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…