This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there anyway to set default properties in the designer?
For example we use GuidCombs as our default identity method, but the designer always sets this to default. Likewise we normally turn cascading deletes off.
It would be nice in the designer if we could set these as defaults for a model, so we don't forget to set manually.
Craig
|
|
|
These defaults already exist, but are on the LightSpeedContext rather than the design-time model. You only need to set them at the entity level if you want to override them on a per-table basis. |
|
|
Can these defaults be set in the designer? I can't find them anywhere.
Craig
|
|
|
No. You would set them on your LightSpeedContext either in your initialisation code or in your app.config. |
|
|
Ok, not quite what I had hoped for, but I guess it will do.
Craig
|
|