INSERT : Attribute Validation

BasicCRUD Insert Query with Bridge

The first one is attribute-based validation. So in the InputAPIModel, you can define attributes to validate your input here.

public class AddCustomerInputAPIModel : IFlexInputAPIModel
public string Name { get; set; }
public DateTime DateOfBirth { get; set; }

In this case it is string length 50 or it can be a validation of four number format or an email format or any other basic validation that is available with code. You can even create your own validation attributes which are the generic validation.