SelectInsert<TTable> 类
插入Select子查询
public class SelectInsert<TTable> : SelectInsertBase, ISelectInsert, IInsert, IExecuteSql, ISqlEntity where TTable : IInsertTable
类型参数
TTable
- 继承
-
SelectInsert<TTable>
- 实现
- Derived
- 继承成员
- 扩展方法
构造函数
SelectInsert(TTable, ISelect)
插入Select子查询
public SelectInsert(TTable table, ISelect select)
参数
table
TTableselect
ISelect
SelectInsert(TTable, List<IColumn>, ISelect)
插入Select子查询
public SelectInsert(TTable table, List<IColumn> columns, ISelect select)
参数
字段
_table
源表
protected readonly TTable _table
字段值
- TTable
属性
Table
源表
public TTable Table { get; }
属性值
- TTable
方法
Insert(Func<TTable, IColumn>)
设置需要插入的列
public SelectInsert<TTable> Insert(Func<TTable, IColumn> select)
参数
返回
- SelectInsert<TTable>