v1.6.2.0 Alpha

Rating: No reviews yet
Downloads: 2
Released: Jul 9, 2012
Updated: Jul 9, 2012 by gameboyLV
Dev status: Alpha Help Icon

Recommended Download

Application Core+Plugin
application, 294K, uploaded Jul 9, 2012 - 2 downloads

Release Notes

更完善的POJO支持
现在支持Domain Model模式和Active Record模式开发
  • Domain Model模式

public class PojoRepository : SimpleMapper<PojoEntity>
{
    public PojoRepository()
        : base(default(PojoEntity), "ID")
    {
    }
}

public class PojoEntity
{
    public int? ID { get; set; }
    public string UserName { get; set; }
}

  • Active Record模式

public class PojoEntity
{
    public ISimpleMapper<PojoEntity> Mapper;
    public PojoEntity()
    {
        this.Mapper = SimpleMapper.Inject(this, "ID");
    }

    public int? ID { get; set; }
    public string UserName { get; set; }
}

Reviews for this release

No reviews yet for this release.