Bagikan melalui


SqlServerComplexTypePropertyBuilderExtensions Kelas

Definisi

SQL Server metode ekstensi khusus untuk ComplexTypePropertyBuilder.

public static class SqlServerComplexTypePropertyBuilderExtensions
type SqlServerComplexTypePropertyBuilderExtensions = class
Public Module SqlServerComplexTypePropertyBuilderExtensions
Warisan
SqlServerComplexTypePropertyBuilderExtensions

Keterangan

Lihat Pemodelan jenis dan hubungan entitas, dan Mengakses database SQL Server dan Azure SQL dengan EF Core untuk informasi dan contoh selengkapnya.

Metode

IsSparse(ComplexTypePropertyBuilder, Boolean)

Mengonfigurasi apakah kolom properti dibuat sebagai jarang saat menargetkan SQL Server.

IsSparse<TProperty>(ComplexTypePropertyBuilder<TProperty>, Boolean)

Mengonfigurasi apakah kolom properti dibuat sebagai jarang saat menargetkan SQL Server.

UseHiLo(ComplexTypePropertyBuilder, String, String)

Mengonfigurasi properti kunci untuk menggunakan pola hi-lo berbasis urutan untuk menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseHiLo<TProperty>(ComplexTypePropertyBuilder<TProperty>, String, String)

Mengonfigurasi properti kunci untuk menggunakan pola hi-lo berbasis urutan untuk menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseIdentityColumn(ComplexTypePropertyBuilder, Int32, Int32)

Mengonfigurasi properti kunci untuk menggunakan fitur SQL Server IDENTITY guna menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseIdentityColumn(ComplexTypePropertyBuilder, Int64, Int32)

Mengonfigurasi properti kunci untuk menggunakan fitur SQL Server IDENTITY guna menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseIdentityColumn<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int32, Int32)

Mengonfigurasi properti kunci untuk menggunakan fitur SQL Server IDENTITY guna menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseIdentityColumn<TProperty>(ComplexTypePropertyBuilder<TProperty>, Int64, Int32)

Mengonfigurasi properti kunci untuk menggunakan fitur SQL Server IDENTITY guna menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseSequence(ComplexTypePropertyBuilder, String, String)

Mengonfigurasi properti kunci untuk menggunakan pola pembuatan nilai kunci berbasis urutan untuk menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

UseSequence<TProperty>(ComplexTypePropertyBuilder<TProperty>, String, String)

Mengonfigurasi properti kunci untuk menggunakan pola pembuatan nilai kunci berbasis urutan untuk menghasilkan nilai untuk entitas baru, saat menargetkan SQL Server. Metode ini mengatur properti menjadi OnAdd.

Berlaku untuk