} //Valor del metatipo si el tipo de dato es combobox public override Boolean Equals(object obj) { if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } DataDefinition castObj = (DataDefinition)obj; return((castObj != null) && (this.RowID == castObj.RowID)); }
public IList<DataDefinition> Select(DataDefinition data) { IList<DataDefinition> datos = new List<DataDefinition>(); try { datos = GetHsql(data).List<DataDefinition>(); if (!Factory.IsTransactional) Factory.Commit(); } catch (Exception e) { NHibernateHelper.WriteEventLog(WriteLog.GetTechMessage(e)); } return datos; }
public DataDefinition SelectById(DataDefinition data) { return (DataDefinition)base.SelectById(data); }
public Boolean Delete(DataDefinition data) { return base.Delete(data); }
public Boolean Update(DataDefinition data) { return base.Update(data); }
public DataDefinition Save(DataDefinition data) { return (DataDefinition)base.Save(data); }
public void DeleteDataDefinition(DataDefinition data) { Factory.DaoDataDefinition().Delete(data); }
public void UpdateDataDefinition(DataDefinition data) { Factory.DaoDataDefinition().Update(data); }
public DataDefinition SaveDataDefinition(DataDefinition data) { return Factory.DaoDataDefinition().Save(data); }
public IList<DataDefinition> GetDataDefinition(DataDefinition data) { return Factory.DaoDataDefinition().Select(data); }