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

推荐订阅源

V
V2EX
量子位
博客园 - 司徒正美
IT之家
IT之家
V
Visual Studio Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
GbyAI
GbyAI
Vercel News
Vercel News
B
Blog
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
小众软件
小众软件
罗磊的独立博客
博客园 - 叶小钗
雷峰网
雷峰网
Martin Fowler
Martin Fowler
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学

博客园 - iSun自由软件团件

Quart.net cron SQL Server TEST treecode table gettree treecode test 要逝去的花样春色 用于主题检测的临时日志(4727e507-fac3-4078-8e60-03528e628d21 - 3bfe001a-32de-4114-a6b4-4005b770f6d7) 词一首 狗尾草 不后悔 2008,人力资源软件是否还依然 dll_part 通过JAVAScript实现页面自适应 发布最新iSunXoft HR 源码和生成器源码(改自AspCool) 乍恋 天净沙.梦还 秋思
TEST
iSun自由软件团件 · 2012-04-27 · via 博客园 - iSun自由软件团件

        public virtual string GetSqlCommand()
        {
            string key =this.GetGuid();
            StringBuilder sb = new StringBuilder(" if exists (select * from "+this.GetTableName()+" where "+key+" = '"+this.GetPropertyValue(key)+"')");
            sb.AppendLine().Append("Begin");
            sb.AppendLine().Append(BuildUpdateCom());
            sb.AppendLine().Append("End");
            sb.AppendLine().Append("Else");
            sb.AppendLine().Append("Begin");
            sb.AppendLine().Append( BuildInsertCom());
            sb.AppendLine().Append("End");
            return sb.ToString();
        }

发表于 2012-04-27 09:59  iSun自由软件团件  阅读(168)  评论()    收藏  举报