Class DataSourceID
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
[DataSourceUnique]
[MultipleUnique(new string[] { "EntityID", "DataSourceTypeID" }, AllowNullOrEmpty = false)]
public class DataSourceID : BaseEntity, IDataSource, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IDataSource>
Constructors
DataSourceID()
Declaration
Properties
DataSourceTypeID
Links to IDataSourceType. The data source type that you are storing an associated unique external
key for
Declaration
[RequiredNoDefaultIDValidation]
public Guid DataSourceTypeID { get; set; }
Property Value
DataSourceTypeID_Label
Declaration
public string DataSourceTypeID_Label { get; set; }
Property Value
DataSourceTypeID_Label_Silent
Declaration
[NotMapped]
public string DataSourceTypeID_Label_Silent { get; set; }
Property Value
EntityID
The unique global id of the entity (of type EntityTypeID) that this source id is being stored
against
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityID { get; set; }
Property Value
EntityID_Label
Declaration
public string EntityID_Label { get; set; }
Property Value
EntityID_Label_Silent
Declaration
[NotMapped]
public string EntityID_Label_Silent { get; set; }
Property Value
EntityTypeID
The type of entity this source id is being stored against
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
SourceID
The unique key from a third party data source that this record is associated with
Declaration
[Required]
[StringLength(500)]
public string SourceID { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IDataSource)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IDataSource source)
Parameters
Type |
Name |
Description |
IDataSource |
source |
The source object to copy all values from.
|
Implements
Extension Methods