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.
Namespace: ToSic.Eav.Data.Raw
Assembly: ToSic.Eav.Core.dll
Syntax
[PublicApi]
public interface IRawEntity
Remarks
Added in 15.04
Properties
| Improve this Doc View SourceCreated
Created - either the real creation date or the DateTime.Now
Declaration
DateTime Created { get; }
Property Value
Type | Description |
---|---|
DateTime |
Guid
The Guid to use. Must always be set. If you don't have a GUID, use Guid.Empty
Declaration
Guid Guid { get; }
Property Value
Type | Description |
---|---|
Guid |
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.
Declaration
int Id { get; }
Property Value
Type | Description |
---|---|
int |
Modified
Modified - either the real creation date or the DateTime.Now
Declaration
DateTime Modified { get; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
| Improve this Doc View SourceAttributes(RawConvertOptions)
Dictionary of all values to be added.
Declaration
IDictionary<string, object> Attributes(RawConvertOptions options)
Parameters
Type | Name | Description |
---|---|---|
RawConvertOptions | options |
Returns
Type | Description |
---|---|
IDictionary<string, object> |
Remarks
- Please ensure it doesn't have duplicate keys. Also not keys which are only different in casing.
- Also ensure you don't use spaces, dots or special characters in keys