Class SchemaElement
Represents an Schema element.
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public class SchemaElement
Constructors
SchemaElement()
Initializes a new instance of the SchemaElement class.
Declaration
public SchemaElement()
SchemaElement(String, String, SchemaElementDataType)
Initializes a new instance of the SchemaElement class.
Declaration
public SchemaElement(string id, string path, SchemaElementDataType datatype)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id. |
System.String | path | The path. |
SchemaElementDataType | datatype | The datatype. |
SchemaElement(String, String, String)
Initializes a new instance of the SchemaElement class.
Declaration
public SchemaElement(string id, string path, string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id. |
System.String | path | The path. |
System.String | key | The key. |
SchemaElement(String, String, String, String, String, SchemaElementDataType, String)
Initializes a new instance of the SchemaElement class.
Declaration
public SchemaElement(string id, string friendlyName, string pluralName, string path, string key, SchemaElementDataType datatype, string handlerType)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id. |
System.String | friendlyName | The friendly name of the element. |
System.String | pluralName | Plural name of the element. |
System.String | path | The path. |
System.String | key | The key. |
SchemaElementDataType | datatype | The datatype. |
System.String | handlerType | Type of the handler. |
Properties
DataType
Gets or sets the type of the data.
Declaration
public SchemaElementDataType DataType { get; set; }
Property Value
Type | Description |
---|---|
SchemaElementDataType | The type of the data. |
FriendlyName
Gets or sets the name of the friendly.
Declaration
public string FriendlyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the friendly. |
Handler
Gets the handler.
Declaration
public ISchemaElementHandler Handler { get; }
Property Value
Type | Description |
---|---|
ISchemaElementHandler | The handler. |
HandlerTypeName
Gets or sets the type of the handler.
Declaration
public string HandlerTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the handler. |
Id
Gets or sets the name.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Key
Gets or sets the key.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String | The key. |
Parent
Gets or sets the parent element.
Declaration
public SchemaContainer Parent { get; set; }
Property Value
Type | Description |
---|---|
SchemaContainer | The parent element. |
Path
Gets or sets the path.
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path. |
PluralName
Gets or sets the name of the plural.
Declaration
public string PluralName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the plural. |
UpdateOrderId
Gets or sets the update order id.
Declaration
public int UpdateOrderId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The update order id. |
Methods
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |