Features geniali classes with the stereotype businessserver, properties, business servers
To describe business server you must create the chart class with the stereotype businessserver
.
For example:
Generated
- Code business servers: class that are inherited from ICSSoft.STORMNET.Business.BusinessServer, methods are generated as virtual methods with the appropriate parameters and modifiers. The method body empty with bracket programmer to make the code in the method. UML attributes are not generated, since the business objects servers are stateless, what a generator is issued a warning.
- Specified in the properties of plugs for your business servers.
Properties of a business server
Property | Description | Generation .Net language |
---|---|---|
Name |
name UML class Name .Net-class-business-servers | |
Description |
a class description | DocComment before the class definition |
Packet, NamespacePostfix |
allow to set the Assembly and namespace in which to generate the type of | see the Location of assemblies after code generation. |
PBMembers |
allows you to specify whether to brace the programmer within the class to “manual” introduction of the members of the class | If the option is given, it is generated bracket programmer for “manual” introduction of the members of the class. |
GenerateComPlusServer |
If the option is enabled, - the class generates a stub (wrapper) in a separate Assembly to access the business server through COM . | |
ComPlusServerOptions |
Indicates to the COM stub management transactionally COM default, in terms of COM . Affects the generation of the attribute [Transaction(TransactionOption.XXXXXXX)] directly in front of the stub class |
|
GenerateHTTPRemoteServer |
If the option is enabled, - the class generates a stub (wrapper) in a separate Assembly to access the business server via Remoting, organized via the HTTP Protocol. |
Note: attribute Properties business servers do not count as not count the attributes. Properties and generation methods for your business server, as described in the article class Methods and method parameters.