Hi,

I'm using fluent for mapping and testing with PersistenceSpecification and 
I have one issue with a formula column. On test this formula is used in a 
"left join on" and Oracle give's me and error.

So I would like to remove this column in the testing project and thinking 
in using ExposeConfiguration.

For instance, right now I use this to "force" cascades to ALL only in 
testing project 

.ExposeConfiguration(
                        configuration => 
                            .ClassMappings.ForEach(x => 
x.ReferenceablePropertyIterator.ForEach(r => r.Cascade = "All")))

but I don't know how to remove one column as I guess this is not only a 
matter of changing one attribute. I can get the mapping property with

config.GetClassMapping(typeof(TimetableEntity)).ReferenceablePropertyIterator.First(a
 
=> a.Name == "CurrentVersion");

but I'm stuck here

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to