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; }
public void UpdateProcessEntityResource(ProcessEntityResource data) { Factory.DaoProcessEntityResource().Update(data); }
public void DeleteProcessEntityResource(ProcessEntityResource data) { Factory.DaoProcessEntityResource().Delete(data); }
public ProcessEntityResource SaveProcessEntityResource(ProcessEntityResource data) { return Factory.DaoProcessEntityResource().Save(data); }
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); }
public PDF(ProcessEntityResource resource) { Resource = resource; }