Forum Discussion
FICO
17 years agoCommunity Manager
Problem with database providers
Problem with database providers Hi, I have two database providers the key for the second is (in part) a value returned from the first. The value holders are optional entries. This is the se...
FICO
17 years agoCommunity Manager
Well, if the value holders are optional, you should take that into consideration in your provider also.
if (string.IsNullOrEmpty(param))
{
return null;
}
else
{
return query(...);
}
There are solutions you can try with nesting of code templates, but you will still have to have a provider that handles exceptions for the corner cases.
Regards,
Jostein