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
|
We using an IDesignTimeNamingStrategy that preserves database name casing. This generates entity names such as 'fwTest' (which is what we want). It also generates association names such as 'fwTests'. However, when using the metadata API to retrieve properties and associations, the names are returned as uppercase (such as 'FwTests'), which of course does not match the real property name 'fwTests'. We are using the following design time naming strategy: public class PreserveDatabaseConventions : IDesignTimeNamingStrategy, IOverrideClrConventions { #region IDesignTimeNamingStrategy Members
} |
|
|
The "PropertyName" value (which I assume is what you are looking at) returns the default value we expect the property to be called not an actual property which is handling the field so this isn't a reliable means of determining the property as you could be generating this yourself (e.g. setting the generation mode to be field only or none) or using a design time naming strategy as you are in this case.
|
|