in

Browse by Tags

  • Don't generate the AllStructs file with custom templates

    Hi, I'm new to SubSonic, and I think it's a great software. I'm developing my own templates, and one of them only needs to generate the classes (CS_ClassTemplate). I have disabled on my app.config the SPs and the ODS controllers, but I don't know how to disable the generation of AllStructs...
    Posted to Code Generation (Forum) by penyaskito on 03-16-2008
  • Re: Extending ActiveRecord / ActiveList... or something else?

    You could add this method to a custom template. Find the templates in C:\Program Files\SubSonic\<subsonic folder>\src\SubSonic\CodeGeneration\Templates and copy them to a new folder. Then point your SubSonic service (in app.config) to this folder <SubSonicService defaultProvider="[yourprovider...
    Posted to Code Discussion (Forum) by kbradl1 on 02-25-2008
  • Repository Pattern Templates

    Hi All I've been delving into the templates (particularly the parts that deal with the Repository Pattern. The insert, update, save methods can accept a username as an argument but not the delete method, I was wondering if this is intentional, if so why. I will more than likely change the templates...
    Posted to Code Discussion (Forum) by quinten.miller on 02-06-2008
  • Re: Complete list of config options

    Evening You must have missed the line where is stated that I was using the repsitory model (RepositoryRecord). The fact that I'm not using ActiveRecord is why I get no FK functionality. I will hack the templates to atleast add properties to store a FK table. The schema is a small part of a large...
    Posted to Code Generation (Forum) by quinten.miller on 02-06-2008
  • Re: Splitting Template Files (or adding new ones) - Revisited

    I was just getting ready to write a post how nice it would be to be able to add in extra templates. I'm fairly happy with the new Repository templates of 2.1 beta 1 but I would like to be able to generate some extra plumbing used in most of the sites I develop. Another topic I was curios about (and...
    Posted to Suggestions (Forum) by quinten.miller on 02-05-2008
  • Code not showing up revisited

    Hey, I've seen this post before but I thought i'd come at it with a new approach as I noticed something with it. I wrote a batch of DALs from an SQL database. I noticed that some of them were empty except for the namespace includes at the top of the class. I have a table, lets call it "bob"...
    Posted to Code Generation (Forum) by rallen on 01-23-2008
Page 1 of 1 (6 items)