Tracking Columns


Keeping all default values and generating the persistence layer you’ll see that technical columns, prefixed with a ‘_’, are automatically generated:

image

Tracking columns refer to those ones:

  • _trackLastWriteTime
  • _trackCreationTime
  • _trackLastWriteUser
  • _trackCreationUser

As you can see, by default, all entities track User and Time upon changes (create and update). This can be changed at the project level (for all entities) using the defaultEntityTrackingModes XML attribute or the Default Entity Tracking Modes property in the advanced tab of the property grid when selecting your CodeFluent Entities project in the solution explorer using the Modeler:

image

Unchecking Time and User removes those tracking columns for all entities.

You can also specify that at entity level so you can add or remove those columns for a specific entity:

image

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s