Justin, I must have been dyslexic when I wrote UserGridService as the name for it. GridUserService makes more sense; it's the user of the grid, "grid user". I changed it everywhere.

This commit is contained in:
Diva Canto
2010-03-05 21:36:45 -08:00
parent 395f343498
commit 5171464ac1
7 changed files with 48 additions and 48 deletions

View File

@@ -40,15 +40,15 @@ namespace OpenSim.Data.MySQL
/// <summary>
/// A MySQL Interface for user grid data
/// </summary>
public class MySQLUserGridData : MySQLGenericTableHandler<UserGridData>, IUserGridData
public class MySQLGridUserData : MySQLGenericTableHandler<GridUserData>, IGridUserData
{
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public MySQLUserGridData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {}
public MySQLGridUserData(string connectionString, string realm) : base(connectionString, realm, "UserGrid") {}
public UserGridData GetUserGridData(string userID)
public GridUserData GetGridUserData(string userID)
{
UserGridData[] ret = Get("UserID", userID);
GridUserData[] ret = Get("UserID", userID);
if (ret.Length == 0)
return null;
@@ -56,7 +56,7 @@ namespace OpenSim.Data.MySQL
return ret[0];
}
public bool StoreUserGridData(UserGridData data)
public bool StoreGridUserData(GridUserData data)
{
return Store(data);
}