摘要:
/* 数据表SQL脚本if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_UsersInRoles_Roles]') and OBJECTPROPERTY(id, N'IsForeignKey') = ... 阅读全文
摘要:
using System; using System.Data; using System.Configuration; using System.Data.SqlClient; namespace Dapper { public class b_base { public IDbConnection Connection = null; publ... 阅读全文
摘要:
1.依赖 依赖就是有联系,有地方使用到它就是有依赖它,一个系统不可能完全避免依赖。如果你的一个类或者模块在项目中没有用到它,恭喜你,可以从项目中剔除它或者排除它了,因为没有一个地方会依赖它。下面看一个简单的示例: /// /// 用户播放媒体文件/// public class Oper... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading.Tasks; using System.Collections.Concurrent; namespace ConsoleApplication... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { s... 阅读全文