コード例 #1
0
ファイル: Program.cs プロジェクト: constructor-igor/TechSugar
        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);
        }