public static void AddFromRaw(this ColumnDefinitionCollection columnDefinitions, IEnumerable<ColumnDefinitionRaw> rawColumns)
 {
     var factory = new ColumnDefinitionFactory();
     foreach (var column in factory.FromRaw(rawColumns))
         columnDefinitions.Add(column);
 }
 private void GetColumn()
 {
     var factory = new ColumnDefinitionFactory();
     var dataType = new DataType((SqlDbType)record[Columns.DataType]);
     column = factory.FromDataType(dataType, GetName());
 }