-
In my app, I'm comparing the values in CreatedOn and ModifiedOn to determine if a row has been "touched". The following code worked in 2.0.3, but causes an error in 2.1. The error is "Column name 'ModifiedOn' appears more than once in the result column list." <code>...
-
Wondering if it possible to programmatically setup a relation between two activerecord classes? I don't have a foreignkey setup via the database (dba won't let it happne for whatever reason) so now, via code, I'd like to have, for example, a Orders class that has a collection of type Order...
-
I'm using 2.1 and am updating a record. When I run the update I get the error 'Incorrect syntax near the keyword WHERE'. I've seen this is a bug and I've applied the patch to the SQL2005 generator, regenerated the code and got the same error. I even tried what was referenced here...
-
It works perfectly! Before I had to change generated files automatically, according to http://forums.subsonicproject.com/forums/t/2642.aspx post which was inconvenient . By the way - I'm very surprised why Update issue is still not fixed... In official release I got "Incorrect syntax near the...
-
Thanks jkimbu, it worked for me. Regards, Rui Jarimba
-
I'm unable to debug (step through) my generated code. Visual Studio is telling me that it cannot find the source code for the activerecord class. Does anyone have any suggestions? Thanks Chuck
-
Subsonic 2.1 Pakala has a new execute to json format but it is very simple and user can not control over toStringMethod If this class can have a virtual method for to string method it can be more power full. for example for converting and formating string in Dates or other object. also ActiveRecord and...
-
I'm updating the templates to inherit from my own implementation of ActiveRecord and ReadOnlyRecord, but I'm having an issue related to generics. I think... My templates and generated files look correct (and compile without issues). My class files look like this: public partial class MyDataClassName...
-
Hi, I'm relatively new to subsonic. Is there an easy way of implementing transactions? What i'm looking for is some sort of configuration that generates transactions or whatever or sample code to show me how to do this and where abouts it should be placed within my code. Forgive me for seeming...
-
Hi I am porting an app written with the ActiveRecord pattern to Repository pattern (Pakala 2.1). The old app used, for example, Order.GetUpdateCommand()... to generate a QueryCommand that can be used in Transactions. however, with the Repository, I cannot seem to find a way to do this. Once I made changes...