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

QSAdoNet

Metodo QSConnectionCreateSqlColumnField (String, Type, Int32, Boolean, Object, Int32, Int32)

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,
	Object defVal,
	int identitySeed,
	int identityIncrement
)
Public Function CreateSqlColumnField ( 
	fieldName As String,
	dataType As Type,
	lunghezza As Integer,
	notNull As Boolean,
	defVal As Object,
	identitySeed As Integer,
	identityIncrement As Integer
) As QSSqlColumnField
public:
QSSqlColumnField^ CreateSqlColumnField(
	String^ fieldName, 
	Type^ dataType, 
	int lunghezza, 
	bool notNull, 
	Object^ defVal, 
	int identitySeed, 
	int identityIncrement
)
member CreateSqlColumnField : 
        fieldName : string * 
        dataType : Type * 
        lunghezza : int * 
        notNull : bool * 
        defVal : Object * 
        identitySeed : int * 
        identityIncrement : int -> 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
defVal
Tipo: SystemObject
identitySeed
Tipo: SystemInt32
identityIncrement
Tipo: SystemInt32

Valore di ritorno

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