Search Results for

    Show / Hide Table of Contents

    Class Migration

    Represents a migration history item in the database

    Inheritance
    Object
    Entity
    Migration
    Implements
    IEntity
    Inherited Members
    Entity.ID
    Entity.GenerateNewID()
    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
    [Collection("_migration_history_")]
    public class Migration : Entity, IEntity

    Constructors

    Migration(Int32, String, Double)

    Declaration
    public Migration(int number, string name, double timeTakenSeconds)
    Parameters
    Type Name Description
    Int32 number
    String name
    Double timeTakenSeconds

    Properties

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    String

    Number

    Declaration
    public int Number { get; set; }
    Property Value
    Type Description
    Int32

    TimeTakenSeconds

    Declaration
    public double TimeTakenSeconds { get; set; }
    Property Value
    Type Description
    Double

    Implements

    IEntity

    Extension Methods

    Extensions.InitManyToMany<TChild>(IEntity, Expression<Func<Many<TChild>>>, Expression<Func<TChild, Object>>)
    Extensions.InitOneToMany<TChild>(IEntity, Expression<Func<Many<TChild>>>)
    Extensions.Collection<T>(T)
    Extensions.CollectionName<T>(T)
    Extensions.Database<T>(T)
    Extensions.DatabaseName<T>(T)
    Extensions.DeleteAsync<T>(T, IClientSessionHandle, CancellationToken)
    Extensions.Fluent<T>(T, IClientSessionHandle, AggregateOptions)
    Extensions.InsertAsync<T>(T, IClientSessionHandle, CancellationToken)
    Extensions.NextSequentialNumberAsync<T>(T, CancellationToken)
    Extensions.Queryable<T>(T, AggregateOptions)
    Extensions.SaveAsync<T>(T, IClientSessionHandle, CancellationToken)
    Extensions.SaveExceptAsync<T>(T, IEnumerable<String>, IClientSessionHandle, CancellationToken)
    Extensions.SaveExceptAsync<T>(T, Expression<Func<T, Object>>, IClientSessionHandle, CancellationToken)
    Extensions.SaveOnlyAsync<T>(T, IEnumerable<String>, IClientSessionHandle, CancellationToken)
    Extensions.SaveOnlyAsync<T>(T, Expression<Func<T, Object>>, IClientSessionHandle, CancellationToken)
    Extensions.SavePreservingAsync<T>(T, IClientSessionHandle, CancellationToken)
    Extensions.ToDocument<T>(T)
    Extensions.ToReference<T>(T)
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX