【正文】
.NET Framework Data ProvidersThe .NET Framework Data Providers are ponents that have been explicitly designed for data manipulation and fast, forwardonly, readonly access to data. The Connection object provides connectivity to a data source. The Command object enables access to database mands to return data, modify data, run stored procedures, and send or retrieve parameter information. The DataReader provides a highperformance stream of data from the data source. Finally, the DataAdapter provides the bridge between the DataSet object and the data source. The DataAdapter uses Command objects to execute SQL mands at the data source to both load the DataSet with data and reconcile changes that were made to the data in the DataSet back to the data source. The DataSetThe DataSet is explicitly designed for data access independent of any data source. As a result, it can be used with multiple and differing data sources, used with XML data, or used to manage data local to the application. The DataSet contains a collection of one or more DataTable objects consisting of rows and columns of data, and also primary key, foreign key, constraint, and relation information about the data in the DataTable objects. The following diagram illustrates the relationship between a .NET Framework data provider and a DataSet. .NET Data PlatformThe Data Platform is a multirelease strategy to decrease the amount of coding and maintenance required for developers by enabling them to program against conceptual entity data models. This platform includes the Entity Framework and related technologies. 英文翻譯 .NET ArchitectureData processing has traditionally relied primarily on a connectionbased, twotier model. As data processing increasingly uses multitier architectures, programmers are switching to a disconnected approach to provide better scalability for their applications. .NET Components The two main ponents of EntityDataSource 控件支持基于 EDM 的數(shù)據(jù)綁定方案。在此模型上部署的數(shù)據(jù)可通過標準的 HTTP 協(xié)議進行尋址。 .NET 數(shù)據(jù)服務(wù).NET 數(shù)據(jù)服務(wù)框架用于在 Web 或 Intranet 上部署數(shù)據(jù)服務(wù)。EntityClient 遵循 .NET Framework 數(shù)據(jù)提供程序模式,公開可返回 EntityDataReader 的 EntityConnection 對象和 EntityCommand 對象。開發(fā)人員也可以直接將實體 SQL 與對象服務(wù)一起使用。 實體 SQL實體 SQL 是一種基于文本的查詢語言,專門用于與實體數(shù)據(jù)模型進行交互。 LINQ to EntitiesLINQ to Entities 是一種語言集成查詢 (LINQ) 實現(xiàn),它允許開發(fā)人員通過使用 LINQ 表達式和 LINQ 標準查詢運算符,根據(jù)實體框架對象上下文創(chuàng)建強類型查詢。這些類既可以從概念模型自動生成,也可以單獨開發(fā)以反映概念模型的結(jié)構(gòu)。開發(fā)人員可以根據(jù)需要擴展這些對象,以滿足不同的應(yīng)用需求。EDM 數(shù)據(jù)類型和關(guān)系在一個概念模型中定義。2. .NET FRAMEWORK數(shù)據(jù)平臺 實體數(shù)據(jù)模型 (EDM)實體數(shù)據(jù)模型 (EDM) 是一種將應(yīng)用程序數(shù)據(jù)定義為多組實體和關(guān)系的設(shè)計規(guī)范。 實體框架 .NET 實體框架專門用于讓開發(fā)人員能夠通過針對概念性應(yīng)用程序模型進行編程(而不是直接針對關(guān)系存儲架構(gòu)進行編程)來創(chuàng)建數(shù)據(jù)訪問應(yīng)用程序。此平臺包括 .NET 實體框架和相關(guān)技術(shù)。下圖闡釋了 .NET Framework 數(shù)據(jù)提供程序和 DataSet 之間的關(guān)系。因此,它可以用于多種不同的數(shù)據(jù)源,用于 XML 數(shù)據(jù),或用于管理應(yīng)用程序本地的數(shù)據(jù)。DataAdapter 使用 Command 對象在數(shù)據(jù)源中執(zhí)行 SQL 命令以向 DataSet 中加載數(shù)據(jù),并將對 DataSet 中數(shù)據(jù)的更改協(xié)調(diào)回數(shù)據(jù)源。DataReader 可從數(shù)據(jù)源提供高性能的數(shù)據(jù)流。Connection 對象提供到數(shù)據(jù)源的連接。.NET 組件 .NET 用于訪問和操作數(shù)據(jù)的兩個主要組件是 .NET Framework 數(shù)據(jù)提供程序和 DataSet。隨著數(shù)據(jù)處理越來越多地使用多層體系結(jié)構(gòu),程序員正在向斷開方法轉(zhuǎn)換,以便為他們的應(yīng)用程序提供更好的可伸縮性。他們在我的大學期間付出了很多的心血與精力,在我的學習道路中,他們孜孜不倦的教誨和鼓舞是促進我不斷進取的重要精神動力。最后,感謝所有的老師。感謝我所有的同學和朋友。隨著研究的進行,可能還會出現(xiàn)其他一些問題,我會繼續(xù)努力,逐步改善和不斷完善本系統(tǒng)。因此,本系統(tǒng)仍然存在著一些需要改進和不足的問題。本系統(tǒng)的大部分模塊已經(jīng)實現(xiàn),并且也符合以上幾個特性。因此系統(tǒng)要隨著用戶的需求而不斷發(fā)生變化,不斷更新系統(tǒng)的內(nèi)容來滿足用戶更多的需求。系統(tǒng)的易管理性。界面的清晰簡單可以使學習用戶一目了然,輕松的找到自己瀏覽本系統(tǒng)的目的所在。經(jīng)過這幾個月來對系統(tǒng)的分析、設(shè)計,使我對基于WEB的投稿和稿件處理系統(tǒng)有了全面的了解與認識,同時對基于WEB的投稿和稿件處理系統(tǒng)做了具體的解剖。(四)對編程中用到的函數(shù),要將其變量的含義了解清楚,這樣才能順 利應(yīng)用,以實現(xiàn)函數(shù)的功能。(二)對各個控件的屬性、事件要清楚,這樣才能在編程的過程中熟練的應(yīng)用。我們在不同瀏覽器上(IE瀏覽器6和Mozilla Firefoxe)對網(wǎng)頁進行了測試,結(jié)果表明此系統(tǒng)適合我們所選的瀏覽器。備注:數(shù)據(jù)庫達到最大連接數(shù)為10因為自己做畢設(shè)的硬件有限,使用自己電腦做服務(wù)器,其限制了最大連接數(shù)。測試了網(wǎng)站系統(tǒng)中的每一個模塊,測試內(nèi)容包括模塊的前臺以及后臺。/script)。=39。添加成功39。javascript39。 ()。 [Class].Value = 。 (Class, )。 //對象實例化 = insert into zhuanjia_Class (zhuanjia,Class)values(zhuanjia,Class)。 SqlCommand cmd = new SqlCommand()。 編輯分配稿件主要實現(xiàn)代碼: protected void Button1_Click(object sender, EventArgs e) { try { SqlConnection con = ()。} protected void Button1_Click(object sender, EventArgs e){ updata()。../admin/39。)。alert(39。 (script language=39。 [filehege].Value = 。 [filepinglun].Value = 。 (fileshenhe,)。, con)。 SqlCommand cmd = new SqlCommand(update Efile set filepinglun=filepinglun ,fileshenhe=fileshenhe,filehege=filehege where Title=39。 SqlConnection con = ()。 } ()。 = (sdr[File_class])。 = (sdr[Author_])。 if (()) { = (sdr[Author])。 [Bookid].Value = [id].ToString()。, con)。 SqlCommand cmd = new SqlCommand(select * from Efile where Book_id=39。 //給它復(fù)傳變量值 SqlConnection con = ()。 審稿意見與采納主要實現(xiàn)代碼: private void list() //顯示詳細信息 { string id。 ()。 + Session[Expert_name] + 39。 } } 專家主頁面功能 專家審稿界面主要實現(xiàn)代碼:private void GetMyFile() { Data mydata = new Data()。../admin/39。)。alert(39。 (script language=39。 [Adminpwd].Value = ()。 (Adminpwd, )。 + name + 39。 = (SqlConnection)con。 ()。 管理員個人信息修改主要實現(xiàn)代碼:protected void Button1_Click(object sender, EventArgs e) { string name = Session[adminname].ToString()。 ()。添加成功39。javascript39。 ()。 [PubName].Value = 。 //對象實例化 = insert into Publish (PubName)values(PubName)。 SqlCommand cmd = new SqlCommand()。 稿件出版社添加主要實現(xiàn)代碼: protected void LinkButton1_Click(object sender, EventArgs e) { SqlConnection con = ()。下面是實現(xiàn)欄目添加功能,添加專加信息包括:出版社名稱等信息。 } 出版社管理功能在這個模塊管理員可以添加,查看,編輯,刪除所有的出版社信息。)/script)。alert(39。 (script language=39。 ()。