Conjecture about the underlying implementation principle of ADO

Source: Internet
Author: User

A simple Rs. Open SQL, Conn, 1, 1

I think its implementation mechanism is

1. Program-> Database
Requests from a program to send an SQL statement to the database

2. search databases by SQL
Get a two-way cross linked list

3. Ado returns the returned header pointer.
Perform operations such as movenext movefirst

The source of this speculation is as follows:
You can easily perform basic operations on RS, such
Movenext movefirst movelast save addnew and other methods
Field corresponds to a struct because it is a pointer linked list of struct, so it is quite easy to complete.

One of the doubts about this theory is the implementation of remote, which is still under consideration. I guess it is socket, but it is hard to prove it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.