Share via


MethodSignatureGenerator 類別

定義

這個類別是用來產生資料庫查詢方法簽章 (Signature),如同具型別資料集產生器所建立的一樣。

public ref class MethodSignatureGenerator
public class MethodSignatureGenerator
type MethodSignatureGenerator = class
Public Class MethodSignatureGenerator
繼承
MethodSignatureGenerator

建構函式

MethodSignatureGenerator()

初始化 MethodSignatureGenerator 類別的新執行個體。

屬性

CodeProvider

取得或設定 CodeDomProvider 物件。

ContainerParameterType

取得或設定查詢將會填滿之物件的型別。

DataSetClassName

取得或設定要填入之具類型資料集的類型名稱。

IsGetMethod

取得或設定值,這個值表示產生的簽章是否需要傳回 DataTable 物件。

PagingMethod

取得或設定布林值,指定方法是否支援分頁。

ParameterOption

取得或設定要針對參數使用的型別分類。

TableClassName

取得或設定要填滿之具型別資料表的型別名稱。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GenerateMethod()

傳回表示資料庫查詢的程式碼成員方法,如同具型別資料集產生器所產生的一樣。

GenerateMethodSignature()

傳回表示資料庫查詢方法簽章的字串,如同具型別資料集產生器所產生的一樣。

GenerateUpdatingMethods()

傳回程式碼型別宣告 (Type Declaration),其中含有與資料庫查詢相關聯的 Insert、Update 和 Delete 方法。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
SetDesignTableContent(String)

設定將針對其產生資料庫查詢方法的設計資料表結構描述。

SetMethodSourceContent(String)

設定將針對其產生方法簽章的資料庫查詢。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於