Changed how model mappers work for persistence objects so we don't have to statically associate the mapper.

This commit is contained in:
Shannon Deminick
2013-03-07 22:27:47 +06:00
parent 0230bedeb6
commit da331b7408
57 changed files with 218 additions and 142 deletions

View File

@@ -1,5 +1,8 @@
namespace Umbraco.Core.Models
using Umbraco.Core.Persistence.Mappers;
namespace Umbraco.Core.Models
{
[Mapper(typeof(MediaMapper))]
public interface IMedia : IContentBase
{
/// <summary>