PIA: Error in Data Access Layer when using SQLServer.ADONET

Hi all,

The Version property (string) comes from a TimeStamp in the SQL Database. The Take() and Make() methods on the CustomerDao class use the extension methods AsByteArray() and AsBase64String() respectively to convert from and to strings.

The default Version value "NotSet" doesn't convert in AsByteArray() correctly as an Exception is thrown ("Invalid length for a Base-64 char array or string.").

I think I've also found that existing Customers are passed back incorrect TimeStamps into SQL anyway so suspect the conversions are incorrect.