Udostępnij za pośrednictwem


RelationalEntityTypeBuilderExtensions.UpdateUsingStoredProcedure Metoda

Definicja

Przeciążenia

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

UpdateUsingStoredProcedure(OwnedNavigationBuilder, String, Action<OwnedNavigationStoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

UpdateUsingStoredProcedure(EntityTypeBuilder, String, Action<StoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

UpdateUsingStoredProcedure(IConventionEntityTypeBuilder, Boolean)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

UpdateUsingStoredProcedure(EntityTypeBuilder, Action<StoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

UpdateUsingStoredProcedure(OwnedNavigationBuilder, Action<OwnedNavigationStoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

schema
String

Schemat procedury składowanej w bazie danych.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

UpdateUsingStoredProcedure(OwnedNavigationBuilder, String, Action<OwnedNavigationStoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

UpdateUsingStoredProcedure(EntityTypeBuilder, String, Action<StoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

buildAction
Action<StoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

schema
String

Schemat procedury składowanej w bazie danych.

buildAction
Action<StoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

UpdateUsingStoredProcedure(IConventionEntityTypeBuilder, Boolean)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

entityTypeBuilder
IConventionEntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

fromDataAnnotation
Boolean

Wskazuje, czy konfiguracja została określona przy użyciu adnotacji danych.

Zwraca

Wystąpienie konstruktora, jeśli konfiguracja została zastosowana, null w przeciwnym razie.

Dotyczy

UpdateUsingStoredProcedure(EntityTypeBuilder, Action<StoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

entityTypeBuilder
EntityTypeBuilder

Konstruktor dla skonfigurowanego typu jednostki.

buildAction
Action<StoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

UpdateUsingStoredProcedure(OwnedNavigationBuilder, Action<OwnedNavigationStoredProcedureBuilder>)

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

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

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder

Konstruktor dla skonfigurowanego typu jednostki.

buildAction
Action<OwnedNavigationStoredProcedureBuilder>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> UpdateUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla skonfigurowanego typu jednostki.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> UpdateUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> UpdateUsingStoredProcedure<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 UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(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)

Parametry typu

TEntity

Konfigurowany typ jednostki.

Parametry

entityTypeBuilder
EntityTypeBuilder<TEntity>

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

schema
String

Schemat procedury składowanej w bazie danych.

buildAction
Action<StoredProcedureBuilder<TEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> UpdateUsingStoredProcedure<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 UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(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)

Parametry typu

TOwnerEntity

Typ jednostki będącą właścicielem relacji.

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

schema
String

Schemat procedury składowanej w bazie danych.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> UpdateUsingStoredProcedure<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 UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(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)

Parametry typu

TOwnerEntity

Typ jednostki będącą właścicielem relacji.

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla skonfigurowanego typu jednostki.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy

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

Konfiguruje procedurę składowaną używaną przez typ jednostki do aktualizacji podczas określania wartości docelowej relacyjnej bazy danych.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> UpdateUsingStoredProcedure<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 UpdateUsingStoredProcedure : 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 UpdateUsingStoredProcedure(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)

Parametry typu

TOwnerEntity

Typ jednostki będącą właścicielem relacji.

TDependentEntity

Zależny typ jednostki relacji.

Parametry

ownedNavigationBuilder
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Konstruktor dla skonfigurowanego typu jednostki.

name
String

Nazwa procedury składowanej w bazie danych.

buildAction
Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>

Akcja, która wykonuje konfigurację procedury składowanej.

Zwraca

To samo wystąpienie konstruktora, aby można było połączyć łańcuch wielu wywołań.

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji oraz Zapisywanie danych za pomocą platformy EF Core .

Dotyczy