DefaultQuerySqlGenerator.GenerateList 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GenerateList(IReadOnlyList<Expression>, Action<IRelationalCommandBuilder>) |
透過造訪每個項目來生成一串項目。 |
| GenerateList(IReadOnlyList<Expression>, Action<IRelationalCommandBuilder>, IReadOnlyList<RelationalTypeMapping>) |
透過造訪每個項目來生成一串項目。 |
| GenerateList<T>(IReadOnlyList<T>, Action<T>, Action<IRelationalCommandBuilder>, IReadOnlyList<RelationalTypeMapping>) |
利用提供的生成動作及可選的連接動作,對一串項目執行生成。 |
| GenerateList<T>(IReadOnlyList<T>, Action<T>, Action<IRelationalCommandBuilder>) |
利用提供的生成動作及可選的連接動作,對一串項目執行生成。 |
GenerateList(IReadOnlyList<Expression>, Action<IRelationalCommandBuilder>)
透過造訪每個項目來生成一串項目。
protected virtual void GenerateList(System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> items, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction = default);
protected virtual void GenerateList(System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> items, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction);
abstract member GenerateList : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> -> unit
override this.GenerateList : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> -> unit
Protected Overridable Sub GenerateList (items As IReadOnlyList(Of Expression), Optional joinAction As Action(Of IRelationalCommandBuilder) = Nothing)
Protected Overridable Sub GenerateList (items As IReadOnlyList(Of Expression), joinAction As Action(Of IRelationalCommandBuilder))
參數
- items
- IReadOnlyList<Expression>
物品清單。
- joinAction
- Action<IRelationalCommandBuilder>
一個可選的加入動作。
適用於
GenerateList(IReadOnlyList<Expression>, Action<IRelationalCommandBuilder>, IReadOnlyList<RelationalTypeMapping>)
透過造訪每個項目來生成一串項目。
protected virtual void GenerateList(System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> items, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction = default, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> typeMappings = default);
abstract member GenerateList : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> unit
override this.GenerateList : System.Collections.Generic.IReadOnlyList<System.Linq.Expressions.Expression> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> unit
Protected Overridable Sub GenerateList (items As IReadOnlyList(Of Expression), Optional joinAction As Action(Of IRelationalCommandBuilder) = Nothing, Optional typeMappings As IReadOnlyList(Of RelationalTypeMapping) = Nothing)
參數
- items
- IReadOnlyList<Expression>
物品清單。
- joinAction
- Action<IRelationalCommandBuilder>
一個可選的加入動作。
- typeMappings
- IReadOnlyList<RelationalTypeMapping>
每個項目的選項類型映射。
適用於
GenerateList<T>(IReadOnlyList<T>, Action<T>, Action<IRelationalCommandBuilder>, IReadOnlyList<RelationalTypeMapping>)
利用提供的生成動作及可選的連接動作,對一串項目執行生成。
protected virtual void GenerateList<T>(System.Collections.Generic.IReadOnlyList<T> items, Action<T> generationAction, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction = default, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> typeMappings = default);
abstract member GenerateList : System.Collections.Generic.IReadOnlyList<'T> * Action<'T> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> unit
override this.GenerateList : System.Collections.Generic.IReadOnlyList<'T> * Action<'T> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> unit
Protected Overridable Sub GenerateList(Of T) (items As IReadOnlyList(Of T), generationAction As Action(Of T), Optional joinAction As Action(Of IRelationalCommandBuilder) = Nothing, Optional typeMappings As IReadOnlyList(Of RelationalTypeMapping) = Nothing)
類型參數
- T
項目類型。
參數
- items
- IReadOnlyList<T>
物品清單。
- generationAction
- Action<T>
世代行動。
- joinAction
- Action<IRelationalCommandBuilder>
一個可選的加入動作。
- typeMappings
- IReadOnlyList<RelationalTypeMapping>
每個項目的選項類型映射。
適用於
GenerateList<T>(IReadOnlyList<T>, Action<T>, Action<IRelationalCommandBuilder>)
利用提供的生成動作及可選的連接動作,對一串項目執行生成。
protected virtual void GenerateList<T>(System.Collections.Generic.IReadOnlyList<T> items, Action<T> generationAction, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction = default);
protected virtual void GenerateList<T>(System.Collections.Generic.IReadOnlyList<T> items, Action<T> generationAction, Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> joinAction);
abstract member GenerateList : System.Collections.Generic.IReadOnlyList<'T> * Action<'T> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> -> unit
override this.GenerateList : System.Collections.Generic.IReadOnlyList<'T> * Action<'T> * Action<Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilder> -> unit
Protected Overridable Sub GenerateList(Of T) (items As IReadOnlyList(Of T), generationAction As Action(Of T), Optional joinAction As Action(Of IRelationalCommandBuilder) = Nothing)
Protected Overridable Sub GenerateList(Of T) (items As IReadOnlyList(Of T), generationAction As Action(Of T), joinAction As Action(Of IRelationalCommandBuilder))
類型參數
- T
項目類型。
參數
- items
- IReadOnlyList<T>
物品清單。
- generationAction
- Action<T>
世代行動。
- joinAction
- Action<IRelationalCommandBuilder>
一個可選的加入動作。