Class SystemEntitySchemaManager
System entities schema manager.
Inheritance
System.Object
SystemEntitySchemaManager
Implements
Inherited Members
SchemaManager<EntitySchema>.SaveDesignedItemAdditionalData(UserConnection, ISchemaManagerItem, Guid)
SchemaManager<EntitySchema>.FillSourceCollection(Collection<ISchemaManagerItem>, ISchemaManagerItem)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class SystemEntitySchemaManager : EntitySchemaManager, IManager<ISchemaManagerItem<EntitySchema>, EntitySchema>, ISchemaManager, IManager, ISourceCodeSchemaManager
Constructors
SystemEntitySchemaManager()
Initializes a new instance of the SystemEntitySchemaManager.
Declaration
public SystemEntitySchemaManager()
Methods
Clear()
Declaration
public override void Clear()
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.Entities.EntitySchema>.Clear()
InitializeEntitySchemaRights()
Initializing permissions for the schemas.
Declaration
protected override void InitializeEntitySchemaRights()
Overrides
InitializeEvents()
Declaration
protected override void InitializeEvents()
Overrides
InitializeInstance(ISchemaManagerItem<EntitySchema>)
Initializes a new instance of the system schema in the specified item of manager.
Declaration
protected override EntitySchema InitializeInstance(ISchemaManagerItem<EntitySchema> item)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem<EntitySchema> | item | The manager item for which the instance is being creating. |
Returns
Type | Description |
---|---|
EntitySchema | Initialized item of system schema. |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Core.Entities.EntitySchema>.InitializeInstance(Terrasoft.Core.ISchemaManagerItem<Terrasoft.Core.Entities.EntitySchema>)
InitializeItems()
Initializes items of manager.
Declaration
protected override bool InitializeItems()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
InitializeSafeSchema(ISchemaManagerItem, Assembly)
Declaration
public override IManagerItemInstance InitializeSafeSchema(ISchemaManagerItem schemaManagerItem, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem | schemaManagerItem | |
System.Reflection.Assembly | assembly |
Returns
Type | Description |
---|---|
IManagerItemInstance |
Overrides
InitializeSchema(ISchemaManagerItem, Assembly)
Creates the schema instance for the type specified in the passed-in manager item. If no such schema type is found, an exception is thrown.
Declaration
public override IManagerItemInstance InitializeSchema(ISchemaManagerItem schemaManagerItem, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem | schemaManagerItem | The manager item where the schema is to be initialized. |
System.Reflection.Assembly | assembly | The assembly that contains the type of the scheme whose instance is being created. |
Returns
Type | Description |
---|---|
IManagerItemInstance | The initialized instance of the schema. |