- 1、本文档共32页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Npgsql - 用户手册
Npgsql: 用户的手册
Copyright ? The Npgsql Development Team
Last update: $Date: 2009/12/20 02:33:47 $ by $Author: fxjr $
Category: External documentation
Intended Audience: Npgsql Users
1. What is Npgsql?
Npgsql 是一个.net的资料提供者为postgresql的数据库服务器
它允许一个.net客户端应用程序(控制台,WinForms,ASP的。网络、网络服务…)发送和接收数据与postgresql的服务器。它正在积极开发基于指南规定在.net文档。
2. How to get and compile Npgsql 如何获得和编译Npgsql
2.1 Binary package 二进制包
你可以下载Npgsql编译为MS . 在里面编写.net的项目。
这个包裹里,你会发现下面的目录的布局。
Npgsql/bin/docs - Documentation
Npgsql/bin/docs/apidocs - API Documentation
Npgsql/bin/ms1.1 - Npgsql compiled for MS.Net 1.1
Npgsql/bin/mono - Npgsql compiled for Mono
As soon as Npgsql is released on other platforms/versions, they will be added accordingly to this layout.
2.2 Installing binary package 安装二进制包
为了查找到。net运行时,文件Npgsql.dll必须放置在你的应用程序目录——除非你指定另一个目录作为通往私营成分通过一个配置文件(使用探测单元)。请看看。net除有关如何运行(位于)总成,被载入。确切地说,前面可以称为” 通往私人组件
在ASP。网络和网络服务的应用程序中,必须有一个叫做“bin”的应用与ASP.net目录. 举例来说,如果应用程序目录被称为“ASPNETApplication”,然后Npgsql.dll和Mono.Security.dll必须放置在“ASPNETApplication \bin”的目录. 如果这些文件是不正确的目录,你可以看到编译器生成错误代码,使用Npgsql类。
或者,你可以把Npgsql装配在解决。自从版本0.4,Npgsql强烈签字——这意味着你可以用“gacutil 安装它。
下列命令:
gacutil - Npgsql.dll
请参阅“安装装配在全球缓存汇编”部分的单据MSDN来获得更多信息.利用gac的意义,你应该充分理解,沿着这条路。
注意,放置在……要求Npgsql设计时间支持.net可视化工作室。
(Npgsql编制单声道不需要Mono.Security.dll作为已经融入单声道运行。)
一旦你拷贝或设置组件,你准备去试试这个例子——跳转到section 3.
2.3 Getting Npgsql from CVS 获得Npgsql到CVS
让Npgsql到CVS,使用下列资料储存在你的客户信息
Server:
Repository: /cvsroot/npgsql
Module name: Npgsql2
User: anonymous
Password:
If you are using CVS from a command line, use this command:
cvs -d :pserver:anonymous@:/cvsroot/npgsql login
Hit the Enter key when prompted for a password (none required):
cvs -d :pserver:anonymous@:/cvsroot/npgsql checkout Npgsql2
The code will begin transferring:
$ cvs -d :pserver:anonymous@:/cvsroot/npgsql login
Logging in to :pserver:anonymous@:2401/cvsroot/npgsql
CVS password:
$ cvs -d :pserver:anonymous@:/cvsroot/npgsql co Npgsql2
cvs checkout: Updating Npgsql2
cvs checkout: Up
您可能关注的文档
- 思科路由配置(RIP实验2).doc
- 2014年1月北京城区高三英语期末试卷作文整理.docx
- 3GPP2目录.doc
- 创业商业计划书模板2 (Version12)20100322 - 副本.doc
- 所有Windows Server 2003下载地址及密钥.doc
- _IC5141_Calibre_MMSIM安装.docx
- 四期六组绩效考核制度-2013-6-21.ppt
- yaffs2制作教程.doc
- 密码实验报告2.docx
- bugzilla2_20安装说明.doc
- 2024年江西省寻乌县九上数学开学复习检测模拟试题【含答案】.doc
- 2024年江西省省宜春市袁州区数学九上开学学业水平测试模拟试题【含答案】.doc
- 《GB/T 44275.2-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第2部分:术语》.pdf
- 中国国家标准 GB/T 44275.2-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第2部分:术语.pdf
- GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构.pdf
- 《GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构》.pdf
- 中国国家标准 GB/T 44285.1-2024卡及身份识别安全设备 通过移动设备进行身份管理的构件 第1部分:移动电子身份系统的通用系统架构.pdf
- GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南.pdf
- 中国国家标准 GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南.pdf
- 《GB/T 44275.11-2024工业自动化系统与集成 开放技术字典及其在主数据中的应用 第11部分:术语制定指南》.pdf
文档评论(0)