MigrationsSqlGenerator.GetColumnType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetColumnType(String, String, String, ColumnOperation, IModel) |
指定されたメタデータを指定して、列のストア/データベース型を取得します。 |
GetColumnType(String, String, String, Type, Nullable<Boolean>, Nullable<Int32>, Boolean, IModel) |
指定されたメタデータを指定して、列のストア/データベース型を取得します。 |
GetColumnType(String, String, String, Type, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Boolean, IModel) |
指定されたメタデータを指定して、列のストア/データベース型を取得します。 |
GetColumnType(String, String, String, ColumnOperation, IModel)
指定されたメタデータを指定して、列のストア/データベース型を取得します。
protected virtual string GetColumnType (string schema, string table, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model);
protected virtual string GetColumnType (string schema, string tableName, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model);
protected virtual string? GetColumnType (string? schema, string tableName, string name, Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model);
abstract member GetColumnType : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
override this.GetColumnType : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
abstract member GetColumnType : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
override this.GetColumnType : string * string * string * Microsoft.EntityFrameworkCore.Migrations.Operations.ColumnOperation * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
Protected Overridable Function GetColumnType (schema As String, table As String, name As String, operation As ColumnOperation, model As IModel) As String
Protected Overridable Function GetColumnType (schema As String, tableName As String, name As String, operation As ColumnOperation, model As IModel) As String
パラメーター
- schema
- String
テーブルを含むスキーマ、または null
既定のスキーマを使用するスキーマ。
- tabletableName
- String
列を格納しているテーブル。
- name
- String
列名。
- operation
- ColumnOperation
列のメタデータ。
- model
- IModel
モデル null
のない操作が存在する場合のターゲット モデル。
戻り値
列のデータベース/ストア型。
適用対象
GetColumnType(String, String, String, Type, Nullable<Boolean>, Nullable<Int32>, Boolean, IModel)
指定されたメタデータを指定して、列のストア/データベース型を取得します。
protected virtual string GetColumnType (string schema, string table, string name, Type clrType, bool? unicode, int? maxLength, bool rowVersion, Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member GetColumnType : string * string * string * Type * Nullable<bool> * Nullable<int> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
override this.GetColumnType : string * string * string * Type * Nullable<bool> * Nullable<int> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
Protected Overridable Function GetColumnType (schema As String, table As String, name As String, clrType As Type, unicode As Nullable(Of Boolean), maxLength As Nullable(Of Integer), rowVersion As Boolean, model As IModel) As String
パラメーター
- schema
- String
テーブルを含むスキーマ、または null
既定のスキーマを使用するスキーマ。
- table
- String
列を格納しているテーブル。
- name
- String
列名。
- rowVersion
- Boolean
この列が自動コンカレンシー トークン (SQL Server timestamp/rowversion など) であるかどうかを示します。
- model
- IModel
モデル null
のない操作が存在する場合のターゲット モデル。
戻り値
列のデータベース/ストア型。
適用対象
GetColumnType(String, String, String, Type, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Boolean, IModel)
指定されたメタデータを指定して、列のストア/データベース型を取得します。
protected virtual string GetColumnType (string schema, string table, string name, Type clrType, bool? unicode, int? maxLength, bool? fixedLength, bool rowVersion, Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member GetColumnType : string * string * string * Type * Nullable<bool> * Nullable<int> * Nullable<bool> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
override this.GetColumnType : string * string * string * Type * Nullable<bool> * Nullable<int> * Nullable<bool> * bool * Microsoft.EntityFrameworkCore.Metadata.IModel -> string
Protected Overridable Function GetColumnType (schema As String, table As String, name As String, clrType As Type, unicode As Nullable(Of Boolean), maxLength As Nullable(Of Integer), fixedLength As Nullable(Of Boolean), rowVersion As Boolean, model As IModel) As String
パラメーター
- schema
- String
テーブルを含むスキーマ、または null
既定のスキーマを使用するスキーマ。
- table
- String
列を格納しているテーブル。
- name
- String
列名。
- rowVersion
- Boolean
この列が自動コンカレンシー トークン (SQL Server timestamp/rowversion など) であるかどうかを示します。
- model
- IModel
モデル null
のない操作が存在する場合のターゲット モデル。
戻り値
列のデータベース/ストア型。
適用対象
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示