Controller get is missing partial class

Hi,
I notice that the generated controllers are missing a partial class for the SIngleResult Getxxx method. The partial classes are a great feature, can this be added?

    [EnableQuery(MaxExpansionDepth=10,MaxAnyAllExpressionDepth=10,MaxNodeCount=1000)]
    [HttpGet]
    public IEnumerable<Models.Schools01Db.Test> GetTests()
    {
      var items = this.context.Tests.AsQueryable<Models.Schools01Db.Test>();
      this.OnTestsRead(ref items);

      return items;
    }

    partial void OnTestsRead(ref IQueryable<Models.Schools01Db.Test> items);

    [EnableQuery(MaxExpansionDepth=10,MaxAnyAllExpressionDepth=10,MaxNodeCount=1000)]
    [HttpGet("{tenant_id},{uid}")]
    public SingleResult<Test> GetTest([FromODataUri] Int64 keytenant_id,[FromODataUri] Int64 keyuid)
    {
        var items = this.context.Tests.Where(i=>i.tenant_id == keytenant_id && i.uid == keyuid);
        return SingleResult.Create(items);
    }

Sure! We will add partial method in the next update early next week!

1 Like