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

            return((castObj != null) &&
                   (this.RowID == castObj.RowID));
        }
        public static PrintFileFactory getFactory(ProcessEntityResource resource)
        {
            switch (resource.File.FileType.Name)
            {
                case SFileType.PDF:
                    return new PDF(resource);

                default:
                    return null;
            }
        }
        public IList<ProcessEntityResource> Select(ProcessEntityResource data)
        {

                IList<ProcessEntityResource> datos = new List<ProcessEntityResource>();

                datos = GetHsql(data).List<ProcessEntityResource>();

                if (!Factory.IsTransactional)
                    Factory.Commit();

                return datos;
            
        }
Exemple #4
0
 public void UpdateProcessEntityResource(ProcessEntityResource data) { Factory.DaoProcessEntityResource().Update(data); }
Exemple #5
0
 public void DeleteProcessEntityResource(ProcessEntityResource data) { Factory.DaoProcessEntityResource().Delete(data); }
Exemple #6
0
 public ProcessEntityResource SaveProcessEntityResource(ProcessEntityResource data) { return Factory.DaoProcessEntityResource().Save(data); }
Exemple #7
0
 public IList<ProcessEntityResource> GetProcessEntityResource(ProcessEntityResource data) { return Factory.DaoProcessEntityResource().Select(data); }
 public ProcessEntityResource SelectById(ProcessEntityResource data)
 {
     return (ProcessEntityResource)base.SelectById(data);
 }
 public Boolean Delete(ProcessEntityResource data)
 {
     return base.Delete(data);
 }
 public Boolean Update(ProcessEntityResource data)
 {
     return base.Update(data);
 }
 public ProcessEntityResource Save(ProcessEntityResource data)
 {
     return (ProcessEntityResource)base.Save(data);
 }
Exemple #12
0
 public PDF(ProcessEntityResource resource)
 {
     Resource = resource;
 }