1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Reflection;
- using System.Threading;
- using log4net;
- using OpenMetaverse;
- using OpenSim.Framework;
- namespace OpenSim.Data.SQLite
- {
-
-
-
- public class SQLiteGridUserData : SQLiteGenericTableHandler<GridUserData>, IGridUserData
- {
- public SQLiteGridUserData(string connectionString, string realm)
- : base(connectionString, realm, "GridUserStore") {}
- public new GridUserData Get(string userID)
- {
- GridUserData[] ret = Get("UserID", userID);
- if (ret.Length == 0)
- return null;
- return ret[0];
- }
- public GridUserData[] GetAll(string userID)
- {
- return base.Get(String.Format("UserID LIKE '{0}%'", userID));
- }
- }
- }
|