public ChoRecordFieldConfiguration(string name, ChoRecordFieldAttribute attr = null) { ChoGuard.ArgumentNotNullOrEmpty(name, "Name"); Name = name; //FieldType = typeof(string); if (attr != null) { ErrorMode = attr.ErrorModeInternal; IgnoreFieldValueMode = attr.IgnoreFieldValueModeInternal; FieldType = attr.FieldType; } }
public ChoRecordFieldConfiguration(string name, ChoRecordFieldAttribute attr = null) { ChoGuard.ArgumentNotNullOrEmpty(name, "Name"); Name = name.NTrim(); if (!ChoETLFrxBootstrap.IsSandboxEnvironment) { Initialize(); } //FieldType = typeof(string); if (attr != null) { ErrorMode = attr.ErrorModeInternal; IgnoreFieldValueMode = attr.IgnoreFieldValueModeInternal; FieldType = attr.FieldType; } }