在实体对象中访问导航属性里的属性值出现异常“There is already an open DataReader associated with this Command which must be closed first”. public class User { public long UserId { get; set; } public string UserName { get; set; } public string UserPwd { get; set; } public D…
1.问题: 在dealloc方法中使用[self.xxx release]和[xxx release]的区别? 用Xcode的Analyze分析我的Project,会列出一堆如下的提示:Incorrect decrement of the reference count of an object that is not owned at this point by the caller 仔细看了下代码,都是在dealloc方法中使用了[self.xxx release]这样的语句引起的,把…