4.1下多对多Models层出错

first post: EricSir wrote: 代码: public class User : DbObjectModel<User> { ...

latest post: lifeng wrote: 因为赋值也没用,反而使不太了解的人误以为有效,加了 private 的话,编译器就会阻止这种操作。 至于EF,相信它也会越来越好的,不...

为什么继承了DbObjectModel后无法进行序列化和反序列化?

first post: ipublic163 wrote: using System; using System.Collections.Generic; using System.IO; u...

latest post: huobazi wrote: 请问现在的版本能支持到 XML 和 JSON序列化么,能支持到 WCF 的 DataContract 标签么?

建议下个版本增加Oracle的.Net的数据库访问组件的支持

first post: jxf_yx wrote: Oracle的.Net的数据库访问组件

latest post: lifeng wrote: This discussion has been copied to a work item. Click here to go to...

4.1问题

first post: zhdwwf wrote: 请问4.1版本中是不是将FindAll()方法移除了?我从4.0升级到4.1时,所有使用FindAll()方法的地方都报错,另外希望...

latest post: lifeng wrote: 是的,FindAll 移除了,更新内容参见 Issue Tracker

无法将类型为“Lephone.Util.Logging.TextFileLogRecorder”的对象强制转换为类型“Lephone.Core.Logging.ILogRecorder”。

first post: idragonet wrote: <configSections> <section name="Lephone.Settings" type="Leph...

latest post: lifeng wrote: SqlLogRecorder 是一个完全限定名: https://www.google.com/search?q=%E5%AE%8C...

DbEntry In NuGet.org

first post: shiningrise wrote: DbEntry In NuGet.org http://nuget.org/packages/DbEntry includ...

我觉得EF4.1的ForeignKey字段批注很有用啊

first post: shiningrise wrote: namespace System.ComponentModel.DataAnnotations { // 摘要: ...

latest post: lifeng wrote: 如果是一个小项目,将整个对象实例化的影响并不会被感受到。 如果是一个大项目,而且已经确认是对象实例化造成了性能瓶颈,则应该直接将外键改...

给项目中加入了pfx签名后,编译时出现System.IO.FileLoadException: 未能加载文件或程序集xxxx或它的某一个依赖项。强名称验证失败。

first post: majeleven wrote: 如题,项目Models是所有表模型和一些逻辑,给这个项目加入了pfx签名后编译出现: System.IO.FileLoadExcep...

latest post: lifeng wrote: 没用过pfx签名,你可以尝试对Models等程序集先进行snk签名,然后再进行pfx签名。

请教一些问题

first post: hncdyjh wrote: DbEntry能使用纯代码方式配置吗? 自定义Pk,不继承自DbObjectModel,就没法使用User.Table的l...

latest post: hncdyjh wrote: The model need a public/protected(DbObjectModel) argumentless const...

Save an object without primary key ?

first post: Blackrush wrote: Hello, I need to create a table without primary key but Lephone doe...

latest post: lifeng wrote: DbEntry.Context.Insert(obj); DbEntry.Context.Update(obj);