/// <summary> /// Sets <paramref name="configurator"/> <see cref="IEntityPropertyConfigurator{T}.MinLength"/> to <paramref name="minLength"/> /// </summary> public static IEntityPropertyConfigurator <T> MinLength <T>(this IEntityPropertyConfigurator <T> configurator, int minLength) { configurator.MinLength = minLength; return(configurator); }
/// <summary> /// Sets <paramref name="configurator"/> Required to true /// </summary> public static IEntityPropertyConfigurator <T> Required <T>(this IEntityPropertyConfigurator <T> configurator) { configurator.Required = true; return(configurator); }