/// <summary> /// Generates a command appropriate for loading an entire table from the data store /// </summary> /// <param name="item">The type to load</param> /// <returns></returns> public virtual IDbCommand LoadEntireTableCommand(Type item) { IDbCommand command = _connection.GetCommand(); command.CommandText = string.Format("SELECT {0} FROM {1};", GetSelectList(item), ResolveTableName(item)); return(command); }