SqliteMigrationsSqlGenerator.GenerateIndexColumnList 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 中回傳索引欄位清單 CreateIndexOperation的 SQL 片段。
protected override void GenerateIndexColumnList(Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.GenerateIndexColumnList : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub GenerateIndexColumnList (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
參數
- operation
- CreateIndexOperation
作業。
- model
- IModel
目標模型,如果操作存在且沒有模型,則可能是目標 null 模型。
- builder
- MigrationCommandListBuilder
用來建立指令的指令建構器。