/// <summary> /// Creates the required tables /// </summary> protected virtual void CreateTables() { var dialect = m_connection.GetDialect(); dialect.CreateTypeMap <SessionRecord>(SessionRecordTablename); dialect.CreateTypeMap <LongTermToken>(LongTermLoginTablename); dialect.CreateTypeMap <LoginEntry>(LoginEntryTablename); m_connection.CreateTable(typeof(SessionRecord)); m_connection.CreateTable(typeof(LongTermToken)); m_connection.CreateTable(typeof(LoginEntry)); }