mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-02-16 05:16:25 +08:00
调整结构
This commit is contained in:
@@ -6,13 +6,14 @@
|
||||
// file will be lost if the code is regenerated.
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using OpenAuth.Domain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace OpenAuth.Repository.Models.Mapping
|
||||
{
|
||||
public partial class RelevanceMap
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<Relevance>
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Relevance>
|
||||
{
|
||||
public RelevanceMap()
|
||||
{
|
||||
@@ -25,6 +26,7 @@ namespace OpenAuth.Repository.Models.Mapping
|
||||
// Properties
|
||||
Property(t => t.Id)
|
||||
.HasColumnName("Id")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.Description)
|
||||
.HasColumnName("Description")
|
||||
@@ -42,12 +44,15 @@ namespace OpenAuth.Repository.Models.Mapping
|
||||
.IsRequired();
|
||||
Property(t => t.OperatorId)
|
||||
.HasColumnName("OperatorId")
|
||||
.IsRequired();
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.FirstId)
|
||||
.HasColumnName("FirstId")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.SecondId)
|
||||
.HasColumnName("SecondId")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
|
||||
// Relationships
|
||||
|
||||
Reference in New Issue
Block a user