sybjeb wrote:
1) I think it would be great that LLBLGEN provides a default implementation and I propose nullable -> nullable. Indeed, when an integer field is nullable in database, you convert it automatically to a nullable integer in .Net, why don't you do the same thing for boolean?
The BooleanNumericTypeConverter was introduced as an example, so people have an start point to do more converters. Anyway, in LLBLGen v3.5 (now in beta) there are a lot of common type converters built-in, and all they are null-aware, so they return null if the value is null.
sybjeb wrote:
2) In the above thread, you wrote "All the necessary information about developing your own TypeConverter is available in the LLBLGen Pro SDK manual: 'Implementing a typeconverter'".
Where can I find this manual? I tried to download the
"LLBLGen Pro v3.1 Runtime library reference manual" but no page is displayed.
That is the RTL reference manual which is just a reference for all the classes at the runtime assemblies. To see the SDK manual go here: http://llblgen.com/documentation/3.0/SDK/hh_start.htm
sybjeb wrote:
3) I downloaded the LLBLGEN source code and try to recompile the TypeConverter project bu it doesn't. It references** NHibernate** that I haven't because I didn't use it at all.
There are two projects in the TypeConverter solution, if you don't use NH, just remove that project from the solution and compile the other one.
sybjeb wrote:
So, I downloaded it. Now, when I compile it doesn't find the following path C:\Myprojects\mystrongkey.key". Normal, I haven't. If I comment it, the error is on the post build event.
It's because the assembly signing. Go to AssemblyInfo.cs and remove/comment these lines:
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("C:\\Myprojects\\mystrongkey.key")]
[assembly: AssemblyKeyName("")]