Remove unused members

This commit is contained in:
John Lewin 2019-05-23 08:36:11 -07:00
parent 3c15b99d61
commit a3700ba8cb

View file

@ -37,7 +37,6 @@ namespace MatterHackers.MatterControl.DataStorage
{
public class Datastore
{
public bool ConnectionError = false;
private bool wasExited = false;
public ISQLite dbSQLite;
private string datastoreLocation = ApplicationDataStorage.Instance.DatastorePath;
@ -156,18 +155,6 @@ namespace MatterHackers.MatterControl.DataStorage
dbSQLite.Insert(activeSession);
}
private void GenerateSampleData()
{
for (int index = 1; index <= 5; index++)
{
Printer printer = new Printer();
printer.ComPort = string.Format("COM{0}", index);
printer.BaudRate = "250000";
printer.Name = string.Format("Printer {0}", index);
Datastore.Instance.dbSQLite.Insert(printer);
}
}
// Checks if the datastore contains the appropriate tables - adds them if necessary
private void ValidateSchema()
{