public string this[SQLiteLinkType link] { get { return(Links.FirstOrDefault(l => l.LocalLink == link)?.DBPath); } }
public SQLiteManualConnection GetConnection(SQLiteLinkType sqlLinkType) { Connections.TryGetValue(sqlLinkType, out SQLiteManualConnection value); if (value == null) { string sqlPath = UnityPath.Combinate(links[sqlLinkType], UnityPath.AssetPath.Persistent); if (!string.IsNullOrEmpty(sqlPath)) { value = new SQLiteManualConnection(sqlPath); Connections[sqlLinkType] = value; } } return(value); }