Example #1
0
        internal virtual void AutoMigrate(
            string migrationId, VersionedModel sourceModel, VersionedModel targetModel, bool downgrading)
        {
            DebugCheck.NotNull(targetModel);

            _this.AutoMigrate(migrationId, sourceModel, targetModel, downgrading);
        }
        internal virtual void AutoMigrate(
            string migrationId, XDocument sourceModel, XDocument targetModel, bool downgrading)
        {
            Check.NotNull(targetModel, "targetModel");

            _this.AutoMigrate(migrationId, sourceModel, targetModel, downgrading);
        }