From a0305888bcc7cd2e97f14c5e7893d151a5b9de7b Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 31 May 2007 14:05:19 +0000 Subject: * Yet more inventory shelling * Very initial MySQL work done * Refactored some of the MySQL code - functions which are passed a reader are no longer getX() but now readX(). --- OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs') diff --git a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs index 6f3cad6..4a7276c 100644 --- a/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs +++ b/OpenGridServices/OpenGrid.Framework.Data.MySQL/MySQLUserData.cs @@ -41,7 +41,7 @@ namespace OpenGrid.Framework.Data.MySQL System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE username = ?first AND lastname = ?second", param); System.Data.IDataReader reader = result.ExecuteReader(); - UserProfileData row = database.getUserRow(reader); + UserProfileData row = database.readUserRow(reader); reader.Close(); result.Dispose(); @@ -69,7 +69,7 @@ namespace OpenGrid.Framework.Data.MySQL System.Data.IDbCommand result = database.Query("SELECT * FROM users WHERE UUID = ?uuid", param); System.Data.IDataReader reader = result.ExecuteReader(); - UserProfileData row = database.getUserRow(reader); + UserProfileData row = database.readUserRow(reader); reader.Close(); result.Dispose(); @@ -108,7 +108,7 @@ namespace OpenGrid.Framework.Data.MySQL System.Data.IDbCommand result = database.Query("SELECT * FROM agents WHERE UUID = ?uuid", param); System.Data.IDataReader reader = result.ExecuteReader(); - UserAgentData row = database.getAgentRow(reader); + UserAgentData row = database.readAgentRow(reader); reader.Close(); result.Dispose(); -- cgit v1.1