Subsonic: How to exclude a table column so that its not included in the generated SQL query

Posted by Fleents on Stack Overflow See other posts from Stack Overflow or by Fleents
Published on 2009-10-12T04:51:16Z Indexed on 2010/03/18 0:51 UTC
Read the original article Hit count: 310

Filed under:
|
|

I need to insert a record to a table.

Subsonic builds the query something like this (as far as i know):

INSERT INTO Table1
(Title, Description, RowVersion)
VALUES 
(@Title, @Description, @RowVersion)

But i want to remove the RowVersion column from the SQL query bacause its autogenerated by the sql server. How can i do that?

© Stack Overflow or respective owner

Related posts about subsonic

Related posts about sql