Bagikan melalui


RelationalEntityTypeBuilderExtensions.DeleteUsingStoredProcedure Metode

Definisi

Overload

DeleteUsingStoredProcedure(EntityTypeBuilder, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(IConventionEntityTypeBuilder, Boolean)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(OwnedNavigationBuilder, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(EntityTypeBuilder, String, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(OwnedNavigationBuilder, String, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(EntityTypeBuilder, String, String, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(OwnedNavigationBuilder, String, String, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

DeleteUsingStoredProcedure(EntityTypeBuilder, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder

Parameter

entityTypeBuilder
EntityTypeBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

buildAction
Action<StoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure(IConventionEntityTypeBuilder, Boolean)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder? DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, bool fromDataAnnotation = false);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (entityTypeBuilder As IConventionEntityTypeBuilder, Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedureBuilder

Parameter

entityTypeBuilder
IConventionEntityTypeBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

fromDataAnnotation
Boolean

Menunjukkan apakah konfigurasi ditentukan menggunakan anotasi data.

Mengembalikan

Instans penyusun jika konfigurasi diterapkan, null jika tidak.

Berlaku untuk

DeleteUsingStoredProcedure(OwnedNavigationBuilder, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure(EntityTypeBuilder, String, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, name As String, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder

Parameter

entityTypeBuilder
EntityTypeBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

buildAction
Action<StoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure(OwnedNavigationBuilder, String, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure(EntityTypeBuilder, String, String, Action<StoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, name As String, schema As String, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder

Parameter

entityTypeBuilder
EntityTypeBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

schema
String

Skema prosedur tersimpan dalam database.

buildAction
Action<StoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure(OwnedNavigationBuilder, String, String, Action<OwnedNavigationStoredProcedureBuilder>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder DeleteUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function DeleteUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, schema As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

schema
String

Skema prosedur tersimpan dalam database.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> DeleteUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, schema As String, buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Jenis parameter

TEntity

Jenis entitas sedang dikonfigurasi.

Parameter

entityTypeBuilder
EntityTypeBuilder<TEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

schema
String

Skema prosedur tersimpan dalam database.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> DeleteUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Jenis parameter

TEntity

Jenis entitas sedang dikonfigurasi.

Parameter

entityTypeBuilder
EntityTypeBuilder<TEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, Action<StoredProcedureBuilder<TEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> DeleteUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<'Entity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Jenis parameter

TEntity

Jenis entitas sedang dikonfigurasi.

Parameter

entityTypeBuilder
EntityTypeBuilder<TEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), buildAction As Action(Of OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Jenis parameter

TOwnerEntity

Jenis entitas yang memiliki hubungan.

TDependentEntity

Jenis entitas dependen dari hubungan.

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Jenis parameter

TOwnerEntity

Jenis entitas yang memiliki hubungan.

TDependentEntity

Jenis entitas dependen dari hubungan.

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Memodelkan jenis dan hubungan entitas danMenyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk

DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)

Mengonfigurasi prosedur tersimpan yang digunakan jenis entitas untuk dihapus saat menargetkan database relasional.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> DeleteUsingStoredProcedure<TOwnerEntity,TDependentEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>> buildAction) where TOwnerEntity : class where TDependentEntity : class;
static member DeleteUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder<'OwnerEntity, 'DependentEntity>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> (requires 'OwnerEntity : null and 'DependentEntity : null)
<Extension()>
Public Function DeleteUsingStoredProcedure(Of TOwnerEntity As Class, TDependentEntity As Class) (ownedNavigationBuilder As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity), name As String, schema As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder(Of TOwnerEntity, TDependentEntity))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Jenis parameter

TOwnerEntity

Jenis entitas yang memiliki hubungan.

TDependentEntity

Jenis entitas dependen dari hubungan.

Parameter

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Penyusun untuk jenis entitas yang sedang dikonfigurasi.

name
String

Nama prosedur tersimpan dalam database.

schema
String

Skema prosedur tersimpan dalam database.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Tindakan yang melakukan konfigurasi prosedur tersimpan.

Mengembalikan

Instans penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Keterangan

Lihat Pemodelan jenis entitas dan hubungan dan Menyimpan data dengan EF Core untuk informasi dan contoh selengkapnya.

Berlaku untuk