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
CreatedDate & LastModifiedDate fields in tables
Re: CreatedDate & LastModifiedDate fields in tables
Sorry - just wanted to confirm that this relates to dotConnect for SalesForce.
Re: CreatedDate & LastModifiedDate fields in tables
Bugger - just found the System.Objects = true setting in the ConnectionString.
Re: CreatedDate & LastModifiedDate fields in tables
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.
Also call connection.Cache.RefreshMetadata(), which refreshes the metadata cache for the connection, to enable the setting.