Thanks Alexander :) 2009/12/2 Alexander Groß <[email protected]>
> > Its marked as obsolete but I now think that was an oversight. If that > sorts > > you out, I'll be sure to see that we remove the obsolete attribute. > > CheckEnumerable is marked obsolete because there is an overload of > CheckList that accepts a setter delegate. The signature is basically > the same as CheckEnumerable with the last two parameters exchanged: > > _spec.CheckList(x => x.EnumerableOfKittens, kittens, (cat, kitten) => > cat.AddKitten(kitten)); > > Please note similar overloads for other built-in checks (property, > reference, etc). > > You can implement custom checks by deriving from > FluentNHibernate.Testing.Values.Property<T> and adding extension > methods to the PersistenceSpecification, as shown in > FluentNHibernate.Testing.PersistenceSpecificationExtensions. > > HTH, > Alex > > -- > > You received this message because you are subscribed to the Google Groups > "Fluent NHibernate" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<fluent-nhibernate%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/fluent-nhibernate?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
