public DbDataColumn(string name, Type dataType, IPropertyEnumerableDictionary attributes) { if (String.IsNullOrEmpty(name)) { throw new ArgumentNullException("name"); } this.name = name; this.dataType = dataType; this.attributes = attributes; } // ctor
} // ctor public SimpleDataColumn(string name, Type dataType, IPropertyEnumerableDictionary attributes = null) { if (String.IsNullOrEmpty(name)) { throw new ArgumentNullException("name"); } if (dataType == null) { throw new ArgumentNullException("dataType"); } this.name = name; this.dataType = dataType; this.attributes = attributes ?? PropertyDictionary.EmptyReadOnly; } // ctor
} // ctor /// <summary></summary> /// <param name="name"></param> /// <param name="dataType"></param> /// <param name="bindingPath"></param> /// <param name="properties"></param> public PpsDataFieldInfo(string name, Type dataType, string bindingPath, IPropertyEnumerableDictionary properties) { this.dataColumn = new SimpleDataColumn(name, dataType, properties); this.BindingPath = bindingPath ?? throw new ArgumentNullException(nameof(bindingPath)); } // ctor