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 How to: Initialize Business Objects with Default Property Values in XPO.
A similar example for XPO is How to: Initialize Business Objects with Default Property Values in XPO.