public void Apply(IClassMap classMap) { var spanishInflector = new SpanishInflector(); classMap.WithTable(spanishInflector.Pluralize(classMap.EntityType.Name)); }
public void Apply(IClassInstance instance) { var inflector = new SpanishInflector(); instance.Table(inflector.Pluralize(instance.EntityType.Name)); }