Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for XML Data Type #52

Open
anishpateluk opened this issue May 30, 2014 · 3 comments
Open

Support for XML Data Type #52

anishpateluk opened this issue May 30, 2014 · 3 comments
Labels

Comments

@anishpateluk
Copy link

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'.

@dradovic
Copy link
Owner

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.

@dradovic
Copy link
Owner

dradovic commented Jul 1, 2015

Feel free to issue a PR for this.

@anishpateluk
Copy link
Author

Will do buddy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants