public void Apply(IProperty property) { if (property.PropertyType == typeof(byte[])) property.CustomSqlTypeIs("image"); if (property.Property.Name.Contains("Nombre") || property.Property.Name.Contains("Titulo")) { property.WithLengthOf(250); //property.Not.Nullable(); } if (property.Property.Name.Contains("Resumen") || property.Property.Name.Contains("Descripcion")) property.WithLengthOf(400); }