Search Results for

    Show / Hide Table of Contents

    Class UpdateJoinProvider<T1, T2>

    Inheritance
    System.Object
    UpdateJoinProvider<T1, T2>
    Implements
    IUpdateJoin<T1, T2>
    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()
    Namespace: FreeSql.Internal.CommonProvider
    Assembly: FreeSql.dll
    Syntax
    public class UpdateJoinProvider<T1, T2> : IUpdateJoin<T1, T2> where T1 : class where T2 : class
    Type Parameters
    Name Description
    T1
    T2

    Constructors

    | Improve this Doc View Source

    UpdateJoinProvider(IUpdate<T1>, ISelect<T2>, Expression<Func<T1, T2, Boolean>>)

    Declaration
    public UpdateJoinProvider(IUpdate<T1> update, ISelect<T2> query, Expression<Func<T1, T2, bool>> on)
    Parameters
    Type Name Description
    IUpdate<T1> update
    ISelect<T2> query
    System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> on

    Fields

    | Improve this Doc View Source

    _commonExpression

    Declaration
    public CommonExpression _commonExpression
    Field Value
    Type Description
    CommonExpression
    | Improve this Doc View Source

    _commonUtils

    Declaration
    public CommonUtils _commonUtils
    Field Value
    Type Description
    CommonUtils
    | Improve this Doc View Source

    _joinOn

    Declaration
    public string _joinOn
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    _orm

    Declaration
    public IFreeSql _orm
    Field Value
    Type Description
    IFreeSql
    | Improve this Doc View Source

    _query

    Declaration
    public ISelect<T2> _query
    Field Value
    Type Description
    ISelect<T2>
    | Improve this Doc View Source

    _query2

    Declaration
    public ISelect<T1, T2> _query2
    Field Value
    Type Description
    ISelect<T1, T2>
    | Improve this Doc View Source

    _query2Provider

    Declaration
    public Select2Provider<T1, T2> _query2Provider
    Field Value
    Type Description
    Select2Provider<T1, T2>
    | Improve this Doc View Source

    _queryProvider

    Declaration
    public Select0Provider _queryProvider
    Field Value
    Type Description
    Select0Provider
    | Improve this Doc View Source

    _tableName

    Declaration
    public string _tableName
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    _update

    Declaration
    public IUpdate<T1> _update
    Field Value
    Type Description
    IUpdate<T1>
    | Improve this Doc View Source

    _updateProvider

    Declaration
    public UpdateProvider<T1> _updateProvider
    Field Value
    Type Description
    UpdateProvider<T1>

    Methods

    | Improve this Doc View Source

    AsTable(String)

    Declaration
    public IUpdateJoin<T1, T2> AsTable(string tableName)
    Parameters
    Type Name Description
    System.String tableName
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    CommandTimeout(Int32)

    Declaration
    public IUpdateJoin<T1, T2> CommandTimeout(int timeout)
    Parameters
    Type Name Description
    System.Int32 timeout
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    DisableGlobalFilter(String[])

    Declaration
    public IUpdateJoin<T1, T2> DisableGlobalFilter(params string[] name)
    Parameters
    Type Name Description
    System.String[] name
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    ExecuteAffrows()

    Declaration
    public int ExecuteAffrows()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ExecuteAffrowsAsync(CancellationToken)

    Declaration
    public async Task<int> ExecuteAffrowsAsync(CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>
    | Improve this Doc View Source

    Set(Expression<Func<T1, T2, Boolean>>)

    Declaration
    public IUpdateJoin<T1, T2> Set(Expression<Func<T1, T2, bool>> exp)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> exp
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    Set<TMember>(Expression<Func<T1, TMember>>, TMember)

    Declaration
    public IUpdateJoin<T1, T2> Set<TMember>(Expression<Func<T1, TMember>> column, TMember value)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression<System.Func<T1, TMember>> column
    TMember value
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    Type Parameters
    Name Description
    TMember
    | Improve this Doc View Source

    SetIf(Boolean, Expression<Func<T1, T2, Boolean>>)

    Declaration
    public IUpdateJoin<T1, T2> SetIf(bool condition, Expression<Func<T1, T2, bool>> exp)
    Parameters
    Type Name Description
    System.Boolean condition
    System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> exp
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    SetIf<TMember>(Boolean, Expression<Func<T1, TMember>>, TMember)

    Declaration
    public IUpdateJoin<T1, T2> SetIf<TMember>(bool condition, Expression<Func<T1, TMember>> column, TMember value)
    Parameters
    Type Name Description
    System.Boolean condition
    System.Linq.Expressions.Expression<System.Func<T1, TMember>> column
    TMember value
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    Type Parameters
    Name Description
    TMember
    | Improve this Doc View Source

    SetRaw(String, Object)

    Declaration
    public IUpdateJoin<T1, T2> SetRaw(string sql, object parms = null)
    Parameters
    Type Name Description
    System.String sql
    System.Object parms
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    ToSql()

    Declaration
    public string ToSql()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    ValidateDataType(Action, Action, Action, Action, Action)

    Declaration
    public void ValidateDataType(Action InterceptSqlServer, Action InterceptMySql, Action InterceptPostgreSQL, Action InterceptMergeInto, Action InterceptGBase)
    Parameters
    Type Name Description
    System.Action InterceptSqlServer
    System.Action InterceptMySql
    System.Action InterceptPostgreSQL
    System.Action InterceptMergeInto
    System.Action InterceptGBase
    | Improve this Doc View Source

    Where(Expression<Func<T1, T2, Boolean>>)

    Declaration
    public IUpdateJoin<T1, T2> Where(Expression<Func<T1, T2, bool>> exp)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> exp
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    Where(String, Object)

    Declaration
    public IUpdateJoin<T1, T2> Where(string sql, object parms = null)
    Parameters
    Type Name Description
    System.String sql
    System.Object parms
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    WhereIf(Boolean, Expression<Func<T1, T2, Boolean>>)

    Declaration
    public IUpdateJoin<T1, T2> WhereIf(bool condition, Expression<Func<T1, T2, bool>> exp)
    Parameters
    Type Name Description
    System.Boolean condition
    System.Linq.Expressions.Expression<System.Func<T1, T2, System.Boolean>> exp
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    WithConnection(DbConnection)

    Declaration
    public IUpdateJoin<T1, T2> WithConnection(DbConnection connection)
    Parameters
    Type Name Description
    System.Data.Common.DbConnection connection
    Returns
    Type Description
    IUpdateJoin<T1, T2>
    | Improve this Doc View Source

    WithTransaction(DbTransaction)

    Declaration
    public IUpdateJoin<T1, T2> WithTransaction(DbTransaction transaction)
    Parameters
    Type Name Description
    System.Data.Common.DbTransaction transaction
    Returns
    Type Description
    IUpdateJoin<T1, T2>

    Implements

    IUpdateJoin<T1, T2>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX