摘要: 折腾几天记载一下,由于项目实际需要,从edmx生成的实体类能自动继承自定义的基类,这个基类不是从edmx文件中添加的Entityobject。利用ADO.NET C# POCO Entity Generator With WCF Support生成的tt文件(比如model.tt)中找到<#=Accessibility.ForType(entity)#> <#=code.SpaceAfter(code.AbstractOption(entity))#>partial class <#=code.Escape(entity)#><#=code.Strin 阅读全文
posted @ 2013-06-09 11:32 Charleston 阅读(844) 评论(0) 推荐(0) 编辑