MigrationsCodeGenerator.GetNamespaces Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| GetNamespaces(IModel) |
İçin gereken ad alanlarını alır IModel . |
| GetNamespaces(IEnumerable<MigrationOperation>) |
Bir nesne listesi için gereken ad alanlarını alır MigrationOperation . |
GetNamespaces(IModel)
İçin gereken ad alanlarını alır IModel .
protected virtual System.Collections.Generic.IEnumerable<string> GetNamespaces (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member GetNamespaces : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<string>
override this.GetNamespaces : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<string>
Protected Overridable Function GetNamespaces (model As IModel) As IEnumerable(Of String)
Parametreler
- model
- IModel
Model.
Döndürülenler
Ad alanları.
Şunlara uygulanır
GetNamespaces(IEnumerable<MigrationOperation>)
Bir nesne listesi için gereken ad alanlarını alır MigrationOperation .
protected virtual System.Collections.Generic.IEnumerable<string> GetNamespaces (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> operations);
abstract member GetNamespaces : seq<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> -> seq<string>
override this.GetNamespaces : seq<Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation> -> seq<string>
Protected Overridable Function GetNamespaces (operations As IEnumerable(Of MigrationOperation)) As IEnumerable(Of String)
Parametreler
- operations
- IEnumerable<MigrationOperation>
İşlemler.
Döndürülenler
Ad alanları.