in

Browse by Tags

  • ASP.NET MVC Paged Collection Question

    I am trying to use strongly typed viewdata with my MVC and I need to page through my collection, I am very new to subsonic and I have only been able to find my paged collection back as a IDataReader and I would like it back as a collection. Here is my typed ViewData class: Public Class CustomerControllerViewData...
    Posted to Code Discussion (Forum) by alivemedia on 05-12-2008
  • Oracle's equivalent for MS SQL's bit data type

    Hi everyone, I have created a DB in MS SQL which has bit columns in most tables. These are nicely translated to boolean properties in SubSonic entities. Now I have to also create the same DB in Oracle. My question is, what do you guys use in Oracle to represent boolean/bit columns? Many thanks...
  • error during update

    hi i'm using subsonic 2.1 config: <SubSonicService defaultProvider="DBPxxx"> <providers> <clear/> <add name="DBPxxx" type="SubSonic.MySqlDataProvider, SubSonic" connectionStringName="xxx" generatedNamespace="Dal" setPropertyDefaultsFromDatabase...
  • Paging Sql generates invalid code for Oracle

    I followed the directions on the Webcast: Using Paging using an Oracle Database and got the following error: SQL Error: ORA-00911: invalid character 00911. 00000 - "invalid character" *Cause: identifiers may not start with any ASCII character other than letters and numbers. $#_ are also allowed...
  • Winforms - filter on a datagridview via a combobox

    Hi I'm pretty new to C# and Subsonic so forgive me if this is a newbie question. I have Subsonic working nicely with my winforms application (it's just a test app to evaluate Subsonic) I have a C# winforms app with a windows form it has a Load button to load a datagridview displaying data from...
    Posted to Code Discussion (Forum) by nils on 03-17-2008
  • List<T> inheritence removed from Subsonic Collection : Exists(delegate predicate) is not available anymore

    I think it's since BindingListEx is used, Subsonic generated Collections doesn't inherits from List<T> anymore. Consequence : TCollection.Exists(match predicate) is not available anymore. This used to work before : http://www.subsonichelp.com/html/86a20540-064a-8d68-c8ff-b38d4e7ae77f.htm...
    Posted to Version 2.1 - Pakala (Forum) by mad on 03-04-2008
  • Unit Tests, SubSonic and MVP

    I've been using SubSonic for about 9 months now, and I LOVE IT! It's made life a lot easier. About the same time my Lead Dev showed me SubSonic, he also showed me the MVP Pattern. In my studies of the MVP pattern, I see that it's best quality is it's ability to do Unit Testing, which...
    Posted to Code Discussion (Forum) by kelly.soonerfan on 02-26-2008
  • How to Get Request.QueryString() in Subsonic

    I am writing a Page that pulls in data from a view and I am passing a postID in the url string. I am wondering how to pull the PostID out of the url string using subsonic and display data from that call. I can easily do this in a sql data adapter but since we decided to go full on subsonic I hoping there...
    Posted to Code Discussion (Forum) by mikedopp on 02-22-2008
  • sending nulls into sproc

    I'm trying to send nulls through a call to a sproc with syntax like: lwa.SPs.USPS7Add(SurveyID, q3,q3b) ..Where q3 and q3b might be null. It doesn't seem like the code generation is producing nullable types but my db tables allow for them. Any hints? Thanks!
    Posted to Code Discussion (Forum) by msnot on 02-14-2008
  • My BLL Controllers vs. Subsonics

    I always have the following example structure in my SubSonic projects, and I was wondering how I could optimize this: BusinessLogic\UserController.cs - my static (singleton) controller class DataAccess\Generated\User.cs - the model class for User DataAccess\Generated\UserController.cs - Subsonic auto...
    Posted to Code Discussion (Forum) by Noffie on 02-12-2008
Page 1 of 3 (21 items) 1 2 3 Next >