示例#1
0
        private static void SqLiteAndEntityFrameworkDemo()
        {
            string location = System.Reflection.Assembly.GetEntryAssembly().Location;
            string dbFilePath = Path.Combine(Path.GetDirectoryName(location), "demo.db");

            var databaseContext = new DatabaseContext.DatabaseContext(dbFilePath);
        }
示例#2
0
        private static void SqLiteAndEntityFrameworkDemo()
        {
            string location   = System.Reflection.Assembly.GetEntryAssembly().Location;
            string dbFilePath = Path.Combine(Path.GetDirectoryName(location), "demo.db");

            var databaseContext = new DatabaseContext.DatabaseContext(dbFilePath);
        }