Metodo QSConnection.CreateSqlColumnField (String, Type, Int32, Boolean)

QSAdoNet

Metodo QSConnectionCreateSqlColumnField (String, Type, Int32, Boolean)

Crea un oggetto descrivente il campo da aggiungere/modificare in una tabella.

Namespace:  QSAdoNet
Assembly:  QSAdoNet (in QSAdoNet.dll) Versione: 1.0.0.0 (1.0.0.0)
Sintassi
public QSSqlColumnField CreateSqlColumnField(
	string fieldName,
	Type dataType,
	int lunghezza,
	bool notNull
)
Public Function CreateSqlColumnField ( 
	fieldName As String,
	dataType As Type,
	lunghezza As Integer,
	notNull As Boolean
) As QSSqlColumnField
public:
QSSqlColumnField^ CreateSqlColumnField(
	String^ fieldName, 
	Type^ dataType, 
	int lunghezza, 
	bool notNull
)
member CreateSqlColumnField : 
        fieldName : string * 
        dataType : Type * 
        lunghezza : int * 
        notNull : bool -> QSSqlColumnField 

Parametri

fieldName
Tipo: SystemString
Nome del campo.
dataType
Tipo: SystemType
Tipo di dato del campo.
lunghezza
Tipo: SystemInt32
Lunghezza del campo ( usata solo se tipo di campo è testo )
notNull
Tipo: SystemBoolean
Indica se il campo non deve essere annullabile

Valore di ritorno

Tipo: QSSqlColumnField
Restituisce l'oggetto descrivente il nome di un campo
Vedi anche