摘要: /// <summary> /// 创建lambda表达式:p=>p.propertyName == propertyValue /// </summary> /// <typeparam name="T"></typeparam> /// <param name="column"></param> 阅读全文
posted @ 2019-11-28 16:00 芮源 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Code: /// <summary> /// 导出word /// </summary> /// <param name="id"></param> /// <returns></returns> [HttpGet] [Route("api/Values/Todoc")] public HttpR 阅读全文
posted @ 2020-11-13 14:25 芮源 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 数据结构接口: /// <summary> /// 实体类必须实现接口 /// </summary> public interface IToTreeModel { int Id { get; set; } int ParentId { get; set; } List<IToTreeModel> 阅读全文
posted @ 2020-11-05 18:27 芮源 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 方法: /// <summary> /// 实体类复制 /// </summary> /// <param name="objold"></param> public static dynamic EntityCopy(object objone, object objtow) { dynamic 阅读全文
posted @ 2020-11-04 18:04 芮源 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 项目=》所有任务=》Export =>export repository dump 导入dump文件 epositories=》import existing repository 阅读全文
posted @ 2020-04-10 16:28 芮源 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 。 public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { var srcImage 阅读全文
posted @ 2020-03-07 23:31 芮源 阅读(2162) 评论(0) 推荐(1) 编辑
摘要: 修改文件夹 C:\Documents and Settings\All Users\Application Data 的访权限 显示安全文件=》属性=》安全=》高级=》Everyone=》编辑权限为访问 C:\Documents and Settings\All Users\Application  阅读全文
posted @ 2019-12-10 18:03 芮源 阅读(1776) 评论(0) 推荐(0) 编辑
摘要: 验证数据 val.value 是否 //要替换的筛选条件 var reg = new RegExp(val.value, "g"); //替换后的字符 valslist = valslist.replace(reg, ''); //要替换的筛选条件 var reg = new RegExp(",," 阅读全文
posted @ 2019-12-02 16:59 芮源 阅读(497) 评论(0) 推荐(0) 编辑
摘要: window下的的tcp通信,有改动 服务端: public static class SocketServer { private static readonly Logger logger = LogManager.GetLogger("DefaultLog"); /// <summary> / 阅读全文
posted @ 2019-11-28 17:14 芮源 阅读(194) 评论(0) 推荐(0) 编辑
摘要: public class Tool { ////Donet2.0 需要添加引用 // 从一个对象信息生成Json串 public static string ObjectToJson(object obj) { return JsonConvert.ToString(obj); } // 从一个Js 阅读全文
posted @ 2019-11-28 17:09 芮源 阅读(501) 评论(0) 推荐(0) 编辑