private static List <Photographer> GetListAndPrintPhotographers(OrMapper orm) { var qry = orm.GetQuery <Photographer>(); var filtered = qry .Where(i => true); var lst = filtered.ToList(); foreach (var i in lst) { Console.WriteLine($"{i.Id}, {i.Name}, {i.SurName}, {i.BirthDate}, {i.Notes}"); } return(lst); }
private static List <Camera> GetListAndPrintCameras(OrMapper orm) { var qry = orm.GetQuery <Camera>(); var filtered = qry .Where(i => true); var lst = filtered.ToList(); foreach (var i in lst) { Console.WriteLine($"{i.Id}, {i.IsoLimitAcceptable}, {i.IsoLimitGood}, {i.Model}, {i.Notes}, {i.Producer}, {i.PurchaseDate}"); } return(lst); }
private static List <Picture> GetListAndPrintPictures(OrMapper orm) { var qry = orm.GetQuery <Picture>(); var filtered = qry .Where(i => true); var lst = filtered.ToList(); foreach (var i in lst) { Console.WriteLine($"{i.Id}, {i.Filename}, {i.PhotographerId}, {i.CameraId}, {i.ExifAperture}, {i.ExifExposureProg}, {i.ExifExposureTime}, {i.ExifFlash}, {i.ExifIso}, {i.IptcCaption}, {i.IptcCopyright}, {i.IptcHeadline}, {i.IptcKeywords}"); } return(lst); }