public override bool TableExists(string schemaName, string tableName) { return(Exists("select count(*) from sqlite_master where name={0} and type='table'", _quoter.QuoteValue(tableName))); }
public override bool TableExists(string schemaName, string tableName) { return(Exists("select count(*) from {1}sqlite_master where name={0} and type='table'", _quoter.QuoteValue(tableName), !string.IsNullOrWhiteSpace(schemaName) ? _quoter.QuoteValue(schemaName) + "." : string.Empty)); }