|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Yazeed.Framework.Data
{
/// <summary>
/// Common interface for all Property Mapping Providers
/// </summary>
public interface IPropertyMappingProvider
{
/// <summary>
/// Responsible for mapping the two properties
/// </summary>
/// <param name="entity">Entity received from the client code, <see cref="System.Object"/></param>
/// <param name="LINQEntity">Entity retrieved from DB</param>
/// <param name="LINQProperty"><see cref="System.Reflection.PropertyInfo"/> from LINQ entity
/// retrieved from DB to be mapped</param>
void MapProperties(object entity, object LINQEntity, PropertyInfo LINQProperty);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.