From my knowledge of N this is not possible with a "transparent" mapping feature, like property or as you can do with bags os sets and so on.. The simplest way to that is using a formula over that property and make that property "un-mutable" so the property does'm involve in insert/update scenarios. Hope this helps.
From my knowledge of N this is not possible with a "transparent" mapping feature, like property or as you can do with bags os sets and so on.. The simplest way to that is using a formula over that property and make that property "un-mutable" so the property does'm involve in insert/update scenarios. Hope this helps. So this could be an example: as source of more info about nhibernate mapping features about (property in this case) is the following: Nbernate mapping: property.
So far as I can tell, you have just told me it IS possible, so long as I can somehow get the entity's Id into the SQL expression (i.e. The formula can be dynamic). – David Feb 28 at 10:24 1 The expression you can put in the formula is an arbitrary SQL expression (as the link I provided from ayende says), you can put the a Select .... from Actions where Actions.Id = Id (Nhibernate translates this Id prefixyng with the name of the table from the coulumn belongs) and Actions.
Code = 'BLAH'. This could be an example, another way is to do it with CASE WHEN, but I think the first one is preferrable because you don't have a set of value to choice but you have a single expression to evaluate IF There's a related record and IF has that CODE VALUE = 'BLAH' – Hoghweed Feb 28 at 10:33 Thanks. That bit about the Id is what I needed to know.
– David Feb 28 at 10:44 The database platform I'm mapping to (Interbase) doesn't have support for CASE WHEN (boo! ) but does do correlated subqueries (thank God). – David Feb 28 at 10:47 I was ignoring about your database platform!
Sorry I told about CASE WHEN automatically considering you were working on SQL SERVER, sorry my mistake! – Hoghweed Feb 28 at 10:53.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.