Applies the default properties of the specified database to this entity.
If pDb is null, the database containing this entity will be used.
The following properties are set: