Language

SqlServerModelExtensions クラス

定義

SQL Server固有のメタデータのモデル拡張メソッド。

[System.Runtime.CompilerServices.Nullable(0)]
public static class SqlServerModelExtensions
public static class SqlServerModelExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerModelExtensions = class
type SqlServerModelExtensions = class
Public Module SqlServerModelExtensions
継承
SqlServerModelExtensions
属性

注釈

詳細と例については、「エンティティの型とリレーションシップのモデル化」および「EF Core を使用したSQL ServerおよびAzure SQLデータベースへのアクセス」を参照してください。

フィールド

Name 説明
DefaultHiLoSequenceName

hi-lo シーケンスの既定の名前。

DefaultSequenceNameSuffix

プロパティに適用されるシーケンスの既定のプレフィックス。

メソッド

Name 説明
AddFullTextCatalog(IConventionModel, String, Boolean)

フルテキスト カタログをモデルに追加します。

AddFullTextCatalog(IMutableModel, String)

フルテキスト カタログをモデルに追加します。

FindFullTextCatalog(IConventionModel, String)

モデル内のフルテキスト カタログを検索するか、見つからない場合は null を返します。

FindFullTextCatalog(IModel, String)

モデル内のフルテキスト カタログを検索するか、見つからない場合は null を返します。

FindFullTextCatalog(IMutableModel, String)

モデル内のフルテキスト カタログを検索するか、見つからない場合は null を返します。

FindFullTextCatalog(IReadOnlyModel, String)

モデル内のフルテキスト カタログを検索するか、見つからない場合は null を返します。

GetDatabaseMaxSize(IModel)

データベースの最大サイズを返します。

GetDatabaseMaxSize(IReadOnlyModel)

データベースの最大サイズを返します。

GetDatabaseMaxSizeConfigurationSource(IConventionModel)

データベースの最大サイズの ConfigurationSource を返します。

GetFullTextCatalogs(IConventionModel)

モデルで定義されているすべてのフルテキスト カタログを取得します。

GetFullTextCatalogs(IModel)

モデルで定義されているすべてのフルテキスト カタログを取得します。

GetFullTextCatalogs(IMutableModel)

モデルで定義されているすべてのフルテキスト カタログを取得します。

GetFullTextCatalogs(IReadOnlyModel)

モデルで定義されているすべてのフルテキスト カタログを取得します。

GetHiLoSequenceName(IModel)

既定の hi-lo シーケンスに使用する名前を返します。

GetHiLoSequenceName(IReadOnlyModel)

既定の hi-lo シーケンスに使用する名前を返します。

GetHiLoSequenceNameConfigurationSource(IConventionModel)

既定の hi-lo シーケンス名の ConfigurationSource を返します。

GetHiLoSequenceSchema(IModel)

既定の hi-lo シーケンスに使用するスキーマを返します。 UseHiLo(PropertyBuilder, String, String)

GetHiLoSequenceSchema(IReadOnlyModel)

既定の hi-lo シーケンスに使用するスキーマを返します。 UseHiLo(PropertyBuilder, String, String)

GetHiLoSequenceSchemaConfigurationSource(IConventionModel)

既定の hi-lo シーケンス スキーマの ConfigurationSource を返します。

GetIdentityIncrement(IModel)

既定の ID 増分値を返します。

GetIdentityIncrement(IReadOnlyModel)

既定の ID 増分値を返します。

GetIdentityIncrementConfigurationSource(IConventionModel)

既定の ID 増分の ConfigurationSource を返します。

GetIdentitySeed(IModel)

既定の ID シードを返します。

GetIdentitySeed(IReadOnlyModel)

既定の ID シードを返します。

GetIdentitySeedConfigurationSource(IConventionModel)

既定のスキーマの ConfigurationSource を返します。

GetPerformanceLevelSql(IModel)

データベースのパフォーマンス レベルを返します。

GetPerformanceLevelSql(IReadOnlyModel)

データベースのパフォーマンス レベルを返します。

GetPerformanceLevelSqlConfigurationSource(IConventionModel)

データベースのパフォーマンス レベルの ConfigurationSource を返します。

GetSequenceNameSuffix(IReadOnlyModel)

自動的に作成されるシーケンスの名前に追加するサフィックスを返します。

GetSequenceNameSuffixConfigurationSource(IConventionModel)

