/// <summary>
 /// Initializes a new instance of the <see cref="EntityPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 /// <param name="mappedEntityPropertyName">Name of the mapped entity property.</param>
 public EntityPropertyMappingAttribute(MappingDirectionType mappingDirection, string mappedEntityPropertyName)
     : this(mappingDirection)
 {
     // private set value
     MappedEntityPropertyName = mappedEntityPropertyName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 internal EntityPropertyMappingAttribute(MappingDirectionType mappingDirection)
 {
     // private set value
     MappingDirection = mappingDirection;
 }
 internal EntityPropertyMappingAttribute(MappingDirectionType mappingDirectionType)
 {
     this.MappingDirection = mappingDirectionType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModelPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 internal ViewModelPropertyMappingAttribute(MappingDirectionType mappingDirection)
 {
     // private set value
     MappingDirection = mappingDirection;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModelPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 /// <param name="mappedViewModelPropertyName">Name of the mapped entity property.</param>
 public ViewModelPropertyMappingAttribute(MappingDirectionType mappingDirection, string mappedViewModelPropertyName)
     : this(mappingDirection)
 {
     // private set value
     MappedViewModelPropertyName = mappedViewModelPropertyName;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ViewModelPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 internal ViewModelPropertyMappingAttribute(MappingDirectionType mappingDirection)
 {
     // private set value
     MappingDirection = mappingDirection;
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityPropertyMappingAttribute"/> class.
 /// </summary>
 /// <param name="mappingDirection">The mapping direction.</param>
 internal EntityPropertyMappingAttribute(MappingDirectionType mappingDirection)
 {
     // private set value
     MappingDirection = mappingDirection;
 }