完成流程模板列表

This commit is contained in:
yubaolee
2016-09-14 16:11:46 +08:00
parent 0269a4f194
commit bf1121f24b
19 changed files with 497 additions and 60 deletions

View 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
}
}
}