mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
合并实例与实例模板
This commit is contained in:
@@ -55,9 +55,32 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("PreviousId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeContent)
|
||||
.HasColumnName("SchemeContent")
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeId)
|
||||
.HasColumnName("SchemeId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.DbName)
|
||||
.HasColumnName("DbName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.FrmType)
|
||||
.HasColumnName("FrmType")
|
||||
.IsRequired();
|
||||
Property(t => t.FrmContentData)
|
||||
.HasColumnName("FrmContentData")
|
||||
.HasMaxLength(16)
|
||||
.IsOptional();
|
||||
Property(t => t.FrmContentParse)
|
||||
.HasColumnName("FrmContentParse")
|
||||
.HasMaxLength(16)
|
||||
.IsOptional();
|
||||
Property(t => t.FrmId)
|
||||
.HasColumnName("FrmId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeType)
|
||||
.HasColumnName("SchemeType")
|
||||
.HasMaxLength(50)
|
||||
|
@@ -1,57 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a CodeSmith Template.
|
||||
//
|
||||
// DO NOT MODIFY contents of this file. Changes to this
|
||||
// file will be lost if the code is regenerated.
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace OpenAuth.Repository.Mapping
|
||||
{
|
||||
public partial class FlowInstanceSchemeMap
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.FlowInstanceScheme>
|
||||
{
|
||||
public FlowInstanceSchemeMap()
|
||||
{
|
||||
// table
|
||||
ToTable("FlowInstanceScheme", "dbo");
|
||||
|
||||
// keys
|
||||
HasKey(t => t.Id);
|
||||
|
||||
// Properties
|
||||
Property(t => t.Id)
|
||||
.HasColumnName("Id")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.SchemeContent)
|
||||
.HasColumnName("SchemeContent")
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeId)
|
||||
.HasColumnName("SchemeId")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.SchemeVersion)
|
||||
.HasColumnName("SchemeVersion")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.CreateDate)
|
||||
.HasColumnName("CreateDate")
|
||||
.IsRequired();
|
||||
Property(t => t.CreateUserId)
|
||||
.HasColumnName("CreateUserId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.CreateUserName)
|
||||
.HasColumnName("CreateUserName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
}
|
||||
}
|
@@ -37,12 +37,15 @@ namespace OpenAuth.Repository.Mapping
|
||||
.IsRequired();
|
||||
Property(t => t.ContentData)
|
||||
.HasColumnName("ContentData")
|
||||
.HasMaxLength(16)
|
||||
.IsOptional();
|
||||
Property(t => t.ContentParse)
|
||||
.HasColumnName("ContentParse")
|
||||
.HasMaxLength(16)
|
||||
.IsOptional();
|
||||
Property(t => t.Content)
|
||||
.HasColumnName("Content")
|
||||
.HasMaxLength(16)
|
||||
.IsOptional();
|
||||
Property(t => t.SortCode)
|
||||
.HasColumnName("SortCode")
|
||||
@@ -50,8 +53,8 @@ namespace OpenAuth.Repository.Mapping
|
||||
Property(t => t.Delete)
|
||||
.HasColumnName("Delete")
|
||||
.IsRequired();
|
||||
Property(t => t.FrmDbId)
|
||||
.HasColumnName("FrmDbId")
|
||||
Property(t => t.DbName)
|
||||
.HasColumnName("DbName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.Enabled)
|
||||
|
Reference in New Issue
Block a user