SubSonic CreatedBy

subsonic

I have a CreatedBy column in a table which datatype is a int. SubSonic crashes on this because apperently it uses CreatedBy, CreatedOn, ModifiedBy and ModifiedOn. The By columns need to be strings.

Is there a way to let SubSonic know that it has to ignore these columns?

Best Answer

No, you probably are going to have to rename the column to CreateByUser or something.

You can also change it to a nvarchar(50) and create a column ModifiedBy nvarchar(50) and have it work just fine too.

Related Topic