Skip to content

How to set the CreatedBy (and ModifiedBy) of records #98

Answered by jordimontana82
bwmodular asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Ben!

All read-only properties could be set using the brackets notation [] even if they're read only.

Here's a sample of CreatedBy.

https://github.com/DynamicsValue/fake-xrm-easy-core/blob/f343198c49c5eb68b1940173c7668b2505cf5b75/tests/FakeXrmEasy.Core.Tests/Query/QueryLookupTests/QueryLookupTests.cs#L71

Hopefully that will work!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jordimontana82
Comment options

Answer selected by bwmodular
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants