Class ServiceSchemaManager
Represents manager for service schema.
Inheritance
System.Object
ServiceSchemaManager
Implements
Inherited Members
SchemaManager<ServiceSchema>.LoadManagerResources(SchemaResourceManager, Dictionary<String, String>)
SchemaManager<ServiceSchema>.SaveSchemaPackageDifference(UserConnection, PackageElementInfo, String)
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.Services
Assembly: Terrasoft.Services.dll
Syntax
public class ServiceSchemaManager : SchemaManager<ServiceSchema>, IManager<ISchemaManagerItem<ServiceSchema>, ServiceSchema>, IInternalSchemaManager, ISourceCodeSchemaManager, IServiceSchemaManager, ISchemaManager, IManager
Constructors
ServiceSchemaManager()
Declaration
public ServiceSchemaManager()
Properties
CanUseUserProperties
Declaration
protected override bool CanUseUserProperties { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.CanUseUserProperties
ItemCaption
The caption for the schema manager item.
Declaration
public override string ItemCaption { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.ItemCaption
ItemTypeName
Gets the name of the item type.
Declaration
protected override string ItemTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the item type. |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.ItemTypeName
ResourceManagerName
The name of the resource manager.
Declaration
public override string ResourceManagerName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.ResourceManagerName
SysSchemaUserPropertyRightsOperations
Declaration
protected override string[] SysSchemaUserPropertyRightsOperations { get; }
Property Value
Type | Description |
---|---|
System.String[] |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.SysSchemaUserPropertyRightsOperations
Methods
CreateSchemaInstance(ISchemaManagerItem, Assembly)
Creates the schema instance.
Declaration
protected override ServiceSchema CreateSchemaInstance(ISchemaManagerItem schemaManagerItem, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem | schemaManagerItem | The schema manager item. |
System.Reflection.Assembly | assembly | Assembly contains instance type. |
Returns
Type | Description |
---|---|
ServiceSchema | Created instance. |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.CreateSchemaInstance(Terrasoft.Core.ISchemaManagerItem, System.Reflection.Assembly)
GetGenerator(UserConnection)
Declaration
public override SchemaCodeGenerator<ServiceSchema> GetGenerator(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
Returns
Type | Description |
---|---|
SchemaCodeGenerator<ServiceSchema> |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.GetGenerator(Terrasoft.Core.UserConnection)
Exceptions
Type | Condition |
---|---|
System.NotImplementedException |
GetSchemaSources(ServiceSchema, Guid, UserConnection)
Declaration
protected override EntityCollection GetSchemaSources(ServiceSchema schema, Guid schemaId, UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
ServiceSchema | schema | |
System.Guid | schemaId | |
UserConnection | userConnection |
Returns
Type | Description |
---|---|
EntityCollection |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.GetSchemaSources(Terrasoft.Services.ServiceSchema, System.Guid, Terrasoft.Core.UserConnection)
InitializeDefSchema()
Initializes the schema which is used as default parent schema.
Declaration
protected override ServiceSchema InitializeDefSchema()
Returns
Type | Description |
---|---|
ServiceSchema | Default Dcm schema |
Overrides
Terrasoft.Core.SchemaManager<Terrasoft.Services.ServiceSchema>.InitializeDefSchema()
Explicit Interface Implementations
IServiceSchemaManager.SaveSchema(ISchemaManagerItem<ServiceSchema>, UserConnection)
Saves schema.
Declaration
bool IServiceSchemaManager.SaveSchema(ISchemaManagerItem<ServiceSchema> designItem, UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
ISchemaManagerItem<ServiceSchema> | designItem | The design item. |
UserConnection | userConnection | User connection instance. |
Returns
Type | Description |
---|---|
System.Boolean |
|