[fluent-nhib] Removing SQLite...

2011-01-06 Thread Craig Gardiner
was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail. * Database was not configured through Database method. Cheers, Craig Gardiner. From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On

RE: RE: [fluent-nhib] Re: Examples.FirstProject is not working for me

2011-01-06 Thread Craig Gardiner
.BuildConfiguration(); SessionFactory = Configuration.BuildSessionFactory(); } Cheers, Craig Gardiner. From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of James Gr

RE: [fluent-nhib] Re: Examples.FirstProject is not working for me

2011-01-05 Thread Craig Gardiner
to the SQLite ADO.Net driver where the final physical dll dependency is OS dependant. Or should I have stopped investigating and gone with "just re-install SQLite and that will fix it". I have heard many a dev say "just re-install and that will fix it" and when you ask them w

[fluent-nhib] Examples.FirstProject is not working for me

2011-01-05 Thread Craig Gardiner
Any ideas? Cheers, Craig Gardiner. -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibern...@googlegroups.com. To unsubscribe from this group, send email to fluent-nhibernate+unsub

[fluent-nhib] Convention for Readonly class

2010-07-14 Thread Craig Gardiner
How would I enforce the mutable=false xml class attribute using fluent api? My attempt below needs to be completed.?? How do I determine if the instance has all read only properties? public class ClassReadOnlyConvention : IClassConvention { public void Apply(IClassInstance instan

RE: [fluent-nhib] Cascade.AllDeleteOrphan() only clears foreign key

2010-05-19 Thread Craig Gardiner
How are you deleting the 'Comment'? >From the parent (Post). Have you tried specifying the Inverse property on the relationship. I always to include this, maybe that will help. -Original Message- From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Be

FW: [fluent-nhib] Automap - Null Property Convention?

2010-05-05 Thread Craig Gardiner
e going to have to elaborate. What kind of trouble are you having? Is it mapping them incorrectly or not at all? In what way is the convention not working? On Tue, May 4, 2010 at 9:17 AM, Craig Gardiner wrote: I'm having problems getting automapping to work with Nullable types eg. public virtual

[fluent-nhib] Automap - Null Property Convention?

2010-05-04 Thread Craig Gardiner
I'm having problems getting automapping to work with Nullable types eg. public virtual DateTime? LastPurchase { get; set; } I found this code and it looks reasonable but doesn't work. Any clues? public class NotNullPropertyConvention : IPropertyConvention, PropertyConventionAcceptance { pub

[fluent-nhib] AutoMapping - Examples.FirstAutomappedProject

2010-05-03 Thread Craig Gardiner
once I started using the latestr API's and downloaded the latest code from github. However I struggled with the setup of the Conventions, and still have issues with some of them; I'll create a separate email for this. Thanks again! Awesome work from the Fluent NH team! Regards,