Skip to main content

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
TypeName
System.StringravenId

ToString(String, Int32)

View Source
Declaration
public static string ToString(string prefix, int id)
Returns

System.String

Parameters
TypeName
System.Stringprefix
System.Int32id