I've got this class:

class Account
{
    public int Id { get; set; }
    public string FullName { get; set; }
    public byte[] Photo { get; set; }
}

When mapping Photo, using Map(x => x.Photo), it works for small byte
arrays (I'm guessing lessing than 8000 bytes).

I want to allow byte arrays of up to 10 Megabytes in size. How do I go
about setting the maximum length using the DSL?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to