Re: BLL & DAL: How are they different?
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Jan 2008 17:13:25 -0000
<zhaojk@xxxxxxxxx> wrote in message news:d6237cfa-f310-4780-b333-063b0a99ffb6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Question: I suppose colParamaters should always be an array of string,
such that when we add more parameters to a stored procedure in the
RDBMS, we don't have to modify the code in the DAL, right?
Depends on the RDBMS but, for SQL Server, I use the SqlParameters collection:
http://www.google.co.uk/search?sourceid=navclient&hl=en-GB&ie=UTF-8&rlz=1T4GZEZ_en-GBGB252GB252&q=SqlParameters
BTW, do DAL mostly have static methods?
Depends... The Microsoft DAAB does, and mine does because I based it on the Microsoft one...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- References:
- BLL & DAL: How are they different?
- From: gnewsgroup
- Re: BLL & DAL: How are they different?
- From: Mark Rae [MVP]
- Re: BLL & DAL: How are they different?
- From: gnewsgroup
- Re: BLL & DAL: How are they different?
- From: sloan
- Re: BLL & DAL: How are they different?
- From: gnewsgroup
- Re: BLL & DAL: How are they different?
- From: Mark Rae [MVP]
- Re: BLL & DAL: How are they different?
- From: zhaojk
- BLL & DAL: How are they different?
- Prev by Date: Re: asp.net v1.1.4322 CS0016
- Next by Date: Re: Website Running Slow Please Help.
- Previous by thread: Re: BLL & DAL: How are they different?
- Next by thread: Re: BLL & DAL: How are they different?
- Index(es):
Relevant Pages
|