• 大小: 0.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签: 编程风格  

资源简介

.net core版本

资源截图

代码片段和文件信息

using System.ComponentModel.DataAnnotations;

namespace Starts2000.EFCoreCodeFirst.Models
{
    public class User
    {
        public int Id { get; set; }

        [MaxLength(32) Required]
        public string Aaccount { get; set; }

        [MaxLength(32) Required]
        public string Password { get; set; }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-08-23 00:51  EFCoreDemo-master\
     文件        2518  2017-08-23 00:51  EFCoreDemo-master\.gitattributes
     文件        4305  2017-08-23 00:51  EFCoreDemo-master\.gitignore
     文件         220  2017-08-23 00:51  EFCoreDemo-master\README.MD
     文件        2972  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCore.sln
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\
     文件        1465  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\20170822084813_InitialCreate.Designer.cs
     文件        1202  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\20170822084813_InitialCreate.cs
     文件        1564  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\20170822085658_UserTableUpdateAccount.Designer.cs
     文件         708  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\20170822085658_UserTableUpdateAccount.cs
     文件        1521  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Migrations\TestDbContextModelSnapshot.cs
     文件         756  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Program.cs
     文件         686  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\Starts2000.EFCoreCodeFirst.Test.csproj
     文件         675  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst.Test\TestDbContext.cs
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst\
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst\Models\
     文件         327  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst\Models\User.cs
     文件         137  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreCodeFirst\Starts2000.EFCoreCodeFirst.csproj
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst.Test\
     文件         686  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst.Test\Program.cs
     文件         295  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst.Test\Starts2000.EFCoreDbFirst.Test.csproj
     目录           0  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst\
     文件         247  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst\Efmigrationshistory.cs
     文件         391  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst\Starts2000.EFCoreDbFirst.csproj
     文件        2035  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst\TestDbContext.cs
     文件         259  2017-08-23 00:51  EFCoreDemo-master\Starts2000.EFCoreDbFirst\User.cs

评论

共有 条评论

相关资源