I don't know about storing the anonymous functions directly in the database. a RDBMS store data, not objects. you could store a value that represents the function and map the value to the function using an IUserType or ICompositeUserType. This "forumla" object could use double dispatch to pull the specific values required to make the computation.
all that said, running a game that has an ORM/database on the backend seems odd. with game data being so dynamic, and latency needing to be low, it would seem a non-relational persistent storage option would make more sense. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/iTsGXsARj00J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
