Hi,
I am currently using xml and CodeSmith templates (Version: 1.1.0 RC) for CSLA code generation with SplitBase generation method.
My BO model:
When I compile source code (output from CodeSmith) I get next errors in PersonResidence.Base.cs:
1. The type arguments for method 'IISU20.Common.Library.PersonResidenceBase<T>.ExecuteInsert<P>(System.Data.SqlClient.SqlConnection, P)' cannot be inferred from the usage. Try specifying the type arguments explicitly
Error Line: ExecuteInsert(cn, null);
2. The type arguments for method 'IISU20.Common.Library.PersonResidenceBase<T>.ExecuteUpdate<P>(System.Data.SqlClient.SqlConnection, P)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Error Line: ExecuteUpdate(cn, null);
Is this a bug in CodeSmith templates? Any thoughts?
Thanks,
Kostya
Copyright (c) Marimer LLC