代码改变世界

阅读排行榜

Visual Entity 手册(八)创建单表继承

2011-08-23 14:25 by 麦舒, 495 阅读, 收藏,
摘要: Visual Entity 仅支持单表继承。1、创建一 Person 和 Employee 实体类,其中 Person 实体类中的 Type 属性为鉴别器2、从工具栏中选择 Inheritance 项,然后连接 Employee 和 Person 实体类,并设置鉴别器 阅读全文

ALinq for Oracle(V2.2) 日期 映射的一个 BUG(已修正)

2010-02-24 16:58 by 麦舒, 423 阅读, 收藏,
摘要: 看到有朋友在搜索引擎上这个问题。故将这封邮件帖出来。其实碰到一些莫明其妙的问题,最好的办法是给我发电子邮件。The Oracle Provider don't recognize the Date type of Oracle database, please set the DbType of Column Mapping as DateTime, just like below[Column(... 阅读全文

Visual Entity 手册(十一)代码生成设置

2011-08-17 17:25 by 麦舒, 416 阅读, 收藏,
摘要: NHibernate 代码生成设置(仅选取比较难理解的选项)一、DataContext 设置选项1、Auto-Implemented Properties设为 True 时,生成自动属性,如下:public partial class Category{ public virtual int CategoryID { get; set; } public virtual string CategoryName { get; set; } public virtual string Description { get; set; ... 阅读全文

ALinq Dynamic 使用指南——代码的获取与编译

2014-05-15 15:46 by 麦舒, 392 阅读, 收藏,
摘要: 1.下载代码ALinq Dynamic 项目托管在 CodePlex 网站,你可以使用浏览器下载压缩包,或者通过 SVN 获取。项目网址:http://esql.codeplex.com/压缩包下载网址:http://esql.codeplex.com/releases/SVN 地址:https:/... 阅读全文

Specified provider type 'ALinq.Oracle.OracleProvider' does not implement 'ALinq.IProvider'

2010-10-05 10:55 by 麦舒, 382 阅读, 收藏,
摘要: Question:I just upgraded to 2.4.4 and am now getting:Anwser:This problem is cause by the assemblies version is not match.for example:Version 1 : ALinq.dll 2.1 ALinq.Oracle.dll 1.5Version 2 : ALinq.dll... 阅读全文