"length=x" works for me - if you mean you want SchemaExport to generate a 
nvarchar(x) column for your string property.

Or do you mean that you want SchemaExport to generate a (n)char column?

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Papy
Sent: den 20 oktober 2008 11:24
To: nhusers
Subject: [nhusers] System.String property with fixed length


HI all,

For a System.String property, how can I define a fixed-length please ?

    <property
      name="Signature"
      column="signature"
      access="field.pascalcase-underscore"
      not-null="false"
      type="System.String"
      length="80"                          <------------  not
supported
      insert="true"
      update="true"/>

I have tried to add length="80" but I get an error in schema
definition.

Thanks for help!

Papy



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to