摘要:
use master if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_who_lock]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop proce 阅读全文
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script> </head> <body> 阅读全文
摘要:
1. 引用 using Webdiyer.WebControls.Mvc; 2. using Webdiyer.WebControls.Mvc; public ActionResult Index(int id=1) { return View(Models.demodata.getlist.Ord 阅读全文
摘要:
本例使用的数据库是Northwind1.新建tt文本模板customer.tt2. 修改customer.tt内容为//------------------------------------------------------------------------------// // 此代... 阅读全文
摘要:
\\192.168.33.122\迅雷下载 迅雷下载为文件夹名称 阅读全文
摘要:
create table #ttt(id int,name nvarchar(10));merge into #ttt t using (select 1 as id ,'eee' as name ) b on (t.id = b.id) when matched then update set t... 阅读全文
摘要:
整理了一下表达式树的一些东西,入门足够了先从ConstantExpression开始一步一步的来吧 它表示具有常量值的表达式我们选建一个控制台应用程序ConstantExpression _constExp = Expression.Constant("aaa",typeof(string));//... 阅读全文
摘要:
1.关于C# Lambda Expressions:一个Lambda Expression (译为Lambda式) 就是一个包含若干表达式和语句的匿名函数。可以被用作创建委托对象或表达式树类型。所有的Lambda式都使用操作符“=>“,表示“goes to (转变为)”。操作符左边部分是输入参数表,... 阅读全文
摘要:
--方法1DECLARE @Table NVARCHAR(30)DECLARE tmpCur CURSOR FORSELECT name FROM sys.objects WHERE TYPE='U' AND name LIKE N'HSUPA%'OPEN tmpCurFETCH NEXT FROM... 阅读全文
摘要:
out: 输出(作为结果),in:输入(作为参数)所以如果有一个泛型参数标记为out,则代表它是用来输出的,只能作为结果返回,而如果有一个泛型参数标记为in,则代表它是用来输入的,也就是它只能作为参数。逆变不能作为返回类型只能作为参数类型,协变可以作为返回类型但不能作为参数类型 阅读全文