摘要:
授权过滤器 public class CheckAuthorizeAttribute : AuthorizeAttribute { public override void OnAuthorization(HttpActionContext actionContext) { if (((Reflec 阅读全文
摘要:
需要根据某个字段进行去重,但是会报错, Expression #1 of ORDER BY clause is not in SELECT list, references column 'a.time' which is not in SELECT list; this is incompatib 阅读全文
摘要:
普通索引 ALTER TABLE tablename ADD INDEX index_name1 ( column_name ) 单字段唯一约束 alter table tablename add unique(column_name) 多字段唯一约束 alter table tablename a 阅读全文