42 lines
650 B
C#
42 lines
650 B
C#
|
|
using MusicDatabaseClass.Models;
|
|
|
|
namespace MusicDatabaseClass
|
|
{
|
|
public class Class1
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
//program execution starts from here
|
|
Console.WriteLine("Command line Arguments: {0}", args.Length);
|
|
|
|
|
|
|
|
using (var dbContext = new mixxxdbContext())
|
|
{
|
|
var library = dbContext.Libraries.ToList();
|
|
|
|
foreach (var item in library)
|
|
{
|
|
Console.WriteLine($"{item.Artist} - {item.Title}");
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
} |