摘要:
SELECT(total_elapsed_time / execution_count)/1000 N'平均时间ms',total_elapsed_time/ 1000 N'总花费时间ms',total_worker_time/ 1000 N'所用的CPU总时间ms',total_physical_
阅读全文
posted @ 2017-06-24 09:55
kingreatwill
阅读(785)
推荐(0)
摘要:
安装包:Autofac.webapi2 注意: install-package autofac.webapi2 (注意:您的项目中如果使用的是webapi2,此处必须为webapi2而不是webapi,否则在运行时将出现“重写成员“Autofac.Integration.WebApi.Autofac
阅读全文
posted @ 2017-06-23 15:36
kingreatwill
阅读(1190)
推荐(0)
摘要:
using FluentValidation;using FluentValidation.Attributes;using System;using System.Collections.Generic;using System.Linq;using System.Net;using System
阅读全文
posted @ 2017-06-23 11:10
kingreatwill
阅读(877)
推荐(0)
摘要:
一、问题 使用ef codefirst开发,无法创建数据库的问题,如下提示 二、解决方法这是 EF 抛出的异常,只要先创建好数据库就可以了 create database [ZmBlog] 提示: 这个错误是在第一次运行abp出现的,创建数据库后,这时要使用 update-database 进行数据
阅读全文
posted @ 2017-06-21 09:56
kingreatwill
阅读(4799)
推荐(0)
摘要:
项目背景: 陕西省电力公司是国家电网公司的全资子公司,是陕西省电力建设、输送、销售的独立法人,承担着为陕西省经济社会发展和城乡广大电力客户提供安全可靠电力供应和服务的主要职责。公司现有员工3.67万人,资产总额363亿元,年售电量542亿千瓦时。辖有直属单位33个,其中修造企业7个,施工企业5个,综
阅读全文
posted @ 2016-10-15 20:27
kingreatwill
阅读(1171)
推荐(0)
摘要:
JavaScript:JSON JSON是一种数据格式,它并不从属于JavaScript,很多语言都有JSON的解析器和序列化器。 语法 JSON可以表示三种类型: 简单值:使用与JavaScript相同的语法,可以在JSON中表示字符串、数值、布尔值和null。 对象:表示一组无序的键值对。键值对
阅读全文
posted @ 2016-08-02 09:52
kingreatwill
阅读(713)
推荐(0)
摘要:
阿里云sdk:https://develop.aliyun.com/sdk/csharp?spm=5176.doc27234.2.4.QiJb9l Github:https://github.com/aliyun/aliyun-openapi-net-sdk 云直播产品页面:https://www.
阅读全文
posted @ 2016-07-29 11:33
kingreatwill
阅读(3499)
推荐(1)
摘要:
/* var xml = @"<root><books><book is_read=""false""><author>Test</author></book><book is_read=""true""><author>Test2</author></book></books></root>";
阅读全文
posted @ 2016-05-23 15:43
kingreatwill
阅读(808)
推荐(0)
摘要:
using System.IO;using iTextSharp.text;using iTextSharp.text.pdf; namespace DotNet.Utilities{ /// <summary> /// PDF文档操作类 /// </summary> // 调用 //PDFOper
阅读全文
posted @ 2016-05-13 21:24
kingreatwill
阅读(739)
推荐(0)
摘要:
namespace DynamicJSONserializer
阅读全文
posted @ 2016-04-07 16:24
kingreatwill
阅读(726)
推荐(0)