每一次都是大放血

This commit is contained in:
yubaolee
2017-11-29 20:49:14 +08:00
parent e36664d5f6
commit b7a72f62c0
80 changed files with 12919 additions and 12884 deletions

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class ApplicationMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Application>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Application>
{
public ApplicationMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class CategoryMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Category>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Category>
{
public CategoryMap()
{
@@ -28,32 +28,28 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("Id")
.HasMaxLength(50)
.IsRequired();
Property(t => t.CascadeId)
.HasColumnName("CascadeId")
.HasMaxLength(255)
.IsRequired();
Property(t => t.Name)
.HasColumnName("Name")
.HasMaxLength(255)
.IsRequired();
Property(t => t.Code)
.HasColumnName("Code")
.HasMaxLength(255)
.IsOptional();
Property(t => t.Status)
.HasColumnName("Status")
Property(t => t.Disabled)
.HasColumnName("Disabled")
.IsRequired();
Property(t => t.SortNo)
.HasColumnName("SortNo")
.IsRequired();
Property(t => t.Icon)
.HasColumnName("Icon")
.HasMaxLength(255)
.IsOptional();
Property(t => t.Description)
.HasColumnName("Description")
.HasMaxLength(500)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.ParentId)
.HasColumnName("ParentId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class CategoryTypeMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.CategoryType>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.CategoryType>
{
public CategoryTypeMap()
{
@@ -32,17 +32,9 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("Name")
.HasMaxLength(255)
.IsRequired();
Property(t => t.Code)
.HasColumnName("Code")
.HasMaxLength(255)
.IsOptional();
Property(t => t.CreateTime)
.HasColumnName("CreateTime")
.IsOptional();
Property(t => t.CreateUser)
.HasColumnName("CreateUser")
.HasMaxLength(50)
.IsOptional();
.IsRequired();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class ModuleElementMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.ModuleElement>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.ModuleElement>
{
public ModuleElementMap()
{
@@ -36,10 +36,6 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("Name")
.HasMaxLength(255)
.IsRequired();
Property(t => t.Type)
.HasColumnName("Type")
.HasMaxLength(50)
.IsRequired();
Property(t => t.Attr)
.HasColumnName("Attr")
.HasMaxLength(500)
@@ -67,6 +63,14 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("ModuleId")
.HasMaxLength(50)
.IsRequired();
Property(t => t.TypeName)
.HasColumnName("TypeName")
.HasMaxLength(20)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class ModuleMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Module>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Module>
{
public ModuleMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class OrgMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Org>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Org>
{
public OrgMap()
{
@@ -57,9 +57,6 @@ namespace OpenAuth.Repository.Models.Mapping
Property(t => t.Status)
.HasColumnName("Status")
.IsRequired();
Property(t => t.Type)
.HasColumnName("Type")
.IsRequired();
Property(t => t.BizCode)
.HasColumnName("BizCode")
.HasMaxLength(255)
@@ -81,6 +78,14 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("ParentId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.TypeName)
.HasColumnName("TypeName")
.HasMaxLength(20)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class RelevanceMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Relevance>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Relevance>
{
public RelevanceMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class ResourceMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Resource>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Resource>
{
public ResourceMap()
{
@@ -54,14 +54,18 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("ParentId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.CategoryId)
.HasColumnName("CategoryId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.AppId)
.HasColumnName("AppId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.TypeName)
.HasColumnName("TypeName")
.HasMaxLength(20)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class RoleMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Role>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Role>
{
public RoleMap()
{
@@ -35,16 +35,21 @@ namespace OpenAuth.Repository.Models.Mapping
Property(t => t.Status)
.HasColumnName("Status")
.IsRequired();
Property(t => t.Type)
.HasColumnName("Type")
.IsRequired();
Property(t => t.CreateTime)
.HasColumnName("CreateTime")
.IsRequired();
Property(t => t.CreateId)
.HasColumnName("CreateId")
.HasMaxLength(50)
.IsRequired();
.IsOptional();
Property(t => t.TypeName)
.HasColumnName("TypeName")
.HasMaxLength(20)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class StockMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.Stock>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.Stock>
{
public StockMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class UserMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.User>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.User>
{
public UserMap()
{
@@ -46,9 +46,6 @@ namespace OpenAuth.Repository.Models.Mapping
Property(t => t.Status)
.HasColumnName("Status")
.IsRequired();
Property(t => t.Type)
.HasColumnName("Type")
.IsRequired();
Property(t => t.BizCode)
.HasColumnName("BizCode")
.HasMaxLength(255)
@@ -60,6 +57,14 @@ namespace OpenAuth.Repository.Models.Mapping
.HasColumnName("CrateId")
.HasMaxLength(50)
.IsOptional();
Property(t => t.TypeName)
.HasColumnName("TypeName")
.HasMaxLength(20)
.IsOptional();
Property(t => t.TypeId)
.HasColumnName("TypeId")
.HasMaxLength(50)
.IsOptional();
// Relationships
}

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFFrmMainMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFFrmMain>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFFrmMain>
{
public WFFrmMainMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFProcessInstanceMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessInstance>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFProcessInstance>
{
public WFProcessInstanceMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFProcessOperationHistoryMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessOperationHistory>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFProcessOperationHistory>
{
public WFProcessOperationHistoryMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFProcessSchemeMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessScheme>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFProcessScheme>
{
public WFProcessSchemeMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFProcessTransitionHistoryMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessTransitionHistory>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFProcessTransitionHistory>
{
public WFProcessTransitionHistoryMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFSchemeContentMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFSchemeContent>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFSchemeContent>
{
public WFSchemeContentMap()
{

View File

@@ -10,10 +10,10 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace OpenAuth.Repository.Models.Mapping
namespace OpenAuth.Repository.Mapping
{
public partial class WFSchemeInfoMap
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFSchemeInfo>
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.WFSchemeInfo>
{
public WFSchemeInfoMap()
{