码迷,mamicode.com
首页 >  
搜索关键字:update..    ( 16768个结果)
Add a file to a Document Library and update metadata properties in a single method添加文档的方法
private void AddFileToDocumentLibrary(string documentLibraryUrl, string filename, byte[] file_bytes, string itemTitleText) { SPSecurity.Ru...
分类:Web程序   时间:2014-11-04 16:39:43    阅读次数:156
分布式事务 原理及使用范例一则
在软件开发和数据库操作中,经常出现需要共同进退的情况,要么一起成功,要么一起失败。 假设案例:A向B转账3000元rmb。 update Account set Amount=Amount-3000 where name='a' update account set Amount=Amount+3000 where name='b' 场景:假设在第1行代码执行成功,第2行代码还未执行的情况下。未继续执行。 结果:A的钱没了!B没收到钱! 此时推荐使用分布式事务来解决这类问题。...
分类:其他好文   时间:2014-11-04 13:14:10    阅读次数:126
EF 只更新部分字段
/// 只更新storedAddress数据中的DefaultAddress字段,更新为false /// 将默认地址改为不是默认地址 /// /// 需要修改的对象的id public void Update(int id)...
分类:其他好文   时间:2014-11-04 12:48:08    阅读次数:357
linux 脚本測试网络速度
example: ./netspeed eth0 1 #!/bin/bash 2 3 INTERVAL="1" # update interval in seconds 4 5 if [ -z "$1" ]; then 6 echo 7 echo usage: $0 [network-inter.....
分类:系统相关   时间:2014-11-04 10:58:29    阅读次数:197
mysql启动报错
mysql启动报错的原因常见的有一下几种:1、数据所在分区满了2、pid所在目录mysql用户没有写权限3、存储引擎为innodb引擎,这个时候启动的时候需要恢复所有的操作(select,create,drop,insert。update,delete),当不能有效的执行恢复操作的时候,mysql启动报错早上来上班的..
分类:数据库   时间:2014-11-04 06:55:55    阅读次数:251
Linux SVN服务器搭建
1. Ubuntu PC一台,最好是最新的Ubuntu稳定版本 2. 执行以下命令安装subversion: sudo apt-get update sudo apt-get install subversion 3. 假设代码svn仓库的根路径定为 /home/svnroot,执行以下命令新建目录: sudo mkdir /home/svnroot 4. 新建一个代码仓库,...
分类:系统相关   时间:2014-11-03 19:30:29    阅读次数:224
Android在Fastboot里添加命令
fastboot 是android 默认的一种debug 方法,它的好处是在进入linux kernel 之前 即可操作。 默认fastboot 支持的命令: usage: fastboot [ ] commands: update reflash device from update.zip flashall flash boot + recovery + system flash ...
分类:移动开发   时间:2014-11-03 11:35:48    阅读次数:621
数据库面试宝典
一、数据库问答题1. SQL语言包括哪些类型?数据定义:Create Table,Alter Table,Drop Table, Craete/Drop Index等数据操纵:Select ,insert,update,delete,数据控制:grant,revoke2. 内联接,外联接区别?内连接...
分类:数据库   时间:2014-11-03 10:09:02    阅读次数:354
SVN中的常见错误(长期更新)
一 svn中的简写含义.A:add,新增C:conflict,冲突D:delete,删除M:modify,本地已经修改G:modify and merGed,本地文件修改并且和服务器的进行合并U:update,从服务器更新R:replace,从服务器替换I:ignored,忽略二 常见错误.1 (4...
分类:其他好文   时间:2014-11-03 10:05:30    阅读次数:170
修复Xcode升级错误 — PCH File Error
http://www.rockia.net/2013/03/fix-xcode-update-pch-file-errorError:PCH File Built From A Different Branch ((Clang-425.0.24)) Than The Compiler ((Clang...
分类:其他好文   时间:2014-11-02 23:52:29    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!