aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/DB4o/DB4oManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/DB4o/DB4oManager.cs')
-rw-r--r--OpenSim/Data/DB4o/DB4oManager.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/DB4o/DB4oManager.cs b/OpenSim/Data/DB4o/DB4oManager.cs
index 13bd61c..a9368d5 100644
--- a/OpenSim/Data/DB4o/DB4oManager.cs
+++ b/OpenSim/Data/DB4o/DB4oManager.cs
@@ -125,10 +125,10 @@ namespace OpenSim.Data.DB4o
125 IObjectSet result = database.Get(typeof (UserProfileData)); 125 IObjectSet result = database.Get(typeof (UserProfileData));
126 foreach (UserProfileData row in result) 126 foreach (UserProfileData row in result)
127 { 127 {
128 if (userProfiles.ContainsKey(row.Id)) 128 if (userProfiles.ContainsKey(row.ID))
129 userProfiles[row.Id] = row; 129 userProfiles[row.ID] = row;
130 else 130 else
131 userProfiles.Add(row.Id, row); 131 userProfiles.Add(row.ID, row);
132 } 132 }
133 database.Close(); 133 database.Close();
134 } 134 }
@@ -145,13 +145,13 @@ namespace OpenSim.Data.DB4o
145 /// <returns>true on success, false on fail to persist to db</returns> 145 /// <returns>true on success, false on fail to persist to db</returns>
146 public bool UpdateRecord(UserProfileData record) 146 public bool UpdateRecord(UserProfileData record)
147 { 147 {
148 if (userProfiles.ContainsKey(record.Id)) 148 if (userProfiles.ContainsKey(record.ID))
149 { 149 {
150 userProfiles[record.Id] = record; 150 userProfiles[record.ID] = record;
151 } 151 }
152 else 152 else
153 { 153 {
154 userProfiles.Add(record.Id, record); 154 userProfiles.Add(record.ID, record);
155 } 155 }
156 156
157 try 157 try