圣安地列斯联网1.0汉化包v1.0。0.9的不要1.01也不要就要1.0的

NBearLite是一个基于NBear的强类型查询内核的.NET 2.0开源(BSD协议)的通用数据访问组件。由及维护。NBearLite继承了和进一步简化扩展了NBear中类似LINQ的强类型数据库查询语法(支持CRUD简单查询及GroupBy、InnerJoin,Paging等常用复杂查询),简化了命名空间、代码架构,并进一步简化了用户使用,对已有代码也没有任何侵入。NBearLite不是一个ORM工具,它不涉及实体类,NBearLite的所有查询返回Scalar/DataSet/IDataReader。使用演示无论是在新建的程序还是已有的程序中使用NBearLite,步骤都差不多,非常简单。1、使用NBearLite提供的NBearLite.QueryColumnsGenerator.exe工具从已有数据库(可以是SqlServer、Oracle、MsAccess、MySql、Sqlite或PostgreSql),为表和视图生成强类型查询辅助类,并将生成的代码文件引用到项目工程。2、在项目中引用NBearLite.dll(该DLL内置了SqlServer、Oracle和MsAccess的DbProvider,如果需要使用MySql、Sqlite或PostgreSql数据库,则还需要引用NBearLite.AdditionalDbProviders.dll)。3、在项目的Web.config或App.config中的ConnectionStrings配置块中添加connectionstring。添加的语法可以和ADO.NET配置的标准语法一样,也可以简化设置,将providerName设为空(默认为sqlserver), sqlserver, sqlserver2005, msaccess, oracle, mysql,sqlite或postgresql。4、接着就可以直接在项目中实例化NBearLite.Database对象,并使用Database对象访问数据库了。具体的使用代码可以参见NBearLite.Test工程。例如:在NBearLite.Test工程中,SampleQueryColumnsDefinition.cs文件中保存了由NBearLite.QueryColumnsGenerator.exe工具生成的Northwind数据库的所有表和视图的强类型查询辅助类。在DatabaseTest.cs文件中,包含了一些查询演示:
&1&&&&&&&&[TestMethod]&2&&&&&&&&public&void&TestInsert()&3&&&&&&&&{&4&&&&&&&&&&&&Assert.AreEqual(<SPAN style="COLOR: #,&db.Insert(Northwind.Categories).AddColumn(Northwind.Categories.CategoryName,&"test1").Execute());&5&&&&&&&&&&&&Assert.IsTrue(db.Insert(Northwind.Categories).AddColumn(Northwind.Categories.CategoryName,&"test1").ExecuteReturnAutoIncrementID(Northwind.Categories.CategoryID)&&&<SPAN style="COLOR: #);&6&&&&&&&&}&7&8&&&&&&&&[TestMethod]&9&&&&&&&&public&void&TestUpdate()<SPAN style="COLOR: #&&&&&&&&{<SPAN style="COLOR: #&&&&&&&&&&&&Assert.AreEqual(<SPAN style="COLOR: #,&db.Insert(Northwind.Categories).AddColumn(Northwind.Categories.CategoryName,&"test1").Execute());<SPAN style="COLOR: #&&&&&&&&&&&&Assert.IsTrue(db.Update(Northwind.Categories).AddColumn(Northwind.Categories.CategoryName,&"test1").Where(Northwind.Categories.CategoryName&==&"test1").Execute()&&&<SPAN style="COLOR: #);<SPAN style="COLOR: #&&&&&&&&}<SPAN style="COLOR: #<SPAN style="COLOR: #&&&&&&&&[TestMethod]<SPAN style="COLOR: #&&&&&&&&public&void&TestDelete()<SPAN style="COLOR: #&&&&&&&&{<SPAN style="COLOR: #&&&&&&&&&&&&Assert.AreEqual(<SPAN style="COLOR: #,&db.Insert(Northwind.Categories).AddColumn(Northwind.Categories.CategoryName,&"test111").Execute());<SPAN style="COLOR: #&&&&&&&&&&&&Assert.IsTrue(db.Delete(Northwind.Categories).Where(Northwind.Categories.CategoryName&==&"test111").Execute()&&&<SPAN style="COLOR: #);<SPAN style="COLOR: #&&&&&&&&}<SPAN style="COLOR: #<SPAN style="COLOR: #&&&&&&&&[TestMethod]<SPAN style="COLOR: #&&&&&&&&public&void&TestSelect()<SPAN style="COLOR: #&&&&&&&&{<SPAN style="COLOR: #&&&&&&&&&&&&DataSet&ds&=&db.Select(Northwind.Categories).ToDataSet();<SPAN style="COLOR: #&&&&&&&&&&&&Assert.IsTrue(ds.Tables[<SPAN style="COLOR: #].Rows.Count&&&<SPAN style="COLOR: #);<SPAN style="COLOR: #&&&&&&&&&&&&ds&=&db.Select(Northwind.Categories,&Northwind.Categories.CategoryName).Where(Northwind.Categories.CategoryID&&&<SPAN style="COLOR: #).ToDataSet();<SPAN style="COLOR: #&&&&&&&&&&&&Assert.IsTrue(ds.Tables[<SPAN style="COLOR: #].Rows.Count&&&<SPAN style="COLOR: #);<SPAN style="COLOR: #&&&&&&&&&&&&ds&=&db.Select(Northwind.Categories,&Northwind.Categories.CategoryName).GroupBy(Northwind.Categories.CategoryName).OrderBy(Northwind.Categories.CategoryName.Desc).SetSelectRange(<SPAN style="COLOR: #,&<SPAN style="COLOR: #,&Northwind.Categories.CategoryName).ToDataSet();<SPAN style="COLOR: #&&&&&&&&&&&&ds&=&db.Select(Northwind.Categories,&Northwind.Categories.__Alias("CategoriesAlias").CategoryName).Join(Northwind.Categories,&"CategoriesAlias",&Northwind.Categories.CategoryID&==&Northwind.Categories.__Alias("CategoriesAlias").CategoryID).<SPAN style="COLOR: #&&&&&&&&&&&&&&&&SetSelectRange(<SPAN style="COLOR: #,&<SPAN style="COLOR: #,&Northwind.Categories.CategoryID).Where(Northwind.Categories.CategoryName.Length&&&<SPAN style="COLOR: #&&&&Northwind.Categories.__Alias("CategoriesAlias").Description&!=&null).<SPAN style="COLOR: #&&&&&&&&&&&&&&&&ToDataSet();<SPAN style="COLOR: #&&&&&&&&}前三个Test都比较容易理解。TestSelect()中,分别演示了简单查询,分页GroupBy查询和一个自关联Join分页查询。除了以上演示的代码之外,还可以使用Database.CustomSql()/Database.StoredProcedure()方法查询自定义sql或存储过程。另外,NBearLite.QueryColumnsGenerator.exe工具本身也是一个使用NBearLite查询数据库的实际的实例程序。下载修订7/21 更新至v1.0.0.2 beta - 新增PostgreSql DbProvider,Insert/Update/Select/Delete方法的参数有部分修改,请注意参考以上已更新的的实例代码。7/22 更新至v1.0.0.3 beta - 修复PostgreSql DbProvider中的Bug。7/24 更新至v1.0.0.4 beta - 全面支持SqlServer,Oracle,MySql,PostgreSql数据库存储过程调用代码生成(C#/VB.NET)7/27 更新至v1.0.0.5 beta - 支持Sub Query查询Sub Query示例:
&1&&&&&&&&&&&&//SELECT&*&FROM&[Products]&WHERE&([Products].[CategoryID]&IN&((SELECT&TOP&10&[Categories].[CategoryID]&FROM&[Categories]&ORDER&BY&[Categories].[CategoryID])))&&&&&2&&&&&&&&&&&&DataSet&ds&=&db.Select(Northwind.Products)&3&&&&&&&&&&&&&&&&.Where(Northwind.Products.CategoryID.In&4&&&&&&&&&&&&&&&&(&5&&&&&&&&&&&&&&&&&&&&db.Select(Northwind.Categories,&Northwind.Categories.CategoryID).SetSelectRange(<SPAN style="COLOR: #,&<SPAN style="COLOR: #,&Northwind.Categories.CategoryID).ToSubQuery())&6&&&&&&&&&&&&&&&&)&7&&&&&&&&&&&&&&&&.ToDataSet();&8&9&&&&&&&&&&&&//SELECT&*&FROM&[Products]&WHERE&([Products].[CategoryID]&=&(SELECT&TOP&1&[Categories].[CategoryID]&FROM&[Categories]&ORDER&BY&[Categories].[CategoryID]))<SPAN style="COLOR: #&&&&&&&&&&&&ds&=&db.Select(Northwind.Products)<SPAN style="COLOR: #&&&&&&&&&&&&&&&&&&&&&&&&&&&&.Where(Northwind.Products.CategoryID&==<SPAN style="COLOR: #&&&&&&&&&&&&&&&&&&&&&&&&&&&&(<SPAN style="COLOR: #&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&db.Select(Northwind.Categories,&Northwind.Categories.CategoryID).SetSelectRange(<SPAN style="COLOR: #,&<SPAN style="COLOR: #,&Northwind.Categories.CategoryID).ToSubQuery())<SPAN style="COLOR: #&&&&&&&&&&&&&&&&&&&&&&&&&&&&)<SPAN style="COLOR: #&&&&&&&&&&&&&&&&&&&&&&&&&&&&.ToDataSet();<SPAN style="COLOR: #&&&&&&&&&&&&Assert.IsTrue(ds.Tables[<SPAN style="COLOR: #].Rows.Count&&&<SPAN style="COLOR: #);7/28 更新至v1.0.0.6 beta - 支持Save DataTable/DataRowSave DataTable/DataRow示例:
&1SelectSqlSection&selectSection&=&db.Select(Northwind.Categories)&2&&.Where(Northwind.Categories.CategoryID&==&catID)&3&&.OrderBy(Northwind.Categories.CategoryID.Desc)&4&&.SetSelectRange(<SPAN style="COLOR: #,&<SPAN style="COLOR: #,&Northwind.Categories.CategoryID);&5DataTable&dt&=&selectSection.ToDataSet().Tables[<SPAN style="COLOR: #];&6&7dt.Rows[<SPAN style="COLOR: #]["CategoryName"]&=&"modified";&8&9//save&a&modified&row<SPAN style="COLOR: #db.Save(selectSection.ToDbCommand(),&<SPAN style="COLOR: #,&dt);<SPAN style="COLOR: #<SPAN style="COLOR: #dt.Rows[<SPAN style="COLOR: #]["CategoryName"]&=&"modified2";<SPAN style="COLOR: #<SPAN style="COLOR: #DataRow&newRow&=&dt.NewRow();<SPAN style="COLOR: #newRow["CategoryName"]&=&"new";<SPAN style="COLOR: #dt.Rows.Add(newRow);<SPAN style="COLOR: #<SPAN style="COLOR: #//save&1&modified&row&and&insert&a&new&row<SPAN style="COLOR: #db.Save(selectSection.ToDbCommand(),&tran,&<SPAN style="COLOR: #,&dt.Rows[<SPAN style="COLOR: #],&dt.Rows[<SPAN style="COLOR: #]);7/29 更新至v1.0.0.7 beta - 发布中文版NBearLite完全参考手册<FONT color=#ff 更新至v1.0.0.8 beta - 为Stored Procedure包装方法增加带Transaction重载8/2 更新至v1.0.0.9 beta - 修复NBearLite参考手册某些操作系统打开错误的问题
Views(...) Comments()补丁下载――eNet游戏先锋
Undefined variable: HTTP_HOST in /home/httpd/egames/download/buding.php on line 15
include(http:///includes/top.shtml): failed to open stream: operation failed in /home/httpd/egames/download/buding.php on line 15
include(): Failed opening 'http:///includes/top.shtml' for inclusion (include_path='.:/usr/local/lib/php') in /home/httpd/egames/download/buding.php on line 15
      
     
  试玩搜索
共 73 页  这是第 24 页  补丁下载――eNet游戏先锋
Undefined variable: HTTP_HOST in /home/httpd/egames/download/buding.php on line 15
include(http:///includes/top.shtml): failed to open stream: operation failed in /home/httpd/egames/download/buding.php on line 15
include(): Failed opening 'http:///includes/top.shtml' for inclusion (include_path='.:/usr/local/lib/php') in /home/httpd/egames/download/buding.php on line 15
      
     
  试玩搜索
共 73 页  这是第 34 页  & 地铁:最后的曙光 v1.0.0.9升级档单独破解补丁[RELOAD
地铁:最后的曙光 v1.0.0.9升级档单独破解补丁[RELOAD
《地铁:残光夜影》将呈现后启示录风格的莫斯科。开发商4A Games将以充满探索,冒险的刺激作战呈现令人印象深刻的战役模式体验。
下载次数:
制作机构:RELOADED
整理时间:
软件大小:3.09MB
游戏语言:英文
地铁:最后的曙光 (1/16)
《地铁:残光夜影(Metro: Last Light)》
使用说明:
2.复制到游戏目录覆盖
3.开始游戏
by RELOADED
[][][][][][]
[][][][][][]
[][][][][][]
CopyRight (C) 3DMGAME- ,All Rights Reserved
服务电话:(010-)
商务合作/友情链接:
(华东/华南)
此下载由3DM游戏网提供
请选择游戏版本:
本站发布资源为互联网转载,非本站自制,仅供网友做交流学习之用!
请下载完毕后于24小时内删除,切勿用于商业用途,由此引发的法律纠纷及连带的责任本站和发布者概不承担补丁搜索:
> 三国志12
三国志12正式版 日版 V1.0.0.9升级档+游侠原创免DVD补丁
==&&由800vod提供==&&由51mag提供==&&由99DDD提供
玩家还下载了这些补丁
游戏运行必备补丁
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
最新更新TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
年度最热门TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
本周关注TOP10
1&&2&&3&&4&&5&&6&&7&&8&&9&&10&
热门攻略专辑
热门补丁推荐
周人气排行榜
精品手机游戏
精彩高清图推荐
| CopyRight &
ALi213.Net All Right Reserved 游侠网 版权所有

我要回帖

更多关于 圣安地列斯联网1.0 的文章

 

随机推荐