text 从Scratch创建页面

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 从Scratch创建页面相关的知识,希望对你有一定的参考价值。

1. Create the Entity. Health.Core\Products\Sickness.cs

2. Run update-database from the package manager to create the table, indexes and constraints. Import data to table if necessary.

3. Make sure you add the DbSet entity in the DbContext file. Health.EntityFramework\EntityFramework\HealthDbContext.cs

4. Create methods  in the manager interface file (ex: IProductManager).

5. Create repository  and their EF methods in the manager file (ex: ProductManager).

6. Give access to the page.
    a. Create permission name in Health.Core\Authorization\PermissionNames.cs
    b. Create the menu item in Health.EntityFramework\Migrations\SeedData\SecurityCreator.cs
    c. run the unit test in Health.Tests\Security\SecurityCreatorTest.cs to migrate the data.

7. Uygulama Yönetimi > Ayarlar > Admin > Düzenle > Yetkiler - check the new item to give access to admin users - make it show in the menu.

以上是关于text 从Scratch创建页面的主要内容,如果未能解决你的问题,请参考以下文章

text scratch_272

Scratch2中如何打开scratch3

LockFailed: 未能创建 /scratch/

Linux From Scratch(LFS11.0)构建 LFS 系统 - 创建 /etc/inputrc 文件

Linux From Scratch(LFS11.0)构建 LFS 系统 - 创建 /etc/inputrc 文件

scratch官网怎么修改自己的作品?