Search Results for

    Show / Hide Table of Contents

    Class DefaultMigrationExpressionValidator

    Default implementation of a IMigrationExpressionValidator

    Inheritance
    object
    DefaultMigrationExpressionValidator
    Implements
    IMigrationExpressionValidator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Validation
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public class DefaultMigrationExpressionValidator : IMigrationExpressionValidator

    Constructors

    | Edit this page View Source

    DefaultMigrationExpressionValidator(IServiceProvider)

    Initializes a new instance of the DefaultMigrationExpressionValidator class.

    Declaration
    public DefaultMigrationExpressionValidator(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The service provider

    Methods

    | Edit this page View Source

    Validate(IMigrationExpression)

    Validates the given migration expression

    Declaration
    public virtual IEnumerable<ValidationResult> Validate(IMigrationExpression expression)
    Parameters
    Type Name Description
    IMigrationExpression expression

    The migration expression to validate

    Returns
    Type Description
    IEnumerable<ValidationResult>

    The validation results

    Implements

    IMigrationExpressionValidator
    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.