Search

You searched for the word(s): userid:785329

Matching Posts

  • Re: LINQ Nullable IDs

    Can I use this pattern with LINQ to SQL? No, and no proper O/R mapper will work like that - it makes it really hard to track relations. My own DAL's worked with assinin a temporary ID (-1, -2 etc.) at creation which ot replaced later. Otherwise it ets really bad uniquing and tracking all the objects and relations.
    Posted to Architecture (Forum) by NetTecture on 3/17/2008
  • Re: Garpich Collector

    Re: Garpich Collector GARBAGE, not Garpich. What is the effect of these lines in Web.Config on GC process Did you read the documentation? Let me help you: gcconcurrent: ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_fxgenref/html/503f55ba-26ed-45ac-a2ea-caf994da04cd.htm gcserver: ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/dv_fxgenref/html/8d25b80e-2581-4803-bd87-a59528e3cb03.htm Both found just by entering the element name into the index. The explanations are pretty complete and explain in depth what the
    Posted to Architecture (Forum) by NetTecture on 3/17/2008
  • Re: Public field vs Public property

    - faster than property Ah. No. Identical. The simple get/set operation is inlined by the compiler. A SMALL compiler overhead. Not worth noting. I suggest you get your basics straight on how good the runtime compiler is ;) - easy to type :) . Hm, not here. More or less the same - thanks to automatic template expansion. But in theory - yes. - you can protect and validate you actual data. On top you can have read/write only properties, but not variables ;) - if you want to bind with gridview control
    Posted to Architecture (Forum) by NetTecture on 3/16/2008
  • Re: Need design help for commission payout system

    Every node is a comission recipient. It has sub-recipients. I may assume you talk of something like a sales-hierarchy (MLM) then - basically - this is totally obvious from the contractual parts who gets part of a comission from whom.
    Posted to Architecture (Forum) by NetTecture on 3/15/2008
  • Re: Using VS design mode to develop DAL

    Hm, MY DAL, as well as LINQ, does not require a UI for handlin the SQL because it generates the SQL based on the metadata stored in a configuration. Go this way if you want to be really fast ;)
    Posted to Architecture (Forum) by NetTecture on 3/15/2008
  • Re: Need design help for commission payout system

    I would go recursive. Assingn a sale to a "node". Calculate the comission, split it to the children of the node according to their weight. Do the same for the comission on every child - against it's own children. It is not half as complex as the OP makes it - every instance has a rules definition how to calculate and split the comission. It is maintained separately (by that instance' manager). It could be done in WWF, but I am not sure it would be flexible enough. You dont talk
    Posted to Architecture (Forum) by NetTecture on 3/15/2008
  • Re: Public field vs Public property

    Well, one advantage is that certain functionality like DataBindin (especially in WinForms, WPF) works only with properties, not fields.
    Posted to Architecture (Forum) by NetTecture on 3/15/2008
  • Re: mailers triggered by events

    Whatever you do, I would NOT send the email from SQL Server. Just not nice to do. If you ever get HTML email, you possibly want to use a front end that can host ASP.NET and then generate the HTML emails using ASP.NET. The whole templating for the emails is not something I want to have on the server side. Generate entries in a table about the emails to send, then have another application poll this table regularly and generate the emails. This way you can also turn the email sending off easily (in
    Posted to Architecture (Forum) by NetTecture on 3/11/2008
  • Re: Should i create TableAdapters or Business Objects?suggestions please

    This will provide reusability, maintability and performance benefit. No, they won't. Not unless the programmer knows how to deal with them. Performance benefit is nice, and you can gain tremendous performance benefits with a proper DAL and a business object layer... ...but how many people have implemented a DAL that does in memory and on disc caching for objects? How many people have implemented a business object layer that uniques different transaction memory copies until they are written to
    Posted to Architecture (Forum) by NetTecture on 3/11/2008
  • Re: Single Employee Library for Internal Apps

    So the right place for this code would be a class that sits on top of my LINQ classes ? No. It is just that "Manager or not " is not somethig the employee class should know. It is something the employee's "roles" collection classes should know. The Employee class should know about the employee, not about his responsibilities (which change over time). I suggest readin the "Data Model Resource Book" for nice eplanations of company related data structures ;) A very
    Posted to Architecture (Forum) by NetTecture on 3/11/2008
Page 1 of 9 (88 items) 1 2 3 4 5 Next > ... Last »