Hmm ... I still don't see anything obvious (although I'm reading it on a phone). The exception suggests that generics are use somewhere ... but I don't see any?
Sent from my Android phone. On 9 Dec 2010 16:06, "Stefano Paparesta" <[email protected]> wrote: Hi Richard, thanks for your reply. :-) this is the mapping <?xml version="1.0" encoding="utf-8" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default- lazy="true" assembly="GestioneInsoluti.Domain" namespace="GestioneInsoluti.Domain.Entity"> <class name="Anagrafica" table="Anagrafiche" xmlns="urn:nhibernate- mapping-2.2" dynamic-update="true" schema="dbo"> <id name="Id" column="idAnagrafica" type="System.Int32" unsaved- value="0"> <generator class="native" /> </id> <property name="Codice"/> <property name="RagioneSociale"/> <property name="Indirizzo"/> <property name="Localita"/> <property name="Cap"/> <property name="Comune"/> <property name="Prov"/> <property name="Stato"/> <property name="PartitaIva"/> <property name="CodFiscale"/> <property name="BancaDenominazione"/> <property name="BancaAgenzia"/> <property name="Iban"/> <property name="DataCliente"/> <property name="DataDebitore"/> <property name="DataInformazioni"/> <property name="Responsabile"/> <property name="ResponsabileDocumento"/> <property name="ResponsabileDocumentoDataRil"/> <property name="Note"/> <property name="DescAttivita"/> </class> and this the class definition namespace GestioneInsoluti.Domain.Entity { public class Anagrafica { public virtual int Id { get; set; } public virtual string Codice { get; set; } public virtual string RagioneSociale { get; set; } public virtual string Indirizzo { get; set; } public virtual string Localita { get; set; } public virtual string Cap { get; set; } public virtual string Comune { get; set; } public virtual string Prov { get; set; } public virtual string Stato { get; set; } public virtual string PartitaIva { get; set; } public virtual string CodFiscale { get; set; } public virtual string BancaDenominazione { get; set; } public virtual string BancaAgenzia { get; set; } public virtual string Iban { get; set; } public virtual DateTime? DataCliente { get; set; } public virtual DateTime? DataDebitore { get; set; } public virtual DateTime? DataInformazioni { get; set; } public virtual string Responsabile { get; set; } public virtual string ResponsabileDocumento { get; set; } public virtual DateTime? ResponsabileDocumentoDataRil { get; set; } public virtual string Note { get; set; } public virtual string DescAttivita { get; set; } } } Regards Stefano On 9 Dic, 16:32, "Richard Brown \(gmail\)" <[email protected]> wrote: > Hi Stefano, > > I don't see anything wrong with what you have there. I'm guessing we'd need > to ... > For more options, visit this group athttp:// groups.google.com/group/nhusers?hl=en.- Nascondi testo citato > > - Mostra testo citato - -- You received this message because you are subscribed to the Google Groups "nhusers" group. To p... -- 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.
