แก้ไข

แชร์ผ่าน


MethodSignatureGenerator Class

Definition

This class is used to generate a database query method signature, as it will be created by the typed dataset generator.

public ref class MethodSignatureGenerator
public class MethodSignatureGenerator
type MethodSignatureGenerator = class
Public Class MethodSignatureGenerator
Inheritance
MethodSignatureGenerator

Constructors

MethodSignatureGenerator()

Initializes a new instance of the MethodSignatureGenerator class.

Properties

CodeProvider

Gets or sets the CodeDomProvider object.

ContainerParameterType

Gets or sets the type of object that the query will fill.

DataSetClassName

Gets or sets the type name of the typed dataset to be filled.

IsGetMethod

Gets or sets a value that indicates whether the signature generated needs to return a DataTable object.

PagingMethod

Gets or sets a Boolean value specifying whether the method supports paging.

ParameterOption

Gets or sets the category of types to use for parameters.

TableClassName

Gets or sets the type name of the typed table to fill.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateMethod()

Returns the code member method representing the database query, as generated by the typed dataset generator.

GenerateMethodSignature()

Returns a string representing the database query method signature, as generated by the typed dataset generator.

GenerateUpdatingMethods()

Returns a code type declaration containing the Insert, Update, and Delete methods associated with the database query.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetDesignTableContent(String)

Sets the schema of the design table for which the database query method will be generated.

SetMethodSourceContent(String)

Sets the database query for which the method signature will be generated.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to