[AccessD] Data interface The best way

Charlotte Foust cfoust at infostatsystems.com
Thu Oct 13 13:07:31 CDT 2005


You're too old??  I'm 61!  I don't have anything offhand but I can dummy
something up this evening, I think.  My PC is supposed to be back in my
hands tonight (I went cold turkey a week ago when my backlit display
lost its backlight), so I'll see what I can do.

Charlotte


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Thursday, October 13, 2005 11:02 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Data interface The best way


Thank you very much for that Charlotte. 

Do you have a small example of the implementation...does not have to
work... but something that gives substance to the concept? (I need to
make a decision quickly as I am running late and it looks like (a) long
night(s)
ahead.)

TIA
Jim 

PS I am too old for this....

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte
Foust
Sent: Thursday, October 13, 2005 10:27 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Data interface The best way

We use typed datasets and build a data "entity" in the solution that
inherits that typed dataset and handles validations, update calls,
fills, etc.  We build dataproviders for each typed
dataset/entity/interface and let it handle creating the connections and
command strings, building the data adapter and passing a filled "entity"
back to the calling routine.  We actually store the SQL for these
commands in xml and look up the one we need, passing the parameters in
through the dataprovider.  It works quite well. 

Our code doesn't distinguish between back ends because right now, we're
simply using the OleDb provider for everything.  The SQL provider might
be faster, but we would have to write separate code to implement it and
our app needs to be able to work against either backend so we're
husbanding our resources<g>.

Charlotte Foust


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Thursday, October 13, 2005 10:09 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Data interface The best way


Hi All:

I am current working building a .Net solution for a client. ASP.Net 2,
ADO.Net and MS SQL 200x. 

Traditionally, when designing the system I have passed all the Selects,
Inserts, Updates and Deletes requests through to the server via ADO
commands using parameter lists and then to MS SQL side Stored Procedures
to manage any final validation and data work.

I am not sure of the best way to manage the data flow with this new
architecture (i.e. Datasets etc.). Any suggestions and experiences would
be very helpful.

TIA
Jim 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list