Interface IRawEntity
This marks objects which have data prepared to be converted to Entities.
Typically used for external data DataSources which get something and pass it to an Entity Builder.
[WorkInProgressApi("v22")]
public interface IRawEntity : IRawData
Remarks
- Added in 15.04 accidentally as public
- Was public till 16.09, but needed to be reworked, currently should be unknown to the public
Properties
Created
Created - either the real creation date or the DateTime.Now
DateTime Created { get; }
Property Value
Guid
The Guid to use. Must always be set. If you don't have a GUID, use Guid.Empty
Guid Guid { get; }
Property Value
Id
The ID to use. If the real object doesn't have a real ID, please do not set at all. It will then keep the default and will auto-enumerate.
int Id { get; }
Property Value
Modified
Modified - either the real creation date or the DateTime.Now
DateTime Modified { get; }
Property Value
Values
Dictionary of all values to be added.
IDictionary<string, object?> Values { get; }
Property Value
- IDictionary<string, object>
Remarks
- Please ensure it doesn't have duplicate keys.
- ...and also not keys which are only different in casing.
- Also ensure you don't use spaces, dots or special characters in keys