예제 #1
0
        }                                           //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));
        }
예제 #2
0
        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;

        }
예제 #3
0
 public DataDefinition SelectById(DataDefinition data)
 {
     return (DataDefinition)base.SelectById(data);
 }
예제 #4
0
 public Boolean Delete(DataDefinition data)
 {
     return base.Delete(data);
 }
예제 #5
0
 public Boolean Update(DataDefinition data)
 {
     return base.Update(data);
 }
예제 #6
0
 public DataDefinition Save(DataDefinition data)
 {
     return (DataDefinition)base.Save(data);
 }
예제 #7
0
 public void DeleteDataDefinition(DataDefinition data) { Factory.DaoDataDefinition().Delete(data); }
예제 #8
0
 public void UpdateDataDefinition(DataDefinition data) { Factory.DaoDataDefinition().Update(data); }
예제 #9
0
 public DataDefinition SaveDataDefinition(DataDefinition data) { return Factory.DaoDataDefinition().Save(data); }
예제 #10
0
 public IList<DataDefinition> GetDataDefinition(DataDefinition data) { return Factory.DaoDataDefinition().Select(data); }