diff --git a/DigitalData.Core.DTO/AutoMapperExtension.cs b/DigitalData.Core.DTO/AutoMapperExtension.cs index 44401ec..fa33333 100644 --- a/DigitalData.Core.DTO/AutoMapperExtension.cs +++ b/DigitalData.Core.DTO/AutoMapperExtension.cs @@ -4,6 +4,7 @@ namespace DigitalData.Core.DTO { public static class AutoMapperExtension { + [Obsolete("use mapper.Map")] /// /// Maps a source object to a destination object, or throws an exception if the mapping result is null. /// @@ -19,4 +20,4 @@ namespace DigitalData.Core.DTO "Hint: Ensure that the AutoMapper profile configuration for this mapping is correct."); } } -} +} \ No newline at end of file