DedNetConnectorCommands.CreateData Method

DedNetConnector

DedNetConnectorCommandsCreateData Method

Crea una nuova anagrafica nella famiglia selezionata.

Namespace:  DedNetConnector
Assembly:  DedNetConnector (in DedNetConnector.dll) Version: 23.0.0.0 (23.0.0.0)
Syntax
public DedDataLight CreateData(
	string dbPath,
	Dictionary<string, Object> attr,
	bool useUI,
	bool showException
)
Public Function CreateData ( 
	dbPath As String,
	attr As Dictionary(Of String, Object),
	useUI As Boolean,
	showException As Boolean
) As DedDataLight
public:
DedDataLight^ CreateData(
	String^ dbPath, 
	Dictionary<String^, Object^>^ attr, 
	bool useUI, 
	bool showException
)
member CreateData : 
        dbPath : string * 
        attr : Dictionary<string, Object> * 
        useUI : bool * 
        showException : bool -> DedDataLight 

Parameters

dbPath
Type: SystemString
Indica la famiglia in cui creare l'anagrafica. Può essere 'null' se non si dispone di questa informazione.
attr
Type: System.Collections.GenericDictionaryString, Object
Dizionario di tipo string/object dove 'string' rappresenta il nome VISUALIZZATO dell'attributo e 'object' il relativo valore da assegnarli. Imposta solamente gli attributi che vengono trovati, gli altri vengono ignorati. Può essere 'null' se non si dispone di questa informazione.
useUI
Type: SystemBoolean
Indica se visualizzare o meno eventuali interfacce grafiche.
showException
Type: SystemBoolean
Indica se visualizzare eventuali eccezioni all'interno di un apposito dialogo; Default: False.

Return Value

Type: DedDataLight
Tipo: 'DedNetConnector.DedDataLight'; Ritorna l'anagrafica appena creata se l'operazione è andata a buon fine, 'null' altrimenti.
See Also