internal void AddByName(string lastString) { ServerAccessInterface databaseAccess = new ServerAccessMySQL(null); List<SymbolID> newObjects = databaseAccess.GetSymbolsByName(lastString, 1, 10); //sElement.AddRange(newObjects); }
/// <summary> /// Add symbols by name: 0-Strict, 1-Begin, 2-Middle, 3-End /// </summary> /// <param name="lastString"></param> /// <param name="method"></param> internal void AddByName(string lastString, int mode) { DataPersistency.DL.ServerAccess.ServerAccessInterface databaseAccess = new DataPersistency.DL.ServerAccess.ServerAccessMySQL(null); List<SymbolID> newObjects = databaseAccess.GetSymbolsByName(lastString, mode, 10); sObject.AddRange(newObjects); }