Пример #1
0
        public FieldMap(UnmappedValueBehavior sourceSideUnmappedValueBehavior,
                        UnmappedValueBehavior targetSideUnmappedValueBehavior, StringComparison comparisonType)
        {
            SourceSideUnmappedValueBehavior = sourceSideUnmappedValueBehavior;

            TargetSideUnmappedValueBehavior = targetSideUnmappedValueBehavior;

            ComparisonType = comparisonType;
        }
Пример #2
0
        /// <summary>
        /// Sets UnmappedBehavior to 'UseDefaultValue'.
        /// </summary>
        /// <param name="defaultValue"></param>
        /// <param name="comparisonType"></param>
        public FieldMap(string sourceSideDefaultValue, string targetSideDefaultValue, StringComparison comparisonType)
        {
            SourceSideDefaultValue = sourceSideDefaultValue;

            TargetSideDefaultValue = targetSideDefaultValue;

            SourceSideUnmappedValueBehavior = UnmappedValueBehavior.UseDefaultValue;

            TargetSideUnmappedValueBehavior = UnmappedValueBehavior.UseDefaultValue;

            ComparisonType = comparisonType;
        }
Пример #3
0
 public TwoWayFieldMap(UnmappedValueBehavior sourceSideUnmappedValueBehavior,
                       UnmappedValueBehavior targetSideUnmappedValueBehavior)
     : base(sourceSideUnmappedValueBehavior, targetSideUnmappedValueBehavior)
 {
 }
Пример #4
0
 public TwoWayFieldMap(UnmappedValueBehavior sourceSideUnmappedValueBehavior,
                       UnmappedValueBehavior targetSideUnmappedValueBehavior, StringComparison comparisonType)
     : base(sourceSideUnmappedValueBehavior, targetSideUnmappedValueBehavior, comparisonType)
 {
 }
Пример #5
0
 public FieldMap(UnmappedValueBehavior sourceSideUnmappedValueBehavior,
                 UnmappedValueBehavior targetSideUnmappedValueBehavior)
     : this(sourceSideUnmappedValueBehavior, targetSideUnmappedValueBehavior, StringComparison.OrdinalIgnoreCase)
 {
 }
Пример #6
0
 public OneWayFieldMap(UnmappedValueBehavior unmappedValueBehavior, StringComparison comparisonType)
     : base(unmappedValueBehavior, unmappedValueBehavior, comparisonType)
 {
     UnmappedValueBehavior = unmappedValueBehavior;
 }
Пример #7
0
 public OneWayFieldMap(UnmappedValueBehavior unmappedValueBehavior)
     : base(unmappedValueBehavior, unmappedValueBehavior)
 {
     UnmappedValueBehavior = unmappedValueBehavior;
 }