Flexbase
Search…
INSERT : Input API Model
BasicCRUD Insert Query with Bridge
Now let us look at the input API model. So we'll go back to our solution.
If you see in our APIModels, we have InputAPIModel and this is the customer module that was created and Add is the feature.
1
public class AddCustomerInputAPIModel : IFlexInputAPIModel
2
{
3
[StringLength(50)]
4
public string Name { get; set; }
5
public DateTime DateOfBirth { get; set; }
6
}
Copied!
So for add customer the input API model that got created was AddCustomerInputAPIModel, we have two Fields: Name and DateOfBirth.
Last modified 1yr ago
Copy link