BackWork代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Utils { publ ...
XML处理 1.How to create xml ? XDocument customer = new XDocument( new XDeclaration("1.0", "UTF-16", "yes"), new XElement("customer", new XAttribute("id" ...
分类:
其他好文 时间:
2020-06-02 10:58:49
阅读次数:
56
LINQ 的优势并不是提供了什么新功能,而是让我们能够用更新、更简单、更优雅的方法来实现原有的功能。不过通常来讲,这类功能所带来的就是对性能上的影响——LINQ 也不例外。本篇文章的主要目的就是让你了解 LINQ 查询对性能的影响。我们将介绍最基本的 LINQ 性能分析方法,并提供一些数据。还会给出 ...
分类:
其他好文 时间:
2020-06-01 12:06:17
阅读次数:
53
前言 eureka是spring cloud Netflix技术体系中的重要组件,主要完成服务注册和发现的功能;那现在有个问题,我们自己写的rpc服务,如果为了保证足够的开放性和功能完善性,那肯定要支持各种注册中心。目前我们只支持redis注册中心,即服务提供者,在启动的时候,将自身的ip+端口信息 ...
分类:
其他好文 时间:
2020-05-31 13:00:43
阅读次数:
54
1.先在服务器添加证书 makecert.exe -sr LocalMachine -ss My -a sha1 -n CN=TestServer -sky exchange -pe 2.设置证书的权限,everyone添加读取权限 3.服务器端配置 ` 这里设置成None因为我们创建的是不受信任的 ...
分类:
其他好文 时间:
2020-05-29 16:23:23
阅读次数:
82
EdmScalarPropertyAttribute.EntityKeyProperty 属性 定义 命名空間: System.Data.Objects.DataClasses 組件:System.Data.Entity.dll 取得或设定表示此属性是否为实体索引鍵之一部分的值。 C# public ...
分类:
其他好文 时间:
2020-05-28 12:51:37
阅读次数:
63
1 软件环境 Oracle Linux 6.9 Oracle Enterprise Manager Cloud Control 12.1.0.4 Oracle 11.2.0.3 2 软件准备 1)下载EM资料库模板 https://www.oracle.com/enterprise-manager/ ...
分类:
数据库 时间:
2020-05-27 20:43:51
阅读次数:
138
oracle数据库获取uuid:select rawtohex(sys_guid()) from dual; mapper.xml实例 <insert id="insert" parameterType="net.topcheer.module.entity.TsOperateLog"> <sele ...
分类:
数据库 时间:
2020-05-27 20:42:54
阅读次数:
120
package com.zhenshan.entity; import java.io.Serializable; import com.zhenshan.entity.BorrowCarDetail; public class BorrowCar implements Serializable{ ...
分类:
其他好文 时间:
2020-05-27 12:10:13
阅读次数:
65
import pandas as pd import warnings warnings.filterwarnings("ignore") import time from multiprocessing import Process def node(): #获取节点数据 global_id=[] ...
分类:
系统相关 时间:
2020-05-26 18:12:38
阅读次数:
86