惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
博客园 - 聂微东
Application and Cybersecurity Blog
Application and Cybersecurity Blog
MyScale Blog
MyScale Blog
罗磊的独立博客
H
Help Net Security
L
LangChain Blog
T
Threat Research - Cisco Blogs
量子位
S
Securelist
Last Week in AI
Last Week in AI
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
The Hacker News
The Hacker News
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
T
Threatpost
Security Latest
Security Latest
P
Palo Alto Networks Blog
Microsoft Security Blog
Microsoft Security Blog
NISL@THU
NISL@THU
F
Full Disclosure
WordPress大学
WordPress大学
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Heimdal Security Blog
J
Java Code Geeks
Recorded Future
Recorded Future
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
B
Blog RSS Feed
月光博客
月光博客
C
Cisco Blogs
V
Visual Studio Blog
D
DataBreaches.Net
H
Hacker News: Front Page
博客园 - 叶小钗
N
News and Events Feed by Topic
爱范儿
爱范儿
A
Arctic Wolf

博客园 - 一九零零

python 中文乱码解决 用户中心 - 博客园 Windows Nginx 下启动关闭的管理批处理脚本 window nginx 多站点(虚拟主机)配置 HttpRuntime.Cache[""] 泛型强制转换时 值类型的错误 解决不能加载 MagicNet.dll 组件 固定长度和变长 字符串 对 默认值的处理 C#写COM组件提供ASP使用(转) - 一九零零 - 博客园 如何使用FindControl查找内容页上的某个控件? - 一九零零 - 博客园 jQuery.Validate 使用笔记 整理和收集一些 AspNetPager 分页样式,比较美观 排序 SELECT INTO 生成的表 默认的一个排序序号字段是,自增长标识列 Win 2003 系统下,发布 Asp.Net Ajax 带来的环境问题 数据库备份打包工具 Asp.NET 网站程序,在 IIS6.0 部署时出现的环境问题集? 网页效果方面的建议 有关 VS 2008 Toolbox 载入控件重复的解决办法! @@IDENTITY,SCOPE_IDENTITY和IDENT_CURRENT的辨析 IE中打开UTF-8编码title为中文的网页会显示空白页的问题
发布一款实体代码生成器 V3.0 格式相对美观
一九零零 · 2009-05-16 · via 博客园 - 一九零零

名称:实体代码生成器 V3.0

下载地址:实体代码生成器 V3.0 下载

说明:

  1. 环境要求:Dotnetfx2.0 以上;
  2. 格式相对美观,支持 MSSQL 2000,2005;使用到 DataRabbit.dll 和 ESBasic.dll 组件;借鉴和使用了 DataRabbit 实体生成的特点;
  3. 自动保存数据库配置信息;
  4. 可以指定实体代码文件生成路径,默认是当前目录下 buildDocument/数据库名称;

最新更新:

  1. 更新了在生成“私有变量”代码块儿时,注释文本的Tab键对齐方式;详见文后的代码片段;1个Tab=4个半角空格

配置文件说明:

<!-- 数据库用户名 -->
<add key="dbuser" value="sa" />
<!-- 数据库密码 -->
<add key="dbpwd" value="sqlpwd" />
<!-- 数据库名称 -->
<add key="dbname" value="UCTestWebDB" />
<!-- 数据库服务器地址 -->
<add key="serverAddr" value="(local)" />
<!-- 实体命名空间 -->
<add key="namespaceEntity" value="Game.Entity" />
<!-- 保存路径 -->
<add key="saveFolder" value="E:\Entity\" /><!-- 版本:GameWeb 4.0 -->
<add key="gwVersion" value="GameWeb 4.0" />
 
<!-- 作者:http://www.foxuc.com -->
 
<add key="domain" value="http://www.foxuc.com" />

生成代码片段:

Code

更新之后的代码片段:

#region 私有变量
private string m_smtp;                    //smtp 地址
private int m_port;                       //端口号码
private string m_sysemail;                //系统邮件地址
private string m_username;                //邮件帐号
private string m_password;                //邮件密码
private string m_emailcontent;            //邮件内容
#endregion