Class Migration
Represents a migration history item in the database
Implements
Inherited Members
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 |