C#, ADO.NET and MS-SQL
From: DJ van Vliet (dougie_at_global.co.za)
Date: 07/17/04
- Next message: Sijin Joseph: "Re: System.Diagnostic.Process"
- Previous message: Mark Broadbent: "Object Browsing in 2003/ SharpDevelop"
- Next in thread: Daniel Billingsley: "Re: C#, ADO.NET and MS-SQL"
- Reply: Daniel Billingsley: "Re: C#, ADO.NET and MS-SQL"
- Reply: Nick Malik: "Re: C#, ADO.NET and MS-SQL"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 17 Jul 2004 13:21:47 +0200
Hi All,
Question regarding the processes between C#, ADO.NET and MS-SQL
I need to understand the complexities of using the distributed method
(ADO.NET) of data retrieval and the subsequent update of database with
regard to transactions.
E.G. - Stock Item Purchase Order.
Header:
Ledger, Supplier, Order Number
Details:
Store, Item, Qty, UnitPrice
Header Entry:
database: BeginTransaction
1.Enter/Select Ledger
Store all ledger details on client when loading app
or
Use a search form, allowing the user to enter details. Use a Reader to
retrieve matching Ledgers.
2.Enter/Select/Create Supplier
Store all Supplier details - not practical?
or
Use search form, allowing user to enter details. If the user has the
proper authority, a new Supplier may be entered. Use reader to retrieve
matching Suppliers.
Detail Entry:
Basically the same principal for the Store and Item codes
Accept Order:
database: EndTransaction
It does not seem (to me) that the DBAdapter will be useful as I need to
obtain data as the user enters/selects the Ledger, Supplier, Store and
Item fields. I cannot store potential data because I have no idea what
will be selected (the Ledger and Store fields could be stored as they
are fairly static)
Should I design the above process by using my own version of storage and
not using the DBAdapter. If so, I am looking at a real-time system as
apposed to the ADO.NET model (disconnected)
I hope my question is not a clear as mud.
Dougie
- Next message: Sijin Joseph: "Re: System.Diagnostic.Process"
- Previous message: Mark Broadbent: "Object Browsing in 2003/ SharpDevelop"
- Next in thread: Daniel Billingsley: "Re: C#, ADO.NET and MS-SQL"
- Reply: Daniel Billingsley: "Re: C#, ADO.NET and MS-SQL"
- Reply: Nick Malik: "Re: C#, ADO.NET and MS-SQL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|