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

推荐订阅源

Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
博客园 - 聂微东
U
Unit 42
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
IT之家
IT之家
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)

博客园 - BigKiteasdasd

招聘软件开发 javascript常用验证(转载) 人生很重要的一个开始 NStarfaiNet框架类关系简图 NStarfaiNet框架性能测试结果 NStarfaiNet框架代码生成器Version1。1 NStarfaiNet框架代码生成器 NstarfaiNet框架日志 NStarfaiNet 框架的使用示例(三) NStarfaiNet 框架的使用示例(二) NStarfaiNet 框架的使用示例(一) NStarfaiNet 的配置(dao_maps_config.config) NStarfaiNet 框架 iBatis.Net ParameterMap 怎样在C#中实现confirm() 动态添加附件上传按钮 常用javascript脚本 链接处变换色彩 学习配置篇1
NStarfaiNet的SQL Map文件示范(maps/sample.xml)
BigKiteasdasd · 2006-10-13 · via 博客园 - BigKiteasdasd

 1<?xml version="1.0" encoding="utf-8" ?> 
 2<statements>
 3<select id="SeletTest">
 4select * from bsi_test where 1=1 
 5<dynamics>
 6    <dynamic prepend="and" property="year" value="year='$year$'"/> 
 7    <dynamic prepend="and" property="month" value="month='$month$'"/> 
 8</dynamics>
 9order by name
10</select>
11</statements>
12            

所有sql map文件的语法如上所示,语句类型分为insert,update,delete,select.变量符号统一使用$,其他如#,?等符号本架构不支持!nstarfainet的sal map文件的语法格式和ibatisnet的有点类似,但没有ibatisnet那么强大和智能,不过很简单!一看就会! ibatisnet的sql map语句似乎不好处理#,$等特殊字符,nstarfainet在这方面做了些改进。