Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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;
            }
        }