Class DataSourceType
Implements
Inherited Members
Namespace: LemonEdge.API.Entities.DataIntegration
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class DataSourceType : BaseEntityWithPermissions, IDataSourceType, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IDataSourceType>
Constructors
DataSourceType()
Declaration
public DataSourceType()
Properties
Description
A user friendly description of this external data source
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
GlobalyUnique
Normally any ID for a Data Source associated with a record must be unique across all instances of that record type.
This option forces the key to be unique globally across all records regardless of type.
Declaration
public bool GlobalyUnique { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
[Key] The unique name of the 3rd system this Data Source Type will hold keys for
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | src |
Overrides
CopyFromSource(IDataSourceType)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IDataSourceType source)
Parameters
Type | Name | Description |
---|---|---|
IDataSourceType | source | The source object to copy all values from. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |