//-----------------------------------------------------------------------
//
// Copyright (c) 2009 Deltares. All rights reserved.
//
// B. Faassen
// barry.faassen@deltares.nl
// 9-2-2009
//
// Defines a mapping class which can be used in the DtoAssemler for
// creating mappings between class properties and xml attributes
//
//-----------------------------------------------------------------------
using System;
namespace Deltares.Standard
{
///
/// Importance or the requiremen for a value in the domain object
/// before it can be used in a dto
///
public enum DtoPropertyImportance
{
///
/// Use this setting when the property or attribute must have a value
///
Required,
///
/// Use this setting when the property or attribute value is optional
///
Optional
}
///
/// Defines a mapping class which can be used in the DtoAssemler for creating
/// mappings between class properties and xml attributes
///
public class DtoPropertyAttriubteMapping
{
///
/// Holds the property to attribute translation rule
///
private Func