mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
完成流程模板列表
This commit is contained in:
37
OpenAuth.Repository/Workflow/Mapping/WorkflowSchemeMap.cs
Normal file
37
OpenAuth.Repository/Workflow/Mapping/WorkflowSchemeMap.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 OpenAuth.Domain;
|
||||
|
||||
namespace OpenAuth.Repository.Workflow.Mapping
|
||||
{
|
||||
public partial class WorkflowSchemeMap
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<WorkflowScheme>
|
||||
{
|
||||
public WorkflowSchemeMap()
|
||||
{
|
||||
// table
|
||||
ToTable("WorkflowScheme", "dbo");
|
||||
|
||||
// keys
|
||||
HasKey(t => t.Code);
|
||||
|
||||
// Properties
|
||||
Property(t => t.Code)
|
||||
.HasColumnName("Code")
|
||||
.HasMaxLength(256)
|
||||
.IsRequired();
|
||||
Property(t => t.Scheme)
|
||||
.HasColumnName("Scheme")
|
||||
.IsRequired();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user