SubSonic Forums
All Your Database Are Belong To Us

Browse Forum Posts by Tags

Showing related tags and posts for the Forums application. See all tags in the site
  • force a row update?

    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>...
    Posted to Version 2.1 - Pakala (Forum) by rlparker on 11-19-2008
  • Setup Relationships Between ActiveRecord classes

    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...
    Posted to Getting Started (Forum) by bbqchickenrobot on 11-06-2008
  • Updating a record - question

    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...
    Posted to Version 2.1 - Pakala (Forum) by martin1b on 10-17-2008
  • Re: Update keeps erroring

    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...
    Posted to Getting Started (Forum) by bartek on 10-06-2008
  • Re: Update keeps erroring

    Thanks jkimbu, it worked for me. Regards, Rui Jarimba
    Posted to Getting Started (Forum) by ruijarimba on 09-01-2008
  • Unable to debug

    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
    Posted to Version 2.1 - Pakala (Forum) by chuck.boyer on 08-13-2008
  • Add ToJSON method to ActiveRecord and ActiveList

    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...
    Posted to Suggestions (Forum) by mahdiit on 08-06-2008
  • Modifying ActiveRecord and ReadOnlyRecord implementations via templates generating coding error

    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...
    Posted to Code Generation (Forum) by jamesewelch on 07-28-2008
  • Database transactions - HELP!

    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...
    Posted to Code Discussion (Forum) by frankiewicks on 07-23-2008
  • Generate QueryCommand from RepositoryRecord

    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...
    Posted to Version 2.1 - Pakala (Forum) by hardball551 on 07-20-2008
Page 1 of 2 (16 items) 1 2 Next >