mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
每一次都是大放血
This commit is contained in:
@@ -10,10 +10,10 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace OpenAuth.Repository.Models.Mapping
|
||||
namespace OpenAuth.Repository.Mapping
|
||||
{
|
||||
public partial class UserMap
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.User>
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.User>
|
||||
{
|
||||
public UserMap()
|
||||
{
|
||||
@@ -46,9 +46,6 @@ namespace OpenAuth.Repository.Models.Mapping
|
||||
Property(t => t.Status)
|
||||
.HasColumnName("Status")
|
||||
.IsRequired();
|
||||
Property(t => t.Type)
|
||||
.HasColumnName("Type")
|
||||
.IsRequired();
|
||||
Property(t => t.BizCode)
|
||||
.HasColumnName("BizCode")
|
||||
.HasMaxLength(255)
|
||||
@@ -60,6 +57,14 @@ namespace OpenAuth.Repository.Models.Mapping
|
||||
.HasColumnName("CrateId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.TypeName)
|
||||
.HasColumnName("TypeName")
|
||||
.HasMaxLength(20)
|
||||
.IsOptional();
|
||||
Property(t => t.TypeId)
|
||||
.HasColumnName("TypeId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
|
Reference in New Issue
Block a user