1. DataSourceBase

Class DataSourceBase

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Inheritance
System.Object
DataSourceBase
Implements
Namespace: Stylelabs.M.Sdk.Models.Base.DataSources
Assembly: Stylelabs.M.Sdk.dll
Syntax
public abstract class DataSourceBase : object, IDataSource, IResource

Properties

CreatedBy

Gets the id of the user who created this resource. null if it has not been created.

Declaration
public long? CreatedBy { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int64>

CreatedOn

Gets the date on which this resource was created. null if it has not been created.

Declaration
public DateTime? CreatedOn { get; set; }
Property Value
TypeDescription
System.Nullable<DateTime>

IsSystemOwned

Gets or sets a value indicating whether the datasource is editable. false (default) allows the datasource to be editable, false locks the datasource preventing any further modifications.

Declaration
public bool IsSystemOwned { get; set; }
Property Value
TypeDescription
System.Boolean

Labels

Gets optional translation(s) of the canonical name.

Declaration
public IDictionary<CultureInfo, string> Labels { get; protected set; }
Property Value
TypeDescription
IDictionary<CultureInfo, System.String>

ModifiedBy

Gets the id of the user who modified this resource. null if it has not been created.

Declaration
public long? ModifiedBy { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int64>

ModifiedOn

Gets the date on which this resource was modified. null if it has not been created.

Declaration
public DateTime? ModifiedOn { get; set; }
Property Value
TypeDescription
System.Nullable<DateTime>

Name

Gets the name of the datasource. Can only contain letters, numbers, dots or underscores. Because it is used as an identifier, this also needs to be unique.

Declaration
public string Name { get; set; }
Property Value
TypeDescription
System.String

Type

Gets the type of the datasource.

Declaration
public abstract DataSourceType Type { get; }
Property Value
TypeDescription
DataSourceType

Methods

GetDataSourceValues()

Gets a list of the data source values. Use the properties on IFlatDataSource or IHierarchicalDataSource. to make changes.

Declaration
public abstract IList<IDataSourceValue> GetDataSourceValues()
Returns
TypeDescription
IList<IDataSourceValue>

Implements

この記事を改善するための提案がある場合は、 お知らせください!