Class UpdateProvider
Inheritance
System.Object
UpdateProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FreeSql.dll
Syntax
public abstract class UpdateProvider
Fields
|
Improve this Doc
View Source
_auditValueChangedDict
Declaration
public Dictionary<string, bool> _auditValueChangedDict
Field Value
| Type |
Description |
| System.Collections.Generic.Dictionary<System.String, System.Boolean> |
|
|
Improve this Doc
View Source
_batchAutoTransaction
Declaration
public bool _batchAutoTransaction
Field Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
_batchParameterLimit
Declaration
public int _batchParameterLimit
Field Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
_batchRowsLimit
Declaration
public int _batchRowsLimit
Field Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
_commandTimeout
Declaration
public int _commandTimeout
Field Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
_commonExpression
Declaration
public CommonExpression _commonExpression
Field Value
|
Improve this Doc
View Source
_commonUtils
Declaration
public CommonUtils _commonUtils
Field Value
|
Improve this Doc
View Source
_connection
Declaration
public DbConnection _connection
Field Value
| Type |
Description |
| System.Data.Common.DbConnection |
|
|
Improve this Doc
View Source
_ignore
Declaration
public Dictionary<string, bool> _ignore
Field Value
| Type |
Description |
| System.Collections.Generic.Dictionary<System.String, System.Boolean> |
|
|
Improve this Doc
View Source
_ignoreVersion
Declaration
public bool _ignoreVersion
Field Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
_interceptSql
Declaration
public Action<StringBuilder> _interceptSql
Field Value
| Type |
Description |
| System.Action<System.Text.StringBuilder> |
|
|
Improve this Doc
View Source
_isAutoSyncStructure
Declaration
public bool _isAutoSyncStructure
Field Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
_noneParameter
Declaration
public bool _noneParameter
Field Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
_orm
Declaration
Field Value
| Type |
Description |
| IFreeSql |
|
|
Improve this Doc
View Source
_params
Declaration
public List<DbParameter> _params
Field Value
| Type |
Description |
| System.Collections.Generic.List<System.Data.Common.DbParameter> |
|
|
Improve this Doc
View Source
_paramsSource
Declaration
public List<DbParameter> _paramsSource
Field Value
| Type |
Description |
| System.Collections.Generic.List<System.Data.Common.DbParameter> |
|
|
Improve this Doc
View Source
_set
Declaration
public StringBuilder _set
Field Value
| Type |
Description |
| System.Text.StringBuilder |
|
|
Improve this Doc
View Source
_setIncr
Declaration
public StringBuilder _setIncr
Field Value
| Type |
Description |
| System.Text.StringBuilder |
|
|
Improve this Doc
View Source
_table
Declaration
Field Value
|
Improve this Doc
View Source
_tableRule
Declaration
public Func<string, string> _tableRule
Field Value
| Type |
Description |
| System.Func<System.String, System.String> |
|
|
Improve this Doc
View Source
_tempPrimarys
Declaration
public ColumnInfo[] _tempPrimarys
Field Value
|
Improve this Doc
View Source
_transaction
Declaration
public DbTransaction _transaction
Field Value
| Type |
Description |
| System.Data.Common.DbTransaction |
|
|
Improve this Doc
View Source
_updateVersionValue
Declaration
public object _updateVersionValue
Field Value
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
_versionColumn
Declaration
public ColumnInfo _versionColumn
Field Value
|
Improve this Doc
View Source
_where
Declaration
public StringBuilder _where
Field Value
| Type |
Description |
| System.Text.StringBuilder |
|
|
Improve this Doc
View Source
_whereGlobalFilter
Declaration
public List<GlobalFilter.Item> _whereGlobalFilter
Field Value
Methods
|
Improve this Doc
View Source
ExecuteBulkCommand<T1>(List<T1>, ColumnInfo[], IFreeSql, DbConnection, DbTransaction, TableInfo, NativeTuple<String, String, String, String, String[]>, Action<IInsert<T1>>)
Declaration
public static int ExecuteBulkCommand<T1>(List<T1> _source, ColumnInfo[] _tempPrimarys, IFreeSql _orm, DbConnection _connection, DbTransaction _transaction, TableInfo _table, NativeTuple<string, string, string, string, string[]> state, Action<IInsert<T1>> funcBulkCopy)
where T1 : class
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<T1> |
_source |
|
| ColumnInfo[] |
_tempPrimarys |
|
| IFreeSql |
_orm |
|
| System.Data.Common.DbConnection |
_connection |
|
| System.Data.Common.DbTransaction |
_transaction |
|
| TableInfo |
_table |
|
| NativeTuple<System.String, System.String, System.String, System.String, System.String[]> |
state |
|
| System.Action<IInsert<T1>> |
funcBulkCopy |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteBulkCommandAsync<T1>(List<T1>, ColumnInfo[], IFreeSql, DbConnection, DbTransaction, TableInfo, NativeTuple<String, String, String, String, String[]>, Func<IInsert<T1>, Task>)
Declaration
public static async Task<int> ExecuteBulkCommandAsync<T1>(List<T1> _source, ColumnInfo[] _tempPrimarys, IFreeSql _orm, DbConnection _connection, DbTransaction _transaction, TableInfo _table, NativeTuple<string, string, string, string, string[]> state, Func<IInsert<T1>, Task> funcBulkCopy)
where T1 : class
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<T1> |
_source |
|
| ColumnInfo[] |
_tempPrimarys |
|
| IFreeSql |
_orm |
|
| System.Data.Common.DbConnection |
_connection |
|
| System.Data.Common.DbTransaction |
_transaction |
|
| TableInfo |
_table |
|
| NativeTuple<System.String, System.String, System.String, System.String, System.String[]> |
state |
|
| System.Func<IInsert<T1>, System.Threading.Tasks.Task> |
funcBulkCopy |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteBulkUpdate<T1>(UpdateProvider<T1>, NativeTuple<String, String, String, String, String[]>, Action<IInsert<T1>>)
Declaration
public static int ExecuteBulkUpdate<T1>(UpdateProvider<T1> update, NativeTuple<string, string, string, string, string[]> state, Action<IInsert<T1>> funcBulkCopy)
where T1 : class
Parameters
| Type |
Name |
Description |
| UpdateProvider<T1> |
update |
|
| NativeTuple<System.String, System.String, System.String, System.String, System.String[]> |
state |
|
| System.Action<IInsert<T1>> |
funcBulkCopy |
|
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteBulkUpdateAsync<T1>(UpdateProvider<T1>, NativeTuple<String, String, String, String, String[]>, Func<IInsert<T1>, Task>)
Declaration
public static Task<int> ExecuteBulkUpdateAsync<T1>(UpdateProvider<T1> update, NativeTuple<string, string, string, string, string[]> state, Func<IInsert<T1>, Task> funcBulkCopy)
where T1 : class
Parameters
| Type |
Name |
Description |
| UpdateProvider<T1> |
update |
|
| NativeTuple<System.String, System.String, System.String, System.String, System.String[]> |
state |
|
| System.Func<IInsert<T1>, System.Threading.Tasks.Task> |
funcBulkCopy |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteBulkUpsert<T1>(InsertOrUpdateProvider<T1>, NativeTuple<String, String, String, String, String[]>, Action<IInsert<T1>>)
Declaration
public static int ExecuteBulkUpsert<T1>(InsertOrUpdateProvider<T1> upsert, NativeTuple<string, string, string, string, string[]> state, Action<IInsert<T1>> funcBulkCopy)
where T1 : class
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
ExecuteBulkUpsertAsync<T1>(InsertOrUpdateProvider<T1>, NativeTuple<String, String, String, String, String[]>, Func<IInsert<T1>, Task>)
Declaration
public static Task<int> ExecuteBulkUpsertAsync<T1>(InsertOrUpdateProvider<T1> upsert, NativeTuple<string, string, string, string, string[]> state, Func<IInsert<T1>, Task> funcBulkCopy)
where T1 : class
Parameters
| Type |
Name |
Description |
| InsertOrUpdateProvider<T1> |
upsert |
|
| NativeTuple<System.String, System.String, System.String, System.String, System.String[]> |
state |
|
| System.Func<IInsert<T1>, System.Threading.Tasks.Task> |
funcBulkCopy |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
Type Parameters