Search Results for

    Show / Hide Table of Contents

    Class MergeDefinition<TTarget, TSource>.Operation

    Inheritance
    System.Object
    MergeDefinition<TTarget, TSource>.Operation
    Namespace: LinqToDB
    Assembly: linq2db.dll
    Syntax
    public class Operation : object

    Properties

    | Improve this Doc View Source

    BySourcePredicate

    Declaration
    public Expression<Func<TTarget, bool>>? BySourcePredicate { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TTarget, System.Boolean>>>
    | Improve this Doc View Source

    CreateExpression

    Declaration
    public Expression<Func<TSource, TTarget>>? CreateExpression { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TSource, TTarget>>>
    | Improve this Doc View Source

    HasCondition

    Declaration
    public bool HasCondition { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MatchedPredicate

    Declaration
    public Expression<Func<TTarget, TSource, bool>>? MatchedPredicate { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TTarget, TSource, System.Boolean>>>
    | Improve this Doc View Source

    MatchedPredicate2

    Declaration
    public Expression<Func<TTarget, TSource, bool>>? MatchedPredicate2 { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TTarget, TSource, System.Boolean>>>
    | Improve this Doc View Source

    NotMatchedPredicate

    Declaration
    public Expression<Func<TSource, bool>>? NotMatchedPredicate { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TSource, System.Boolean>>>
    | Improve this Doc View Source

    Type

    Declaration
    public MergeOperationType Type { get; }
    Property Value
    Type Description
    MergeOperationType
    | Improve this Doc View Source

    UpdateBySourceExpression

    Declaration
    public Expression<Func<TTarget, TTarget>>? UpdateBySourceExpression { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TTarget, TTarget>>>
    | Improve this Doc View Source

    UpdateExpression

    Declaration
    public Expression<Func<TTarget, TSource, TTarget>>? UpdateExpression { get; }
    Property Value
    Type Description
    System.Nullable<Expression<Func<TTarget, TSource, TTarget>>>

    Methods

    | Improve this Doc View Source

    Delete(Expression<Func<TTarget, TSource, Boolean>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation Delete(Expression<Func<TTarget, TSource, bool>> predicate)
    Parameters
    Type Name Description
    Expression<Func<TTarget, TSource, System.Boolean>> predicate
    Returns
    Type Description
    MergeDefinition.Operation<>
    | Improve this Doc View Source

    DeleteBySource(Expression<Func<TTarget, Boolean>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation DeleteBySource(Expression<Func<TTarget, bool>> predicate)
    Parameters
    Type Name Description
    Expression<Func<TTarget, System.Boolean>> predicate
    Returns
    Type Description
    MergeDefinition.Operation<>
    | Improve this Doc View Source

    Insert(Expression<Func<TSource, Boolean>>, Expression<Func<TSource, TTarget>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation Insert(Expression<Func<TSource, bool>> predicate, Expression<Func<TSource, TTarget>> create)
    Parameters
    Type Name Description
    Expression<Func<TSource, System.Boolean>> predicate
    Expression<Func<TSource, TTarget>> create
    Returns
    Type Description
    MergeDefinition.Operation<>
    | Improve this Doc View Source

    Update(Expression<Func<TTarget, TSource, Boolean>>, Expression<Func<TTarget, TSource, TTarget>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation Update(Expression<Func<TTarget, TSource, bool>> predicate, Expression<Func<TTarget, TSource, TTarget>> update)
    Parameters
    Type Name Description
    Expression<Func<TTarget, TSource, System.Boolean>> predicate
    Expression<Func<TTarget, TSource, TTarget>> update
    Returns
    Type Description
    MergeDefinition.Operation<>
    | Improve this Doc View Source

    UpdateBySource(Expression<Func<TTarget, Boolean>>, Expression<Func<TTarget, TTarget>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation UpdateBySource(Expression<Func<TTarget, bool>> predicate, Expression<Func<TTarget, TTarget>> update)
    Parameters
    Type Name Description
    Expression<Func<TTarget, System.Boolean>> predicate
    Expression<Func<TTarget, TTarget>> update
    Returns
    Type Description
    MergeDefinition.Operation<>
    | Improve this Doc View Source

    UpdateWithDelete(Expression<Func<TTarget, TSource, Boolean>>, Expression<Func<TTarget, TSource, TTarget>>, Expression<Func<TTarget, TSource, Boolean>>)

    Declaration
    public static MergeDefinition<TTarget, TSource>.Operation UpdateWithDelete(Expression<Func<TTarget, TSource, bool>> updatePredicate, Expression<Func<TTarget, TSource, TTarget>> update, Expression<Func<TTarget, TSource, bool>> deletePredicate)
    Parameters
    Type Name Description
    Expression<Func<TTarget, TSource, System.Boolean>> updatePredicate
    Expression<Func<TTarget, TSource, TTarget>> update
    Expression<Func<TTarget, TSource, System.Boolean>> deletePredicate
    Returns
    Type Description
    MergeDefinition.Operation<>

    Extension Methods

    Map.DeepCopy<T>(T)
    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.In<T>(T, T[])
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T[])
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, T, T, T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2022 linq2db.com

    Generated by DocFX