c # 참조 오류- 'EntityFramework'네임 스페이스에 'Extended'형식 또는 네임 스페이스 이름이 없습니다.

프론 틴

Visual Studio의 NuGet 관리자에서 EntityFramework.Extended 패키지를 가져 왔는데 using 지시문에 넣을 때 다음 오류가 발생합니다.

The type or namespace name 'Extended' does not exist in the namespace 'EntityFramework' (are you missing an assembly reference?)

여기에 이미지 설명 입력 여기에 이미지 설명 입력 여기에 이미지 설명 입력 여기에 이미지 설명 입력

보시다시피 Visual Studio에서 참조되며 using 문과 프로젝트의 실제 디렉터리에 오류가 있습니다. 왜이 문제가 발생합니까?

편집 나는 확장을 제거하고 그냥하고있다 :

 using EntityFramework;

잘 작동하지만 엔터티 클래스에서 Delete 메서드를 호출하면 메서드를 인식하지 못합니까? RosterSummaryData_Subject_Local_Bands 클래스에 대한 Delete 메소드가 없다고 말합니다. 도움이 필요하세요?

여기에 이미지 설명 입력

DLeh

EntityFramework Extended의 네임 스페이스는 EntityFramework. 여기 소스 코드의 예 : https://github.com/loresoft/EntityFramework.Extended/blob/master/Source/EntityFramework.Extended/Container.cs

namespace EntityFramework
{
/// <summary>
/// The default <see cref="IContainer"/> for resolving dependencies.
/// </summary>
public class Container : IContainer
{

EntityFramework.Extensions네임 스페이스를 찾고있을 수 있습니다 . 소스 코드에서 :

이 클래스에는 몇 가지 Delete메서드가 있습니다. https://github.com/loresoft/EntityFramework.Extended/blob/master/Source/EntityFramework.Extended/Extensions/BatchExtensions.cs

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관