摘要: Git 初始化查看版本$git --version设置git当前用户姓名和邮件地址$git config --global user.name "Danz"$git config --global user.email danzhangnb@gmail.com查询$git config user.name删除$git config --unset --global user.name设置别名$sudo git config --system alias.st status(未成功)另:只在本用户的全局配置中添加别名$git config --global alias.st 阅读全文
posted @ 2014-02-26 22:14 狰狞蛋子 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 查询公司名称及地址var 构建匿名类型=from c in ctx.Customers select new { 公司名=c.CompanyName, 地址=c.Address }; 查询订单号和订单是否超重var select 带条件=from o in ctx.Orders sel... 阅读全文
posted @ 2014-02-26 19:15 狰狞蛋子 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 类说明AcceptVerbsAttribute表示一个特性,该特性指定操作方法将响应的 HTTP 谓词。ActionDescriptor提供有关操作方法的信息,如操作方法的名称、控制器、参数、特性和筛选器。ActionExecutedContext提供 ActionFilterAttribute 类的 ActionExecuted 方法的上下文。ActionExecutingContext提供 ActionFilterAttribute 类的 ActionExecuting 方法的上下文。ActionFilterAttribute表示筛选器特性的基类。ActionMethodSelectorA 阅读全文
posted @ 2014-02-26 17:55 狰狞蛋子 阅读(323) 评论(0) 推荐(0) 编辑