Adding identifier attributes.

feature-npv2
Icedream 2014-05-15 06:52:34 +02:00
parent a36e90f3c4
commit 20ae47ef0f
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ namespace NPSharp.CommandLine.Server.Database
[Entity] [Entity]
public interface ISession public interface ISession
{ {
[Identifier]
string Id { get; } string Id { get; }
IUser User { get; } IUser User { get; }

View File

@ -7,6 +7,7 @@ namespace NPSharp.CommandLine.Server.Database
[Entity] [Entity]
public interface IUser public interface IUser
{ {
[Identifier]
string Id { get; } string Id { get; }
string UserName { get; set; } string UserName { get; set; }