ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx

上传人:b****4 文档编号:3709606 上传时间:2023-05-06 格式:DOCX 页数:16 大小:28.21KB
下载 相关 举报
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第1页
第1页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第2页
第2页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第3页
第3页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第4页
第4页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第5页
第5页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第6页
第6页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第7页
第7页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第8页
第8页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第9页
第9页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第10页
第10页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第11页
第11页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第12页
第12页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第13页
第13页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第14页
第14页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第15页
第15页 / 共16页
ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx_第16页
第16页 / 共16页
亲,该文档总共16页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx

《ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx》由会员分享,可在线阅读,更多相关《ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx(16页珍藏版)》请在冰点文库上搜索。

ADO NET数据集ASP技术应用程序中英文资料外文翻译文献.docx

ADONET数据集ASP技术应用程序中英文资料外文翻译文献

中英文资料

 

外文文献及翻译:

OntheASPtomaintainthesecurityofapplications

aboutADO.NETDataSetandtheparallelimplementationofADO.NET

【abstract】

ADO.NET DataSetsTheDataSetobject is central tosupporting disconnected, distributed data scenarios with ADO.NET. TheDataTableCollectionAn ADO.NET DataSetcontains acollection of zero or more tables represented byDataTableobjects.ProperlyconfiguredsecuritysettingstoprotectyourASPapplicationswillnotbeunauthorizeduseraccessandtampering.TheASPprovidesawiderangeofapplicationofsafeguardprocedures.

【keyword】ADO.NETDataSet,asp,Security,webserver

ADO.NET DataSetsTheDataSetobject is central tosupporting disconnected, distributed data scenarios with ADO.NET. TheDataSetis a memory-residentrepresentation of data that provides a consistent relational programming modelregardless of the data source. It can be used with multiple and differing datasources, with XML data, or to manage data local to the application. TheDataSetrepresents acomplete set of data, including related tables, constraints, and relationshipsamong the tables. The following illustration shows theDataSetobject model.DataSetobject model The methods andobjects in aDataSetare consistent with those in the relational databasemodel.TheDataSetcan also persist andreload its contents as XML, and its schema as XML schema definition language(XSD) schema.

ASPisaserver-sidescriptingenvironment,throughsuchanenvironment,userscancreateandrundynamic,interactiveWebserverapplications.ASP'sActiveXtechnologyisbasedontheuseofopendesignenvironment,userscancreatetheirowndefinitionsandcomponentsbyaddingthemtotheirowndynamicwebsitewithalmostunlimitedcapacitytoexpand.ASPcanalsouseADOtoaccessthedatabasequicklyandeasily,allowingthedevelopmentofapplicationsbasedontheWWWpossible.

●ADO.NETDataSetandtheparallelimplementationofADO.NET

TheDataTableCollectionAn ADO.NET DataSetcontains acollection of zero or more tables represented byDataTableobjects. TheDataTableCollectioncontains all theDataTableobjects in aDataSet.ADataTableis defined in theSystem.Datanamespace andrepresents a single table of memory-resident data. It contains a collection ofcolumns represented by aDataColumnCollection, and constraintsrepresented by aConstraintCollection, which together define the schema of thetable.

 ADataTablealso contains a collection of rows represented by theDataRowCollection, which contains thedata in the table. Along with its current state, aDataRowretains both itscurrent and original versions to identify changes to the values stored in therow.

  TheDataView ClassADataViewenables you tocreate different views of the data stored in aDataTable, a capability thatis often used in data-binding applications. Using aDataView, you can expose thedata in a table with different sort orders, and you can filter the data by rowstate or based on a filter expression.

  TheDataRelationCollectionADataSetcontains relationshipsin itsDataRelationCollectionobject. A relationship, represented bytheDataRelationobject, associates rows inoneDataTablewith rows in anotherDataTable. 

A relationship isanalogous to a join path that might exist between primary and foreign keycolumns in a relational database. ADataRelationidentifies matchingcolumns in two tables of aDataSet.Relationships enablenavigation from one table to another in aDataSet. The essentialelements of aDataRelationare the name of the relationship, the name of the tablesbeing related, and the related columns in each table. Relationships can bebuilt with more than one column per table by specifying an array ofDataColumnobjects as the keycolumns. When you add a relationship to theDataRelationCollection, you can optionallyadd aUniqueKeyConstraintand aForeignKeyConstraintto enforce integrityconstraints when changes are made to related column values.

  XMLYou can fill aDataSetfrom an XMLstream or document. You can use the XML stream or document to supply to theDataSeteither data, schemainformation, or both. The information supplied from the XML stream or documentcan be combined with existing data or schema information already present in theDataSet.

  ExtendedPropertiesTheDataSet,DataTable, andDataColumnall have anExtendedPropertiesproperty.ExtendedPropertiesis aPropertyCollectionwhere you can placecustom information, such as the SELECT statement that was used to generate theresult set, or the time when the data was generated. TheExtendedPropertiescollection ispersisted with the schema information for theDataSet.

  

