属性标签,成为定义协议的主要方式。先将最简单的标签进行简单介绍,以了解他们的功能以及使用规则。服务协定标识,标识哪些接口是服务协定,哪些操作时服务协定的一部分,以及传输对象的定义。如果已经有所了解,请直接PASS。1、ServiceContract(服务协定)全名:System.ServiceMod...
分类:
其他好文 时间:
2014-05-14 04:07:03
阅读次数:
329
为了减少重复劳动,可以通过T4读取数据库表结构,生成实体类,用下面的实例测试了一下1.首先创建一个项目,并添加文本模板:2.添加
文本模板:3.向T4文本模板文件添加代码: using System;namespace Test.T4{ public...
分类:
数据库 时间:
2014-05-14 03:26:59
阅读次数:
549
linux复制多个文件到文件夹cp file1 file2 file3
directory即将文件file1 file2 file3复制到directory
分类:
系统相关 时间:
2014-05-14 03:03:22
阅读次数:
251
oracle 数据导入时imp 用户名/密码@服务名 file =文件路径.dmp fromuser=
touser=执行命令之前应将数据库里面 myobject下的所有view 索引 存储过程 等删除掉 在执行命令 不然会报错
分类:
数据库 时间:
2014-05-14 03:00:18
阅读次数:
345
实例1:读写字符文件,每次读取一个字符。#include<stdio.h>#include<stdlib.h>intmain(){FILE*fpin;FILE*fpout;charc;fpout=fopen("c:\\dest.txt","wt");if((fpin=fopen("c:\\test.txt","rt"))!=NULL){c=fgetc(fpin);while(c!=EOF){fputc(c,fpout);c=fgetc(fpin);..
分类:
编程语言 时间:
2014-05-12 03:57:13
阅读次数:
238
实例3:读写字节文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fpin;FILE*fpout;unsignedcharbuf[MAXLEN];intc;fpout=fopen("c:\\dest.jpg","wb");if((fpin=fopen("c:\\test.jpg","rb"))!=NULL){c=fread(buf,s..
分类:
编程语言 时间:
2014-05-12 03:47:54
阅读次数:
244
1在mysql中默认是不会开启慢查询日志功能的,我们可以使用showvariableslike‘%slow%‘来查看一下。结果如下:参数说明:log_slow_queries表示服务器端是否开启慢查询日志记录功能,slow_query_log表示mysql监测满查询的功能是否开启,slow_query_log_file表示保存日志文件的物理..
分类:
数据库 时间:
2014-05-12 03:42:46
阅读次数:
354
XBMC快捷键配置文件:/usr/share/xbmc/system/keymaps/keyboard.xml<FullscreenVideo>
<keyboard>
<period>StepForward</period>
<comma>StepBack</comma>
<quote>SmallStepBack</quote>
<opensquarebracket>BigStepFor..
分类:
系统相关 时间:
2014-05-12 03:26:23
阅读次数:
417
实例2:读取字符文件,每次读入一个缓存里面。#include<stdio.h>#include<stdlib.h>#defineMAXLEN1024intmain(){FILE*fin;FILE*fout=fopen("c:\\dest.txt","wt");charbuf[MAXLEN];if((fin=fopen("c:\\test.txt","rt"))!=NULL){char*c=fgets(buf,MAXLEN,fin);while(..
分类:
编程语言 时间:
2014-05-12 02:57:48
阅读次数:
251
Linuxcomeswithmanytoolstoenableadministratorstoevaluatetheperformanceofasystem.Oneoftheseveryusefultoolsisvmstat.VmstatisavailableonmostunixdistributionsandisincludedbydefaultonmanymodernLinuxdistributions.AswithmostLinuxcommands,builtinhelpisavailableviath..
分类:
系统相关 时间:
2014-05-11 19:39:38
阅读次数:
680