public override Boolean Equals(object obj) { if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } MType castObj = (MType)obj; return((castObj != null) && (this.MetaTypeID == castObj.MetaTypeID)); }
public IList<MType> Select(MType data) { IList<MType> datos = new List<MType>(); try { datos = GetHsql(data).List<MType>(); if (!Factory.IsTransactional) Factory.Commit(); } catch (Exception e) { NHibernateHelper.WriteEventLog(WriteLog.GetTechMessage(e)); } return datos; }
public void DeleteMType(MType data) { Factory.DaoMType().Delete(data); }
public void UpdateMType(MType data) { Factory.DaoMType().Update(data); }
public MType SaveMType(MType data) { return Factory.DaoMType().Save(data); }
public IList<MType> GetMType(MType data) { return Factory.DaoMType().Select(data); }
public MType SelectById(MType data) { return (MType)base.SelectById(data); }
public Boolean Delete(MType data) { return base.Delete(data); }
public Boolean Update(MType data) { return base.Update(data); }
public MType Save(MType data) { return (MType)base.Save(data); }