protected override void Init(Type recordType) { base.Init(recordType); ChoFixedLengthRecordObjectAttribute recObjAttr = ChoType.GetAttribute <ChoFixedLengthRecordObjectAttribute>(recordType); if (recObjAttr != null) { RecordLength = recObjAttr.RecordLength; } DiscoverRecordFields(recordType); }
protected override void Init(Type recordType) { base.Init(recordType); ChoFixedLengthRecordObjectAttribute recObjAttr = ChoType.GetAttribute <ChoFixedLengthRecordObjectAttribute>(recordType); if (recObjAttr != null) { RecordLength = recObjAttr.RecordLength; } if (IgnoreFieldValueMode == null) { IgnoreFieldValueMode = ChoIgnoreFieldValueMode.Empty | ChoIgnoreFieldValueMode.WhiteSpace; } if (FixedLengthRecordFieldConfigurations.Count == 0) { DiscoverRecordFields(recordType); } }