摘要: 一、抽象类: 在类声明中使用abstract修饰符的类称为抽象类。含有一个或一个以上的抽象成员的类,必须定义为抽象类。当方法声明包含abstract修饰符时,称该方法为抽象方法,虽然抽象方法同时隐含为虚拟方法,但是它不能有virtual修饰符。声明中包含abstract修饰的属性称为抽象属性。抽象方 阅读全文
posted @ 2020-06-12 08:59 .net&new 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-07 09:43 .net&new 阅读(142) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using Microsoft.AspNetCore.Mvc; namespace LayUICore.Areas 阅读全文
posted @ 2020-06-07 09:42 .net&new 阅读(171) 评论(0) 推荐(0) 编辑
摘要: app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: "Areas", pattern: "{area:exists}/{controller=Index}/{action=Index}/{id?}", default 阅读全文
posted @ 2020-06-07 09:41 .net&new 阅读(424) 评论(0) 推荐(0) 编辑
摘要: startup.cs文件 app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: "Areas", pattern: "{area:exists}/{controller=Index}/{action=Index}/{i 阅读全文
posted @ 2020-06-07 09:40 .net&new 阅读(372) 评论(0) 推荐(0) 编辑
摘要: create table sys_menu ( id int identity, sys_pid int null, sys_menuname varchar(50) null, sys_menuurl varchar(100) null, sys_state int null, createtim 阅读全文
posted @ 2020-06-01 22:03 .net&new 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-01 22:00 .net&new 阅读(390) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using System.Text;using LayUIMvcTest.Models;name 阅读全文
posted @ 2020-06-01 21:59 .net&new 阅读(565) 评论(0) 推荐(0) 编辑
摘要: <div class="left-nav"> <div id="side-nav"> <ul id="nav"> </ul> </div></div><script src="~/Scripts/jquery-1.8.2.js"></script><script type="text/javascr 阅读全文
posted @ 2020-06-01 21:58 .net&new 阅读(408) 评论(0) 推荐(0) 编辑
摘要: @{ ViewBag.Title = "Index";}@{ Layout = null;} <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>后台管理</title> <meta name="renderer" 阅读全文
posted @ 2020-06-01 21:57 .net&new 阅读(591) 评论(0) 推荐(0) 编辑