/// <summary> /// Collections the names are camel cased and plural. /// </summary> /// <returns></returns> public AutoMappingProfileBuilder CollectionNamesAreCamelCasedAndPlural() { _profile.Conventions.CollectionNameConvention = new DelegateCollectionNameConvention(t => Inflector.MakePlural(Inflector.ToCamelCase(t.Name))); return(this); }
/// <summary> /// Aliaseses the are camel cased. /// </summary> /// <returns></returns> public AutoMappingProfileBuilder AliasesAreCamelCased() { _profile.Conventions.AliasConvention = new DelegateAliasConvention(m => Inflector.ToCamelCase(m.Name)); return(this); }