Well, when you end up using datasources, you're giving up on tests. and that might not be bad. for isntance, if you know that you have a class that has been tested and that class is compatible with, for instance, objectdatasource, then I think that is enough testing for that scenario...
On Wed, Sep 24, 2008 at 2:51 PM, Nathan Stott <[EMAIL PROTECTED]> wrote: > > I've found that the datasources do nothing but get in the way of > writing testable code. > > On Wed, Sep 24, 2008 at 7:44 AM, Tuna Toksöz <[EMAIL PROTECTED]> wrote: >> Very true. >> On Wed, Sep 24, 2008 at 3:42 PM, Luis Abreu <[EMAIL PROTECTED]> wrote: >>> >>> Hello. >>> >>> Well, Iif you have a good domain model, then the xxxdatasource >>> controls won't do any good since you'll just need 2 or 3 lines of code >>> for passing the data to the grid. >>> >>> On Wed, Sep 24, 2008 at 12:32 PM, Tuna Toksöz <[EMAIL PROTECTED]> wrote: >>> > For basic crud and querying it should be sufficient. >>> > >>> > On Wed, Sep 24, 2008 at 2:24 PM, pn <[EMAIL PROTECTED]> wrote: >>> >> >>> >> Hi, >>> >> >>> >> My team is looking for a solution to use NHibernate with ASP.NET >>> >> GridView (for all CRUD operations). I have searched around and only >>> >> found scattered materials for this topic. >>> >> >>> >> Wonder if there is any best practice out there? >>> >> >>> >> I also saw that LINQ to NHibernate might be an answer because in .NET >>> >> 3.5 there is a LinqDataSource. However, how ready is the Linq for >>> >> NHibernate in NHibernateContrib? Anyone have tried it? >>> >> >>> >> Thanks, >>> >> - Patrick >>> >> >>> >> >>> > >>> > >>> > >>> > -- >>> > Tuna Toksöz >>> > >>> > Typos included to enhance the readers attention! >>> > >>> > > >>> > >>> >>> >>> >>> -- >>> Regards, >>> Luis Abreu >>> >>> >> >> >> >> -- >> Tuna Toksöz >> >> Typos included to enhance the readers attention! >> >> > >> > > > > -- Regards, Luis Abreu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