LINQ toDataSetLINQ to DataSetprovides language-integrated querying capabilities for disconnected data storedin a DataSet. LINQ to DataSet uses standard LINQ syntax and providescompile-time syntax checking, static typing, and IntelliSense support when youare using the Visual Studio IDE.5、Side-by-Side Execution in ADO.NETSide-by-sideexecution in the .NET Framework is the ability to execute an application on acomputer that has multiple versions of the .NET Framework installed,exclusively using the version for which the application was compiled.An applicationcompiled by using one version of the .NET Framework can run on a differentversion of the .NET Framework. However, we recommend that you compile a versionof the application for each installed version of the .NET Framework, and runthem separately. In either scenario, you should be aware of changes in ADO.NETbetween releases that can affect the forward compatibility or backwardcompatibility of your application.

 

 ForwardCompatibility and Backward CompatibilityForward compatibilitymeans that an application can be compiled with an earlier version of the .NETFramework, but will still run successfully on a later version of the .NETFramework. ADO.NET code written for the .NET Framework version 1.1 is forwardcompatible with later versions.Backwardcompatibility means that an application is compiled for a newer version of the.NET Framework, but continues to run on earlier versions of the .NET Frameworkwithout any loss of functionality. Of course, this will not be the case forfeatures introduced in a new version of the .NET Framework.

  The .NETFramework Data Provider for ODBCStarting with version1.1, the .NET Framework Data Provider for ODBC (System.Data.Odbc) is included as apart of the .NET Framework. The ODBC data provider is available to .NETFramework version 1.0 developers as a Web download from theDataAccess andStorageDeveloperCenter. 

The namespace forthe downloaded .NET Framework Data Provider for ODBC isMicrosoft.Data.Odbc.If you have anapplication developed for the .NET Framework version 1.0 that uses the ODBCdata provider to connect to your data source, and you want to run thatapplication on the .NET Framework version 1.1 or a later version, you mustupdate the namespace for the ODBC data provider toSystem.Data.Odbc. You then mustrecompile it for the newer version of the .NET Framework.If you have anapplication developed for the .NET Framework version 2.0 or later that uses theODBC data provider to connect to your data source, and you want to run thatapplication on the .NET Framework version 1.0, you must download the ODBC dataprovider and install it on the .NET Framework version 1.0 system. You then mustchange the namespace for the ODBC data provider toMicrosoft.Data.Odbc, and recompile theapplication for the .NET Framework version 1.0.

  The .NETFramework Data Provider for OracleStarting with version1.1, the .NET Framework Data Provider for Oracle (System.Data.OracleClient) is included as apart of the .NET Framework. The data provider is available to .NET Frameworkversion 1.0 developers as a Web download from theData AccessandStorageDeveloperCenter.If you have anapplication developed for the .NET Framework version 2.0 or later that uses thedata provider to connect to your data source, and you want to run thatapplication on the .NET Framework version 1.0, you must download the dataprovider and install it on the .NET Framework version 1.0 system.

  CodeAccess SecurityThe .NET Frameworkdata providers in the .NET Framework version 1.0 (System.Data.SqlClient,System.Data.OleDb) are required to runwith FullTrust permission. Any attempt to use the .NET Framework k dataproviders from the .NET Framework version 1.0 in a zone with less thanFullTrust permission causes aSecurityException.However, startingwith the .NET Framework version 2.0, all of the .NET Framework data providerscan be used in partially trusted zones. In addition, a new security feature wasadded to the .NET Framework data providers in the .NET Framework version 1.1.This feature enables you to restrict what connection strings can be used in aparticular security zone. You can also disable the use of blank passwords for aparticular security zone. For more informationBecause eachinstallation of the .NET Framework has a separate Security.config file, thereare no compatibility issues with security settings. However, if yourapplication depends on the additional security capabilities of ADO.NET includedin the .NET Framework version 1.1 and later, you will not be able to distributeit to a version 1.0 system.

  SqlCommandExecutionStarting with the.NET Framework version 1.1, the way thatExecuteReaderexecutes commands atthe data source was changed.In the .NET Frameworkversion 1.0,ExecuteReaderexecuted all commands in the context of thesp_executesqlstored procedure. Asa result, commands that affect the state of the connection (for example, SETNOCOUNT ON), only apply to the execution of the current command. The state ofthe connection is not modified for any subsequent commands executed while theconnection is open.In the .NETFramework version 1.1 and later,ExecuteReaderonly executes acommand in the context of thesp_executesqlstored procedure if the command containsparameters, which provides a performance benefit. As a result, if a commandaffecting the state of 

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > PPT模板 > 商务科技

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2