This commit is contained in:
yubaolee
2017-01-12 19:24:52 +08:00
parent 21b37f77cf
commit 85b10e8877
47 changed files with 5637 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------
namespace OpenAuth.Repository.Models.Mapping
{
public partial class WFProcessSchemeMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessScheme>
{
public WFProcessSchemeMap()
{
// table
ToTable("WF_ProcessScheme", "dbo");
// keys
HasKey(t => t.Id);
// Properties
Property(t => t.Id)
.HasColumnName("Id")
.IsRequired();
Property(t => t.SchemeContent)
.HasColumnName("SchemeContent")
.IsRequired();
Property(t => t.WFSchemeInfoId)
.HasColumnName("WFSchemeInfoId")
.HasMaxLength(50)
.IsRequired();
Property(t => t.SchemeVersion)
.HasColumnName("SchemeVersion")
.HasMaxLength(50)
.IsRequired();
Property(t => t.ProcessType)
.HasColumnName("ProcessType")
.IsRequired();
// Relationships
}
}
}