主页加载菜单按钮

重新修改了登陆逻辑
This commit is contained in:
yubaolee
2015-05-22 17:45:18 +08:00
parent 91384a5447
commit b4fc05a823
36 changed files with 613 additions and 513 deletions

View File

@@ -9,10 +9,10 @@ namespace OpenAuth.Infrastructure.Mapping
public UserMap()
{
// Primary Key
this.HasKey(t => t.UserId);
this.HasKey(t => t.Id);
// Properties
this.Property(t => t.UserId)
this.Property(t => t.Id)
.IsRequired()
.HasMaxLength(50);
@@ -53,7 +53,7 @@ namespace OpenAuth.Infrastructure.Mapping
// Table & Column Mappings
this.ToTable("User");
this.Property(t => t.UserId).HasColumnName("UserId");
this.Property(t => t.Id).HasColumnName("UserId");
this.Property(t => t.Account).HasColumnName("Account");
this.Property(t => t.Password).HasColumnName("Password");
this.Property(t => t.RealName).HasColumnName("RealName");