既定値の生成シーケンス名サフィックスの ConfigurationSource を返します。

GetSequenceSchema(IReadOnlyModel)

既定値の生成シーケンスに使用するスキーマを返します。 UseSequence(PropertyBuilder, String, String)

GetSequenceSchemaConfigurationSource(IConventionModel)

既定のキー値生成シーケンス スキーマの ConfigurationSource を返します。

GetServiceTierSql(IModel)

データベースのサービス レベルを返します。

GetServiceTierSql(IReadOnlyModel)

データベースのサービス レベルを返します。

GetServiceTierSqlConfigurationSource(IConventionModel)

データベースのサービス レベルの ConfigurationSource を返します。

GetValueGenerationStrategy(IModel)

プロパティに戦略が明示的に設定されていない限り、モデル内のキーのプロパティに使用する SqlServerValueGenerationStrategy を返します。

GetValueGenerationStrategy(IReadOnlyModel)

プロパティに戦略が明示的に設定されていない限り、モデル内のキーのプロパティに使用する SqlServerValueGenerationStrategy を返します。

GetValueGenerationStrategyConfigurationSource(IConventionModel)

既定のSqlServerValueGenerationStrategyのConfigurationSourceを返します。

RemoveFullTextCatalog(IConventionModel, String)

モデルからフルテキスト カタログを削除します。

RemoveFullTextCatalog(IMutableModel, String)

モデルからフルテキスト カタログを削除します。

SetDatabaseMaxSize(IConventionModel, String, Boolean)

データベースの最大サイズを設定します。

SetDatabaseMaxSize(IMutableModel, String)

データベースの最大サイズを設定します。

SetHiLoSequenceName(IConventionModel, String, Boolean)

既定の hi-lo シーケンスに使用する名前を設定します。

SetHiLoSequenceName(IMutableModel, String)

既定の hi-lo シーケンスに使用する名前を設定します。

SetHiLoSequenceSchema(IConventionModel, String, Boolean)

既定の hi-lo シーケンスに使用するスキーマを設定します。

SetHiLoSequenceSchema(IMutableModel, String)

既定の hi-lo シーケンスに使用するスキーマを設定します。

SetIdentityIncrement(IConventionModel, Nullable<Int32>, Boolean)

既定の ID 増分を設定します。

SetIdentityIncrement(IMutableModel, Nullable<Int32>)

既定の ID 増分を設定します。

SetIdentitySeed(IConventionModel, Nullable<Int32>, Boolean)

既定の ID シードを設定します。

SetIdentitySeed(IConventionModel, Nullable<Int64>, Boolean)

既定の ID シードを設定します。

SetIdentitySeed(IMutableModel, Nullable<Int32>)

既定の ID シードを設定します。

SetIdentitySeed(IMutableModel, Nullable<Int64>)

既定の ID シードを設定します。

SetPerformanceLevelSql(IConventionModel, String, Boolean)

データベースのパフォーマンス レベルを設定します。

SetPerformanceLevelSql(IMutableModel, String)

データベースのパフォーマンス レベルを設定します。

SetSequenceNameSuffix(IConventionModel, String, Boolean)

自動的に作成されるシーケンスの名前に追加するサフィックスを設定します。

SetSequenceNameSuffix(IMutableModel, String)

自動的に作成されるシーケンスの名前に追加するサフィックスを設定します。

SetSequenceSchema(IConventionModel, String, Boolean)

既定のキー値生成シーケンスに使用するスキーマを設定します。

SetSequenceSchema(IMutableModel, String)

既定のキー値生成シーケンスに使用するスキーマを設定します。

SetServiceTierSql(IConventionModel, String, Boolean)

データベースのサービス レベルを設定します。

SetServiceTierSql(IMutableModel, String)

データベースのサービス レベルを設定します。

SetValueGenerationStrategy(IConventionModel, Nullable<SqlServerValueGenerationStrategy>, Boolean)

戦略が明示的に設定されていないモデル内のキーのプロパティに使用する SqlServerValueGenerationStrategy を設定します。

SetValueGenerationStrategy(IMutableModel, Nullable<SqlServerValueGenerationStrategy>)

戦略が明示的に設定されていないモデル内のキーのプロパティに使用する SqlServerValueGenerationStrategy を設定します。

適用対象