示例#1
0
        public void Dispose()
        {
            if (NPocoDb != null)
            {
                NPocoDb.Dispose();
                NPocoDb = null;
            }

            _roleTable = null;
        }
示例#2
0
 public RoleStore(Database database)
 {
     NPocoDb    = database;
     _roleTable = new RoleTable(database);
 }