using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace Sleis.Models { public class UnitProcessWrapper : BaseModel { public virtual UnitProcessModel UnitProcess { get; set; } public UnitProcessWrapper(UnitProcessModel model, string emissionIdentifier) { this.UnitProcess = model; this.UnitProcess.EmissionIdentifier = emissionIdentifier; } //public override bool Equals(object obj) //{ // UnitProcessWrapper r = obj as UnitProcessWrapper; // if (r != null) // { // return UnitProcess.Id == r.UnitProcess.Id; // } // return false; //} } }