Closed Neon4eg closed 9 years ago
Such mapping:
[MapField("REF_TYPE")] [MapValue(true, 10)] [MapValue(false, 20)] public bool IsProduced { get; set; }
after insert allways results true = 1, false = 0. MapValue attribute is ignored. Database is Oracle, column type is number
В принципе можно по-русски. Атрибут MapValue полностью игнорируется
Such mapping:
[MapField("REF_TYPE")] [MapValue(true, 10)] [MapValue(false, 20)] public bool IsProduced { get; set; }
after insert allways results true = 1, false = 0. MapValue attribute is ignored. Database is Oracle, column type is number
В принципе можно по-русски. Атрибут MapValue полностью игнорируется