Do you have any UInt32 (unsigned int) property on your model?

RP

On Wednesday, March 21, 2018 at 12:10:33 AM UTC, blinky wrote:
>
> Hi,
> I getting the following exception 
>
> System.ArgumentException: 'Dialect does not support DbType.UInt32
> Parameter name: typecode'
>
> When I run the following code 
>
>
> namespace export_schema
> {
>     class Program
>     {
>         static void Main(string[] args)
>         {
>
>             NHibernate.Cfg.Configuration cfg = new 
> NHibernate.Cfg.Configuration();
>             cfg.Configure();
>             
>             // assembly with mappings 
>             cfg.AddAssembly(typeof(NHibernateHelper).Assembly);
>             
>             NHibernate.Tool.hbm2ddl.SchemaExport schema = new 
> NHibernate.Tool.hbm2ddl.SchemaExport(cfg);
>             
>             schema.SetOutputFile("schema.sql");
>             schema.Create(false, true);  
>         }
>     }
> }
>
>
> I can't see any UInt32 types or even a property or column called typecode. 
> There is a large number of mappings in this project. Is there any way to 
> narrow down where the problem is?
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to