PageRenderTime 85ms CodeModel.GetById 50ms RepoModel.GetById 0ms app.codeStats 0ms

/Source Code/SongDatabase/Export and Import/BaseImport.vb

#
Visual Basic | 27 lines | 9 code | 7 blank | 11 comment | 0 complexity | 498fd038aafb185650afdf8f3037a263 MD5 | raw file
  1. Namespace ExportImport
  2. ''' <summary>
  3. ''' The base class from which all custom data importers must derive.
  4. ''' </summary>
  5. Public MustInherit Class BaseImport
  6. Friend Property Database As Database = Nothing
  7. ''' <summary>
  8. ''' Initializes a new instance of the <see cref="BaseImport" /> class.
  9. ''' </summary>
  10. ''' <param name="database">The database.</param>
  11. Public Sub New(ByVal database As Database)
  12. Me.Database = database
  13. End Sub
  14. ''' <summary>
  15. ''' Imports the data contained at the specified source folder location into the PowerSong database.
  16. ''' </summary>
  17. ''' <param name="sourceFolderLocation">The source folder location.</param>
  18. Public MustOverride Sub Import(ByVal sourceFolderLocation As String)
  19. End Class
  20. End Namespace