Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SubSonic がデータベースのデフォルト コンストラクターを呼び出すと、NullReferenceException が発生します。
私の場合、エラーが発生する行は次のとおりです。
DataProvider = ProviderFactory.GetProvider("MDMA");
名前空間が正しく設定されており、クラス シームが正しく生成されているため、データベースに接続できるようです。これはバグですか?
バージョン 3.0.0.2 を使用しています。
このコード行には、実行環境に「MDMA」という名前の接続文字列が必要です。