プロジェクトでを使用するEntityFramework.Extended
と、次のRiceBuySellProvider
エラーが発生しましたmain project
:
The type or namespace name I remove the 'RiceBuySellProvider' could not be found (are you missing a using directive or an assembly reference?)
MainProject
画像から
しかし、私 からのを削除する.FutureFirstOrDefault()
と、エラーは見つかりませんでした。なんで?EntityFramework.Extended
RiceBuySellProvider
アップデート
を使用すると、.FutureFirstOrDefault()
これがエラーの原因になります。
public static ProductEntity GetProduct(string productNo)
{
using (var con = new RiceBuySellEntities(ConnectionStr))
return CompiledQueries.GetProCatTypeUnit.Invoke(con, productNo).FutureFirstOrDefault();
}