示例#1
0
        }                                                     //Tipo de Dato



        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            WFDataType castObj = (WFDataType)obj;

            return((castObj != null) &&
                   (this.DataTypeID == castObj.DataTypeID));
        }
示例#2
0
        public IList<WFDataType> Select(WFDataType data)
        {
            IList<WFDataType> datos = new List<WFDataType>();
            try { 
            datos = GetHsql(data).List<WFDataType>();
            if (!Factory.IsTransactional)
                Factory.Commit();

            }
            catch (Exception e)
            {
                NHibernateHelper.WriteEventLog(WriteLog.GetTechMessage(e));
            }
            return datos;

        }
示例#3
0
 public void DeleteWFDataType(WFDataType data) { Factory.DaoWFDataType().Delete(data); }
示例#4
0
 public void UpdateWFDataType(WFDataType data) { Factory.DaoWFDataType().Update(data); }
示例#5
0
 public WFDataType SaveWFDataType(WFDataType data) { return Factory.DaoWFDataType().Save(data); }
示例#6
0
 public IList<WFDataType> GetWFDataType(WFDataType data) { return Factory.DaoWFDataType().Select(data); }
示例#7
0
 public WFDataType SelectById(WFDataType data)
 {
     return (WFDataType)base.SelectById(data);
 }
示例#8
0
 public Boolean Delete(WFDataType data)
 {
     return base.Delete(data);
 }
示例#9
0
 public Boolean Update(WFDataType data)
 {
     return base.Update(data);
 }
示例#10
0
 public WFDataType Save(WFDataType data)
 {
     return (WFDataType)base.Save(data);
 }