다음을 통해 공유


MigrationCodeGenerator.GetNamespaces 메서드

정의

지정된 작업에서 생성된 코드를 처리하기 위해 "using" 또는 "Imports" 지시문으로 출력되어야 하는 네임스페이스를 가져옵니다.

protected virtual System.Collections.Generic.IEnumerable<string> GetNamespaces (System.Collections.Generic.IEnumerable<System.Data.Entity.Migrations.Model.MigrationOperation> operations);
abstract member GetNamespaces : seq<System.Data.Entity.Migrations.Model.MigrationOperation> -> seq<string>
override this.GetNamespaces : seq<System.Data.Entity.Migrations.Model.MigrationOperation> -> seq<string>
Protected Overridable Function GetNamespaces (operations As IEnumerable(Of MigrationOperation)) As IEnumerable(Of String)

매개 변수

operations
IEnumerable<MigrationOperation>

코드를 생성할 작업입니다.

반환

네임스페이스 이름의 순서가 지정된 목록입니다.

적용 대상