摘要:
//创建存储过程 create proc usp_add @num int, @num1 int as begin select @num+@num1 end //调用存储过程 exec usp_add @num=1,@num1=3 阅读全文
2017年12月12日
摘要:
begin transaction declare @sumerror int set @sumerror=0 update bank set ballance=ballance-112 where id="xxx"; set @sumerror=@sumerror+@@error update b 阅读全文
摘要:
Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;Integrated Security=no; 链接远程数据库: 这是陈毅老师给的一个例子,链接而是远程的电脑,端口号合监听服务也是他自己设置的 阅读全文
2017年11月24日
2017年11月7日
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace SingleLeton{ public class Si 阅读全文
2017年11月2日
摘要:
1.使用Migrations 命令 添加对 数据库上下文类的 初始版本 Enable-Migrations -ContextTypeName MVCDemo.Models.MVCDemoContext2.使用 Add-Migration 添加上一个版本 3.使用 Upadata-database 调 阅读全文
2017年10月31日
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinQ.Models; namespace LinQ { class Program { static void M... 阅读全文
2017年10月30日
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace 委托练习{ public class 无聊练练 { st 阅读全文
2017年10月24日