When i try to acess one property FK NULL, i get one exception of type InvalidCastException. This happens when the field should be filled. When the field is null, the class is correctly filled, with null values in the FK field. Someone has a workaround for this? Bellow is the stack trace:
StackTrace " at SubSonic.TableSchema.TableColumnSettingCollection.GetValue[T](String columnName)\r\n at SubSonic.RecordBase`1.GetColumnValue[CT](String columnName)\r\n at SubSonic.ActiveRecord`1.GetColumnValue[CT](String columnName)\r\n at Help23CL.Caixa.get_FuncionarioFuncionarioId() in d:\\projetos\\help23\\solucao\\help23cl\\dal\\caixa.cs:line 190\r\n at Help23CL.Caixa.get_Funcionario() in d:\\projetos\\help23\\solucao\\help23cl\\dal\\caixa.cs:line 229" string