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.

public class AddCustomerInputAPIModel : IFlexInputAPIModel
    {
        [StringLength(50)]
        public string Name { get; set; }
        public DateTime DateOfBirth { get; set; }
    }

So for add customer the input API model that got created was AddCustomerInputAPIModel, we have two Fields: Name and DateOfBirth.

Last updated