SubSonic CreatedBy
2 answers
Yes ... it's quite doable. First of all, show us the code that is causing it to crash. I probably know what it is. You are probably trying to do something like this
MyRecord.Save();
If you need to pass in the id of the person creating the aka.
MyRecord.Save(55);
SubSonic knows what datatype your columns are, so you don't need to specify what datatype it is. Also, if you look, there are overloads of the Save method, namely Save (int id), Save (string id) and Save (Guid id). So if you are using an int, string, or guid for your CreateBy column, you have to go, you just need to remember the ID as SubSonic expects if you use those columns.
0
a source to share