Esempio n. 1
0
        private static Func <AirportDbContext> AirportContext()
        {
            var fileName = Path.Join(Path.GetDirectoryName(typeof(AirportDbContext).Assembly.Location),
                                     "Airports.db");

            return(AirportDbContext.DataContextFactory(fileName));
        }