Hi all,
I extended Customer class to manage one mandatory field for Italian law: I added the field "CodiceFiscale"; it works very fine, insert, update, view. I have only a problem related this modification when customer is logged:

Invalid column name 'CodiceFiscale'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'CodiceFiscale'.

Source Error:


Line 27:         public T GetById(object id)
Line 28:         {
Line 29:             return this.Entities.Find(id);
Line 30:         }
Line 31:


Where I forgot to define something about this field? I have seen that new field is present in CustomerAttribute table..

Thanks for any type of help...

Massimo