TableUpdate 类
修改表
public class TableUpdate : UpdateBase, IUpdate, IExecuteSql, ISqlEntity
- 继承
-
TableUpdate
- 实现
- 继承成员
- 扩展方法
构造函数
TableUpdate(IUpdateTable, ISqlLogic)
修改表
public TableUpdate(IUpdateTable table, ISqlLogic filter)
参数
table
IUpdateTablefilter
ISqlLogic
TableUpdate(string, ISqlLogic)
查询表
public TableUpdate(string tableName, ISqlLogic filter)
参数
字段
_filter
过滤条件
protected readonly ISqlLogic _filter
字段值
_table
源表
protected IUpdateTable _table
字段值
属性
Filter
过滤条件
public ISqlLogic Filter { get; }
属性值
Table
源表
public IUpdateTable Table { get; }
属性值
方法
Create(string, ISqlLogic)
按表名修改
public static TableUpdate Create(string tableName, ISqlLogic filter)
参数
返回
WriteSource(ISqlEngine, StringBuilder)
拼写数据源sql
protected override void WriteSource(ISqlEngine engine, StringBuilder sql)
参数
engine
ISqlEnginesql
StringBuilder