预定义的过滤 ISoftDelete 软删除过滤用来在查询数据库时,自动过滤(从结果中抽取)已删除的实体.如果一个实体可以被软删除,它必须实现ISoftDelete接口,该接口只定义了一个IsDeleted属性,例如: public class Person : Entity, ISoftDelete { public virtual string Name { get; set; } public virtual bool IsDeleted { get; set; } } 不会真实删除数据…
目录 phpword html转word phpexcel 从数据库导出 phpword html转word <?php namespace app\index\controller; use PhpOffice\PhpWord\PhpWord; use PhpOffice\PhpWord\Shared\Html; class Index extends Controller { public function index(){ $word = new PhpWord(); $content =…