Method Editor

This dialog box allows you to edit methods added to the model from a database. Double-click or right-click on the method you want to edit and select the Edit item from the popup menu. The Method Editor window with General and Parameters tabs will be shown.

ExpandedToggleIcon        General Tab

Name

Edit the name of the method.

Source

Specify the name of the related stored function in the database.

Access

Change the kind of access. It can take Public, Protected, Internal, Private, or ProtectedInternal value.

Inheritance Modifier

Set the method inheritance modifier. The Inheritance Modifier can take None, New, NewVirtual, Override, or Virtual value.

None

The default value. No inheritance modification is performed.

New

Specifies that the derived base class property with this name is explicitly hidden.

NewVirtual

Specifies that the derived base class property with this signature is explicitly hidden, and this property of this class can be overridden in the derived class.

Override

Specifies that the property overrides the one, derived from the base class.

Virtual

Specifies that the property can be overridden in the derived class.

Documentation

Click to open the Documentation Editor, which contains the following fields.

Long Description

Enter a long method description here if you need it.

Summary

Enter a brief description of a method here.

Return Type

Choose the method return type.

None

Defines that no return type is available.

Scalars

Choose one of the scalar data types.

Value Types

You can choose any entity or complex type available in the diagram here or create a new complex type.

ExpandedToggleIcon        Parameters Tab

Name

List of the method parameters.

Add

Adds a new parameter to the list.

Remove

Removes the selected parameter.

Direction

Select the direction. Its value can be Input, Output, or InputOutput.

Data Type

Select the data type of the parameter it will take in the model.

DbType

The type of the parameter it will take in the source database.

ExpandedToggleIcon        See Also


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.