Open anishpateluk opened 10 years ago
Yes. Support for this data type has not been added yet. A primary design goal for Mig# was to provide a framework that enables you to painlessly switch database platforms with only have to write DAL code once. Using too specific platform features works against that. I assume, DbType.Xml is rather a SQL Server thing (correct me if I'm wrong) but I guess, support for it could be easily added.
Feel free to issue a PR for this.
Will do buddy
Cannot create columns of type DbType.Xml when using SqlServer2012 provider. The error message I get is:
System.InvalidOperationException: Cannot execute the migration(s) as there are validation errors: Migration 'Migrations.Migration9' uses the data type 'Xml' which is not supported by 'SqlServer2012'.