public bool ExistsTable(string tableName) { return(DbMetaDatas.Any(x => x.Database.ToLower() == database.ToLower() && x.TableName.ToLower() == tableName.ToLower())); }
public bool ExistsDatabase() { return(DbMetaDatas.Any(x => x.Database.ToLower() == database.ToLower())); }
public bool ExistsColumn(string tableName, string columnName) { return(DbMetaDatas.Any(x => x.Database.ToLower() == database.ToLower() && x.TableName.ToLower() == tableName.ToLower() && x.ColumnName.ToLower() == columnName.ToLower())); }