public void Apply(IClassMap classMap)
        {
            var spanishInflector = new SpanishInflector();

            classMap.WithTable(spanishInflector.Pluralize(classMap.EntityType.Name));
        }
示例#2
0
 public void Apply(IClassInstance instance)
 {
     var inflector = new SpanishInflector();
     instance.Table(inflector.Pluralize(instance.EntityType.Name));
 }