Search Results for

    Show / Hide Table of Contents

    Class UpdateAndGet<T>

    Update and retrieve the first document that was updated.

    TIP: Specify a filter first with the .Match(). Then set property values with .Modify() and finally call .Execute() to run the command.

    Inheritance
    Object
    UpdateBase<T>
    UpdateAndGet<T, T>
    UpdateAndGet<T>
    Inherited Members
    UpdateAndGet<T, T>.MatchID(String)
    UpdateAndGet<T, T>.Match(Expression<Func<T, Boolean>>)
    UpdateAndGet<T, T>.Match(Func<FilterDefinitionBuilder<T>, FilterDefinition<T>>)
    UpdateAndGet<T, T>.Match(FilterDefinition<T>)
    UpdateAndGet<T, T>.Match(Template)
    UpdateAndGet<T, T>.Match(Search, String, Boolean, Boolean, String)
    UpdateAndGet<T, T>.Match(Expression<Func<T, Object>>, Coordinates2D, Nullable<Double>, Nullable<Double>)
    UpdateAndGet<T, T>.MatchString(String)
    UpdateAndGet<T, T>.MatchExpression(String)
    UpdateAndGet<T, T>.MatchExpression(Template)
    UpdateAndGet<T, T>.Modify<TProp>(Expression<Func<T, TProp>>, TProp)
    UpdateAndGet<T, T>.Modify(Func<UpdateDefinitionBuilder<T>, UpdateDefinition<T>>)
    UpdateAndGet<T, T>.Modify(String)
    UpdateAndGet<T, T>.Modify(Template)
    UpdateAndGet<T, T>.ModifyWith(T)
    UpdateAndGet<T, T>.ModifyOnly(Expression<Func<T, Object>>, T)
    UpdateAndGet<T, T>.ModifyExcept(Expression<Func<T, Object>>, T)
    UpdateAndGet<T, T>.WithPipeline(Template)
    UpdateAndGet<T, T>.WithPipelineStage(String)
    UpdateAndGet<T, T>.WithPipelineStage(Template)
    UpdateAndGet<T, T>.WithArrayFilter(String)
    UpdateAndGet<T, T>.WithArrayFilter(Template)
    UpdateAndGet<T, T>.WithArrayFilters(Template)
    UpdateAndGet<T, T>.Option(Action<FindOneAndUpdateOptions<T, T>>)
    UpdateAndGet<T, T>.Project(Expression<Func<T, T>>)
    UpdateAndGet<T, T>.Project(Func<ProjectionDefinitionBuilder<T>, ProjectionDefinition<T, T>>)
    UpdateAndGet<T, T>.IncludeRequiredProps()
    UpdateAndGet<T, T>.IgnoreGlobalFilters()
    UpdateAndGet<T, T>.ExecuteAsync(CancellationToken)
    UpdateAndGet<T, T>.ExecutePipelineAsync(CancellationToken)
    UpdateBase<T>.defs
    UpdateBase<T>.AddModification<TProp>(Expression<Func<T, TProp>>, TProp)
    UpdateBase<T>.AddModification(Func<UpdateDefinitionBuilder<T>, UpdateDefinition<T>>)
    UpdateBase<T>.AddModification(String)
    UpdateBase<T>.AddModification(Template)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: MongoDB.Entities
    Assembly: MongoDB.Entities.dll
    Syntax
    public class UpdateAndGet<T> : UpdateAndGet<T, T> where T : IEntity
    Type Parameters
    Name Description
    T

    Any class that implements IEntity

    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX