This example illustrates how to initialize newly created objects in Entity Framework. The complete description is available in the How to: Initialize Business Objects with Default Property Values in Entity Framework help topic.
A similar example for XPO is available at E2053.
A similar example for XPO is available at E2053.