DefaultQuerySqlGenerator.GenerateList 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GenerateList(IReadOnlyList<Expression>, Action<IRelationalCommandBuilder>)
- Source:
- DefaultQuerySqlGenerator.cs
- Source:
- DefaultQuerySqlGenerator.cs
通过访问每个项对项列表执行生成。
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>)
- Source:
- DefaultQuerySqlGenerator.cs
通过访问每个项对项列表执行生成。
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>)
- Source:
- DefaultQuerySqlGenerator.cs
使用提供的生成操作和可选的联接操作对项列表执行生成。
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>)
- Source:
- DefaultQuerySqlGenerator.cs
- Source:
- DefaultQuerySqlGenerator.cs
使用提供的生成操作和可选的联接操作对项列表执行生成。
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>
可选的加入操作。