RelationalEntityTypeBuilderExtensions.InsertUsingStoredProcedure 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
InsertUsingStoredProcedure(EntityTypeBuilder, Action<StoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder
Parametreler
- entityTypeBuilder
- EntityTypeBuilder
Yapılandırılan varlık türünün oluşturucusu.
- buildAction
- Action<StoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure(IConventionEntityTypeBuilder, Boolean)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder? InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, bool fromDataAnnotation = false);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (entityTypeBuilder As IConventionEntityTypeBuilder, Optional fromDataAnnotation As Boolean = false) As IConventionStoredProcedureBuilder
Parametreler
- entityTypeBuilder
- IConventionEntityTypeBuilder
Yapılandırılan varlık türünün oluşturucusu.
- fromDataAnnotation
- Boolean
Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmediğinden emin olun.
Döndürülenler
Yapılandırma uygulandıysa oluşturucu örneği, null
aksi takdirde.
Şunlara uygulanır
InsertUsingStoredProcedure(OwnedNavigationBuilder, Action<OwnedNavigationStoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder
Yapılandırılan varlık türünün oluşturucusu.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure(EntityTypeBuilder, String, Action<StoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, name As String, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder
Parametreler
- entityTypeBuilder
- EntityTypeBuilder
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- buildAction
- Action<StoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure(OwnedNavigationBuilder, String, Action<OwnedNavigationStoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure(EntityTypeBuilder, String, String, Action<StoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (entityTypeBuilder As EntityTypeBuilder, name As String, schema As String, buildAction As Action(Of StoredProcedureBuilder)) As EntityTypeBuilder
Parametreler
- entityTypeBuilder
- EntityTypeBuilder
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- schema
- String
Veritabanındaki saklı yordamın şeması.
- buildAction
- Action<StoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure(OwnedNavigationBuilder, String, String, Action<OwnedNavigationStoredProcedureBuilder>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder InsertUsingStoredProcedure (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder ownedNavigationBuilder, string name, string? schema, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> buildAction);
static member InsertUsingStoredProcedure : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationStoredProcedureBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function InsertUsingStoredProcedure (ownedNavigationBuilder As OwnedNavigationBuilder, name As String, schema As String, buildAction As Action(Of OwnedNavigationStoredProcedureBuilder)) As OwnedNavigationBuilder
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- schema
- String
Veritabanındaki saklı yordamın şeması.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, Action<StoredProcedureBuilder<TEntity>>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> InsertUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)
Tür Parametreleri
- TEntity
Yapılandırılan varlık türü.
Parametreler
- entityTypeBuilder
- EntityTypeBuilder<TEntity>
Yapılandırılan varlık türünün oluşturucusu.
- buildAction
- Action<StoredProcedureBuilder<TEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, Action<StoredProcedureBuilder<TEntity>>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> InsertUsingStoredProcedure<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder<TEntity>> buildAction) where TEntity : class;
static member InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), name As String, buildAction As Action(Of StoredProcedureBuilder(Of TEntity))) As EntityTypeBuilder(Of TEntity)
Tür Parametreleri
- TEntity
Yapılandırılan varlık türü.
Parametreler
- entityTypeBuilder
- EntityTypeBuilder<TEntity>
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- buildAction
- Action<StoredProcedureBuilder<TEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TEntity>(EntityTypeBuilder<TEntity>, String, String, Action<StoredProcedureBuilder<TEntity>>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> InsertUsingStoredProcedure<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 InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(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)
Tür Parametreleri
- TEntity
Yapılandırılan varlık türü.
Parametreler
- entityTypeBuilder
- EntityTypeBuilder<TEntity>
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- schema
- String
Veritabanındaki saklı yordamın şeması.
- buildAction
- Action<StoredProcedureBuilder<TEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)
Varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> InsertUsingStoredProcedure<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 InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(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)
Tür Parametreleri
- TOwnerEntity
İlişkiye sahip varlık türü.
- TDependentEntity
İlişkinin bağımlı varlık türü.
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- schema
- String
Veritabanındaki saklı yordamın şeması.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, String, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)
varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> InsertUsingStoredProcedure<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 InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(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)
Tür Parametreleri
- TOwnerEntity
İlişkiye sahip olan varlık türü.
- TDependentEntity
İlişkinin bağımlı varlık türü.
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
Yapılandırılan varlık türünün oluşturucusu.
- name
- String
Veritabanındaki saklı yordamın adı.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
InsertUsingStoredProcedure<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity, TDependentEntity>>)
varlık türünün ilişkisel veritabanını hedeflerken eklemeler için kullandığı saklı yordamı yapılandırılır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> InsertUsingStoredProcedure<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 InsertUsingStoredProcedure : 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 InsertUsingStoredProcedure(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)
Tür Parametreleri
- TOwnerEntity
İlişkiye sahip olan varlık türü.
- TDependentEntity
İlişkinin bağımlı varlık türü.
Parametreler
- ownedNavigationBuilder
- OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>
Yapılandırılan varlık türünün oluşturucusu.
- buildAction
- Action<OwnedNavigationStoredProcedureBuilder<TOwnerEntity,TDependentEntity>>
Saklı yordamın yapılandırmasını gerçekleştiren bir eylem.
Döndürülenler
Birden çok çağrının zincirlenebilmesi için aynı oluşturucu örneği.
Açıklamalar
Daha fazla bilgi ve örnek için bkz. Varlık türlerini ve ilişkilerini modelleme ve EF Core ile veri kaydetme .
Şunlara uygulanır
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin