i have customized my own implementation for ServiceStack's authentication. I created my own 'User
' table, which is inherited from UserAuth
, so there is 'Id
' field from UserAuth, but now I created a 'UserId
' field (Guid) and set it to primary key in database, meanwhile i removed the 'Id
'. But ServiceStack throws an error when i tried to register a new user. If UserId
and Id
both exist, the UserId
(which as been set as the primary key) doesn't get populated with Guid at all.
{
"ResponseStatus": {
"ErrorCode": "SqlException",
"Message": "Invalid column name 'Id'.",
"StackTrace": "[Register: 2/11/2015 5:12:41 AM]:\n[