POCO实体生成器 [英] POCO Entity Generator

查看:152
本文介绍了POCO实体生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从 poco生成器,并遵循了演练,但poco generator选项不在我的模板列表中.




我正在使用Visual Studio 2010 Professional,已经下载并安装了poco实体生成器扩展.打开我的实体模型的设计器,单击添加代码生成项...",但是poco模板不在其中. list ???

I''ve downloaded the POCO entity generator from poco generator and also followed the steps from walkthrough but the poco generator option is not in my template list.




I''m using visual studio 2010 professional and I''ve downloaded and installed the poco entity generator extension.Open the designer of my entity model,Clicked on "Add code generation item..." but the poco template is not in the list ???

推荐答案

POCO:普通的旧CLR对象或POCO是Java EE编程世界中POJO一词的玩法,并且由开发人员用于.NET Framework的公共语言运行时.
POCO通常会错误地扩展为Plain Old C#对象,但是POCO可以使用针对CLR的任何语言来创建.有时使用的替代首字母缩写是PONO [2],用于Plain Old .NET Object,这也导致POPO的可能性.或Plain Old PHP Object.
POCO : Plain Old CLR Object or POCO is a play on the term POJO, from the Java EE programming world, and is used by developers targeting the Common Language Runtime of the .NET Framework.
POCO is often incorrectly expanded to Plain Old C# Object, but POCOs can be created with any language targeting the CLR. An alternative acronym sometimes used is PONO[2], for Plain Old .NET Object, leading also to the possiblity of POPO; or Plain Old PHP Object.


您可以尝试以下操作:

从edmx文件->右键单击->添加代码生成项

->搜索POCO-如果找到,请选择它,然后执行进一步的步骤...

如果未找到,请在在线模板部分进行搜索->得到它后,选择并执行进一步的步骤.

-萨加尔·索兰基(Sagar Solanki)
you can try following :

From edmx file -> right click -> Add Code Generation Item

-> Search for POCO - if found select it and follow further steps...

if not found then make search in online template section - > after you get it select and follow further steps.

-Sagar Solanki


这篇关于POCO实体生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