标签:io sql ad 字符串 return public on 正则表达式
正则表达式 查找{[a-zA-Z0-9_]+} 替换成字符串属性 #region \1\n private string _\1 = "";\n public string \1\n {\n get \n {\n return _\1;\n }\n set \n {\n _\1 = value;\n }\n }\n #endregion\n\n
正则表达式 查找{[a-zA-Z0-9]+}:b+{[a-zA-Z0-9]+}生成指定类型的属性 #region \1\n private \2 _\1 = "";\n public \2 \1\n {\n get \n {\n return _\1;\n }\n set \n {\n _\1 = value;\n }\n }\n #endregion\n\n
正则表达式 查找{[0-9\.]+}:b+{[a-zA-Z0-9]+} 生成插入语句SQL //\1 \2\n #region\n\n public static readonly string SQL_\2_Insert = @"\n\n--\1 \2\ninsert into \2 () values()\n\n";\n\n #endregion
标签:io sql ad 字符串 return public on 正则表达式
原文地址:http://www.cnblogs.com/mingyongcheng/p/3892098.html