TechTalk Genome v4.2

<DefineMethod> Element

This element supports the Genome infrastructure and is not intended to be used directly from the schema definition file.

Defines a new method on the type without having the method declared on the type in .NET.

<Type name=" type ">
<DefineMethod name=" method " returnType=" method-return-type " [signature="param-type1 param-name1, ..., param-typen param-namen"] [ isStatic="true|false" ] [ isPublic="true|false" ] [mapping-specification] [modifiers] >
[mapping-specification]
[modifiers]
</DefineMethod>
</Type>
type
A class name.
method
A name specifying a method on the type type.
param-type1 param-name1...param-typen param-namen
A list of types and identifiers separated by commas, declaring the parameter list of method. If the method has no parameters, the parameter list can be omitted.
isStatic
If true, the method is static. If false or omitted, the method is an instance member.
isPublic
If true, the method is public. If false or omitted, the method is a protected member.
mapping-specification
One of the field mappings or member mappings providing the translation of the method to the underlying relational database system.
modifiers
One or more member modifier elements that can extend the functionality of the method.

Requirements

Type: TechTalk.Genome.Schema.Builder.Xml.DefineMethodXmlData

Assembly: TechTalk.Genome.dll

Version: 4.2.11

Editions: Professional, Evaluation, Express

Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Oracle 9i Release 2, Oracle 10g Release 2