Reputation: 11673
Is it possible to test Nullable Types with PersistenceSpecification?
var approved = new Nullable<DateTime>();
spec.CheckProperty(x => x.Approved, approved);
Currently this throws a NullReferenceException. Am I doing it wrong?
Upvotes: 1
Views: 372
Reputation: 6278
Is possible indeed.
Nullable<DateTime>?
Upvotes: 1