Continuing to refactor ModelDriver concept into ContentHandler

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041354
This commit is contained in:
loudej
2009-11-19 05:40:38 +00:00
parent 40632265f7
commit 957a4b0127
33 changed files with 105 additions and 109 deletions

View File

@@ -0,0 +1,20 @@
using Orchard.Models;
using Orchard.Security;
namespace Orchard.Users.Models {
public sealed class User : ContentItemPartWithRecord<UserRecord>, IUser {
public int Id {
get { return ContentItem.Id; }
}
public string UserName {
get { return Record.UserName; }
set { Record.UserName = value; }
}
public string Email {
get { return Record.Email; }
set { Record.Email = value; }
}
}
}