訓練
模組
Manage tables in Dataverse - Training
Dataverse tables are similar to tables in a database. Every instance of a Dataverse database includes a base set of tables that provide structure for data that is commonly used by business applications.
OleDb.DataSource(connectionString as any, optional options as nullable record) as table
從連接字串 connectionString
所指定 OLE DB 資料來源傳回 SQL 資料表和檢視的表格。
connectionString
可以是文字或屬性值組的記錄。 屬性值可以是文字或數字。 可提供選擇性的記錄參數 options
來指定額外屬性。 記錄可包含下列欄位:
CreateNavigationProperties
:邏輯 (true/false),其設定是否要在傳回的值上產生導覽屬性 (預設為 true)。NavigationPropertyNameGenerator
:用於建立導覽屬性名稱的函式。Query
:用於擷取資料的原生 SQL 查詢。 如果查詢產生多個結果集,則只會傳回第一個結果集。HierarchicalNavigation
:邏輯 (true/false),其設定是否要依據資料表的結構描述名稱分組方式來檢視資料表 (預設為 true)。ConnectionTimeout
:控制放棄嘗試連線到伺服器之前要等待的時間長度。 預設值取決於驅動程式。CommandTimeout
:用來控制伺服器端查詢在取消前可以執行的時間長度。 預設值為十分鐘。SqlCompatibleWindowsAuth
:邏輯 (true/false),其判斷是否要為 Windows 驗證產生與 SQL Server 相容的連接字串選項。 預設值為 True。例如,將記錄參數指定為 [option1 = value1,option2 = value2 ...] 或 [Query = "select ..."]。
訓練
模組
Manage tables in Dataverse - Training
Dataverse tables are similar to tables in a database. Every instance of a Dataverse database includes a base set of tables that provide structure for data that is commonly used by business applications.