Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3-tier model
Message
From
07/07/2007 10:15:48
 
 
To
07/07/2007 09:48:52
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
01238374
Message ID:
01238375
Views:
9
Data layer.

>Hi,
>If i use CA (CursorAdapters) and ADODB, then in CA.Init Method, i have some like:
>
>loConnDataSource = createobject('ADODB.Connection')
>***<DataSource>
>loConnDataSource.ConnectionString = [Provider=SQLOLEDB;Integrated Security=SSPI; Initial Catalog=Northwind;Data] + ;
>	[ Source=(local);]
>***</DataSource>
>loConnDataSource.Open()
>this.DataSource = createobject('ADODB.RecordSet')
>
>
>But, if i use CA, ADODB and 3-Tier model (User Interface, Business Logic and Data Layer), where is there (which layer,which method) ADODB commands like oConn.Open(),oConn.BeginTrans(), oRS.ActiveConnection = oConn, oRS.UpdateBatch(), oConn.RollbackTrans(), oRS.CancelBatch(), oConn.CommitTrans()... my question: which layer?)?
>Please, example.
>Thanks.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform