BSQLHelp
Identità
Namespace:
B.BUtility.BSQLAssembly:
BFrameworkTipo: class
Sorgente API: versione
5.0.0
Scopo
Legge tramite sp_help i metadati SQL Server di una tabella o di un altro oggetto e li espone come colonne, indici e chiavi primarie tipizzate B-Arts.
Dichiarazione
public class BSQLHelp
Costruttori
BSQLHelp(IBConnection BCnn, string ObjName)
Proprietà
| Proprietà | Tipo | Accesso |
|---|---|---|
Columns |
List<BSQLHelpColumn> |
get/set |
DataCreazione |
DateTime? |
get/set |
DS |
DataSet? |
get/set |
Indeces |
List<BSQLHelpIndex> |
get/set |
IsNothing |
bool |
get/set |
ObjName |
string |
get/set |
Owner |
string |
get/set |
PrimaryKey |
List<BSQLPrimaryKey> |
get/set |
Type |
string |
get/set |
Campi e costanti
| Nome | Tipo | Natura |
|---|---|---|
K_SP |
string |
istanza |
Metodi
BSQLHelpColumn? FindBColumn(string Nome)bool HasIdentity()bool IsAPrimaryKey(string Campo)
Esempi
Consultare BSQLHelp - Esempi.
<!-- BAIDocs:API:inizio -->
Firme pubbliche estratte dal sorgente
B.BUtility.BSQL.BSQLHelp
B.BUtility.BSQL.BSQLHelp.K_SP
B.BUtility.BSQL.BSQLHelp.BSQLHelp(B.BInterfaces.IBConnection, string)
B.BUtility.BSQL.BSQLHelp.IsNothing
B.BUtility.BSQL.BSQLHelp.ObjName
B.BUtility.BSQL.BSQLHelp.Owner
B.BUtility.BSQL.BSQLHelp.Type
B.BUtility.BSQL.BSQLHelp.DataCreazione
B.BUtility.BSQL.BSQLHelp.Columns
B.BUtility.BSQL.BSQLHelp.Indeces
B.BUtility.BSQL.BSQLHelp.PrimaryKey
B.BUtility.BSQL.BSQLHelp.DS
B.BUtility.BSQL.BSQLHelp.IsAPrimaryKey(string)
B.BUtility.BSQL.BSQLHelp.FindBColumn(string)
B.BUtility.BSQL.BSQLHelp.HasIdentity()
<!-- BAIDocs:API:fine -->
