Ejemplo n.º 1
0
 public override void BuildColumnModifySql(DbObjectChange change, DbColumnInfo column, DbScriptOptions options = DbScriptOptions.None)
 {
     //SqlCe does not allow any modification of 'ntext'/memo columns
       var dbType = column.TypeInfo.VendorDbType.DbType;
       bool isNText = column.TypeInfo.Size < 0 && (dbType == DbType.String || dbType == DbType.Binary);
       if(isNText) {
     change.NotSupported("Modifying ntext column not supported in SqlCE. Column: {0}.{1}", column.Table.TableName, column.ColumnName);
     return;
       }
       base.BuildColumnModifySql(change, column, options);
 }