RavenIdConverter
Converts string Id to integer Id used by UserAuth. Supports up to 21,474,836 ids and 26 servers in the cluster (A-Z)
Assembly: ServiceStack.Authentication.RavenDb.dll
View Source
Declaration
public static class RavenIdConverter
Methods
ToInt(String)
View Source
Declaration
public static int ToInt(string ravenId)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.String | ravenId |
ToString(String, Int32)
View Source
Declaration
public static string ToString(string prefix, int id)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | prefix |
System.Int32 | id |