Yes, all my database operations go into the tasks layer so they can be reused across the application, no matter whether it's the web site, a web service, a console application; everything goes through the tasks layer.
On Thu, Sep 26, 2013 at 10:59 AM, Kumar Jalli <jallikumar.ev...@gmail.com>wrote: > i got now, > and > > I find that if I'm using NHibernate, what I want to do with stored > procedures > > means no need to use stored procedure and directly we can write the code > in the layer only am i correct? > > > On Thursday, September 26, 2013 8:13:37 PM UTC+5:30, Carl B wrote: > >> So at a very rough sketch, >> >> I have these kinds of projects in a solution: >> >> Domain (has my objects like Person, Thing1, Thing2, there are NHibernate >> Entities that are persisted to the database) >> Infrastructure (sets up the DB, has my mappings from Domain -> database) >> Presentation (has my web pages, css, javascript) >> Tasks (this is the middleware layer. everything that wants to perform an >> operation on the database is here. the presentation layer calls methods in >> here. this means that if i want to write a web service later that uses a >> lot of the same queries, it's easy to just point that web service at this >> layer, since the queries are not tied directly to the presentation) >> >> And of course, >> Tests (because we all unit test our code 100% of the time, right? :D) >> >> >> On Thu, Sep 26, 2013 at 10:39 AM, Kumar Jalli <jallikum...@gmail.com>wrote: >> >>> hi carl, >>> >>> middleware layer instead >>> >>> can you explain >>> >>> On Thursday, September 26, 2013 8:07:01 PM UTC+5:30, Carl B wrote: >>> >>>> Yeah, I find that if I'm using NHibernate, what I want to do with >>>> stored procedures, I can usually do with a middleware layer instead, and >>>> more easily. There are still a few things that are easier with stored >>>> procedures (particularly using native SQL functions), but I haven't written >>>> a stored procedure in a few years now, and I don't miss them at all. >>>> >>>> >>>> On Thu, Sep 26, 2013 at 10:33 AM, Fran Knebels <fkne...@gmail.com>wrote: >>>> >>>>> unfortunately i don't use stored procedures with NHibernate, but there >>>>> are a number of questions on stackoverflow about them. or google for >>>>> NamedQuery. >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Sep 26, 2013 at 10:23 AM, Kumar Jalli < >>>>> jallikumar.ev...@gmail.com> wrote: >>>>> >>>>>> Hi Thanks for your reply and in this book there is no concepts >>>>>> related to stored functions function >>>>>> >>>>>> if possible can you suggest some links or books related to this >>>>>> concepts >>>>>> >>>>>> >>>>>> >>>>>> On Wednesday, September 25, 2013 6:39:59 PM UTC+5:30, Kumar Jalli >>>>>> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I want to learn NHibernate and Fluent NHibernate so can any one tell >>>>>>> me how to learn means >>>>>>> >>>>>>> where can i learn this step by step and concept by concept >>>>>>> >>>>>>> please suggest me and provide the links if possible video links >>>>>>> >>>>>>> thanks in advance >>>>>>> >>>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Fluent NHibernate" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to fluent-nhibernate+unsubscribe@****googlegroups.com. >>>>>> To post to this group, send email to fluent-nhibernate@**googlegroups >>>>>> **.com. >>>>>> Visit this group at http://groups.google.com/**group** >>>>>> /fluent-nhibernate <http://groups.google.com/group/fluent-nhibernate> >>>>>> . >>>>>> For more options, visit >>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>>> . >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Fluent NHibernate" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to fluent-nhibern...@**googlegroups**.com. >>>>> To post to this group, send email to fluent-n...@**googlegroups.com. >>>>> >>>>> Visit this group at http://groups.google.com/**group** >>>>> /fluent-nhibernate <http://groups.google.com/group/fluent-nhibernate>. >>>>> For more options, visit >>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Fluent NHibernate" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to fluent-nhibern...@**googlegroups.com. >>> To post to this group, send email to fluent-n...@**googlegroups.com. >>> Visit this group at >>> http://groups.google.com/**group/fluent-nhibernate<http://groups.google.com/group/fluent-nhibernate> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Fluent NHibernate" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to fluent-nhibernate+unsubscr...@googlegroups.com. > To post to this group, send email to fluent-nhibernate@googlegroups.com. > Visit this group at http://groups.google.com/group/fluent-nhibernate. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at http://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/groups/opt_out.