[fluent-nhib] Re: Fluent NHibernate Session Factory Performance

2010-07-26 Thread mcintyre321
var assemblyModifiedDate = //TODO: http://stackoverflow.com/questions/804192/how-can-i-get-the-assembly-last-modified-date if (!File.Exists("mapping.xml") || File.GetLastModified("mapping.xml") != assemblyModifiedDate ) { //TODO: use FNH to write mapping.xml and set its modified date to assembl

[fluent-nhib] Re: Fluent NHibernate Session Factory Performance

2010-07-26 Thread mcintyre321
var assemblyModifiedDate = //TODO: http://stackoverflow.com/questions/804192/how-can-i-get-the-assembly-last-modified-date if (!File.Exists("mapping.xml") || File.GetLastModified("mapping.xml") != assemblyModifiedDate ) { //TODO: use FNH to write mapping.xml and set its modified date to assembl

[fluent-nhib] Re: Multiple .UseOverrideFromAssemblyOf in the same AutoPersistenceModel

2010-07-26 Thread Łukasz Podolak
I have just found the same problem with my mappings, that come from multiple assemblies, how should we handle this situtation ? thanks, Łukasz Podolak On 7 Lip, 14:09, Roberto Hernández wrote: > Can the .UseOverrideFromAssemblyOf setting be specified multiple times in > a single AutoPersistenceMo