UPDATE statement is automatically generated
UpdateBatchSize
Integer
The number of bulk commit processing allowed to change data when the dataset is in buffered mode, default is 1
Toradatasetoptionsds
AutoClose
Boolean
Automatically closes the OCI cursor when all data has been obtained.
Cachelobs
Boolean
Whether to buffer locally to save BLOB data
Deferredlobread
Boole
Odac the efficiency of getting data is high, there are several ways in which you want to get the first page of data faster in a Web program:1, in the database for paging processing;2, get all the data, just quickly return to the first page of data.The first scenario on the application server resource consumption is minimal, the database consumption is slightly larger, the customer needs to be flexible filtering of the whole data, find, statistics is n
It is recommended that you use an array when working with objects. But there may be problems when you need to use a large array in a dataset. For example, when a large array of ODAC is created for a field, a large number of Tfield fields are also created, which can cause the program's performance to be greatly reduced. Therefore, the ODAC limit can only create 1000 members for a field. But either way, you c
Fieldmappingmode
Tcrfieldmappingmode
field mapping modes, including:Mmfieldindex Map by Field orderMmfieldname Map by Field name
Keyviolcount
Integer
Get the number of records that cannot be replicated due to primary key checksum or primary key violation
Mappings
TStrings
Establish a field mapping relationship between the target dataset and the source dataset, in the following format:Destcolname=sourcecolname
parameter lists with SQL
ParamCount
Integer
Number of parameters
Params
Parameter collection
Datatypemap
Tdamaprules
Managing mappings between different data types and field types when datasets are turned on
Unidirectional
Boolean
In general, the cursor of a dataset is bidirectional, and when set to true, the cursor becomes one-way so that less memory is consumed
Createblobstream
The master/detail relationship between two tables is widely used. It is therefore important to provide a simple way for database application developers to implement it. Let's take a look at how to implement this feature.
If we establish a master/BOM relationship between "Department" and "Employee". The Department table contains the following fields: Depno, Depname, and Location. Depno is a numeric primary key, and the other two fields are string types.
The Employee table contains the following
Name
Type
Description
Active
Boolean
Activating SQL Trace
Dbmonitoroptions
To send trace information to the selection of the Dbmonitor tool software
Host
IP Address
Port
Port number
Reconnecttimeout
Timeout time for reconnection
Sendtimeout
Timeout time for sending messages
Options
Track selection of SQL
Mocustom
When Modialog is s
Tsmartqueryis relative toToraquery A more concise data set with the following members
Name
Type
Description
Expand
Boolean
The default is False, and if true, the dataset will automatically get all field data and information, regardless of what fields are listed in SQL
Smartrefresh
Boolean
The default is false, which means that if the application is in a concurrent environment, changes to the records in the database tables w
4. master-Slave table relationship
Name
Type
Description
Mastersource
The DataSource component that corresponds to the primary table from the table
Detailfields
Foreign key fields corresponding to the main table field from the tables
Masterfields
A field in the primary table that is associated from a table, typically a key field for the primary table
5. Implement the relevant
Name
Type
Description
Options
Tvirtualtableoptions
Select items, including:Vopersistentdata: does not process its related data content when the dataset is closedVostored: The processing of data sets during the design period and the data entered will be stored in the DFM file
AddField
Add a field that takes effect after active=true
DeleteField
Delete a field
Deletefields
Delete all fields
When a refresh operation is performed, another dataset is executed through this property, which performs more refresh actions
Refreshsql
Refresh the required SQL statements
Sql
Returns the corresponding SQL statement based on the specified action type
Apply
Set parameters and execute SQL for data updates. If the parameter is included, its execution efficiency is higher than execsql
Execsql
. How to install the Oracle Data Access Component ODAC ----- install the driver
Note: The driver is installed to enable Oracle provider for old db for the data source in SQLSERSSVER. MSSQL2008 comes with this driver by default.
Fang Yi:If the 32-bit win2003 operating system is used, there will be the Microsoft ole db Provider for
The Oracle data Access Components (ODAC) library provides a number of non-visual components for Borland delphi,c++ Builder and Kylix. They are used to access Oracle relational database systems. Similar to BDE, ODAC is also one of the alternative ways to process data.The ODAC
Label:Recently asked the classmate "why." NET application connecting to an Oracle database is always an error? "I think this is because we usually use Microsoft's products and lack research on other platform products." Microsoft has always had a "platform unified" dream, but unfortunately this dream will never come true. Why, because there are many companies like Oracle do not buy Microsoft accounts, they w
Label:Recently asked the classmate "why." NET application connecting to an Oracle database is always an error? "I think this is because we usually use Microsoft's products and lack research on other platform products." So much nonsense, I'll talk about how to properly configure Oracle to adapt to. NET application development.First, download the required components
Use a. NET application to connect to the Oracle database. netoracle
Recently, I was asked by my friends, "Why is there always an error in connecting the. NET application to the Oracle database ?", I think this is because we usually use Microsoft products, but lack research on other platform products. After talking so much nonsense, let's talk about how to correctly configure
a complete ORACLE11GR2 program is also an effective method, but this 64-bit version of the installation package has 2 multi-g, quite large, if only to establish a linked server, there is no need to install such a monster. In fact, we only need to download the ODAC compressed package on the Oracle official website.As to how to install ODAC, not the focus of this
-----------------------------------------
The preceding section describes how to use the first data provider to access Oracle,
Next, we will introduce the. NET Framework data provider for OLEDB.
Add a connection to the Oracle database as before,
However, the data provider used this time is used for the. NET Framework data provider of OLEDB.
I still use scott users to access the
The company's new project uses Oracle database and entityframework. There is no suitable information on the Internet, so you cannot learn and practice it.
First, use dbfirst mode.
1. Download the Oracle plug-in odac that supports ado.net.
Odac 11.2 release 3 (11.2.0.2.1) with Or
=
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
) 3. Stop and start the service Stop the following services before you start.
Oracleoradb11g_hometnslistener
oracleservice*
Client Configuration1. Download the ODAC compressed package. 2. Unzip the downloaded ODAC compressed package. 3. Execute the Install commandExample: install.bat all D:\Program\
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.