CreatedDate & LastModifiedDate fields in tables

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
craigd
Posts: 23
Joined: Wed 30 Jan 2013 11:33

CreatedDate & LastModifiedDate fields in tables

Post by craigd » Tue 05 Feb 2013 12:53

It would appear that when generating an Entity Developer model using the database first approach, the common fields relating to who created and modified the record and when are ignored.

Is this by design? These fields are very useful, and in fact are extremely important if one is to use advanced logic to compare state of an object to a specific time in the past.

Regards
Craig

craigd
Posts: 23
Joined: Wed 30 Jan 2013 11:33

Re: CreatedDate & LastModifiedDate fields in tables

Post by craigd » Tue 05 Feb 2013 13:27

Sorry - just wanted to confirm that this relates to dotConnect for SalesForce.

craigd
Posts: 23
Joined: Wed 30 Jan 2013 11:33

Re: CreatedDate & LastModifiedDate fields in tables

Post by craigd » Tue 05 Feb 2013 13:35

Bugger - just found the System.Objects = true setting in the ConnectionString.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: CreatedDate & LastModifiedDate fields in tables

Post by Shalex » Wed 06 Feb 2013 14:29

The "System Objects=true;" connection string parameter makes the system fields of the Salesforce objects be accessible.
Also call connection.Cache.RefreshMetadata(), which refreshes the metadata cache for the connection, to enable the setting.

Post Reply