Gleb Chermennov
Gleb Chermennov
Ok, understood 2016-06-22 18:39 GMT+03:00 Robert (Bobby) Evans [email protected]: > I would love to at some point, and if someone wants to add a pull request > for it that...
@rafko-sc have you figured this out? What kind of exception do you see?
please provides API examples of what you mean
I think I got it - there's no way in ComponentMap to do: Map(x => x.Name).Access.BackingField(), for example. I'm not sure it's just an API that's missing. Need to dig...
ok, I think I'm finally ready to answer this properly. The reason _I think_ that there are currently no way to configure how component members should be accessed is that...
I'll take a look. First of all - are you sure that "yield return this" makes sense?
Can you try replacing this line: .Mappings(m => m.AutoMappings.Add(CreateMappings())) for these ones: .Mappings(m => { m.FluentMappings.AddFromAssemblyOf().Conventions.Add(DefaultCascade.SaveUpdate()); }) ? After I did that, your error went away - but I can't...
Markdown ate template argument - I meant AddFromAssemblyOf[SoldierMap]
The reason for an error is that Fluent thinks you didn't provide an Id mapping for Formation type - even after I said that PK is in the Id property
I didn't get the code working yet - will try again today