Exemple #1
0
        public override void AddTask(IDatabaseTask task)
        {
            ClassicVersionTask script = new ClassicVersionTask(this, task.FileName);

            script.ExecutionOrder = task.ExecutionOrder;
            this.Tasks.Add(script);
        }
Exemple #2
0
        public override bool Equals(object obj)
        {
            ClassicVersionTask version = obj as ClassicVersionTask;

            if (object.ReferenceEquals(version, null))
            {
                return(false);
            }

            return(this.Version.Equals(version.Version) &&
                   this.Name.Equals(version.Name, StringComparison.InvariantCultureIgnoreCase));
        }