net7.0
namespace Microsoft.AspNetCore.Datasync
{
[ApiController]
[DatasyncController]
public class TableController<TEntity> : ControllerBase
where TEntity, class, ITableData
{
[AsyncStateMachine(typeof(<CreateAsync>d__30))]
[Consumes("application/json", new[] { })]
[HttpPost]
[ProducesResponseType(201)]
public virtual Task<IActionResult> CreateAsync([FromBody] TEntity item, CancellationToken token = default);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net7.0 | |
Assembly | Microsoft.AspNetCore.Datasync , Version=6.1.0.0, PublicKeyToken= |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.Datasync net6.0 |
Platform Restrictions | This API is supported on all platforms. |