/// <summary> /// Creates a command to select all records /// </summary> /// <returns></returns> protected IDbCommand CreateSelectAllCommand() { IDbCommand command = DbProviderFactory.CreateCommand(Provider); ISelectQuery s = QueryFactory.CreateSelectQuery(Db); s.AddAll(); s.SetTable(Table); command.CommandText = s.GetText(); return(command); }