public ViewSqlRecordDialog(ISqlRecordMetadataService recordService, IDialogController dialogController, string type, string id, Action onCancel) : base(dialogController) { OnCancel = onCancel; Id = id; Type = type; RecordService = recordService; }
public CreateOrUpdateSqlDialog(IDialogController dialogController, ISqlRecordMetadataService recordService, T objectLoaded) : base(dialogController) { SqlObject = objectLoaded; if (objectLoaded == null) { SqlObject = new T(); } RecordService = recordService; var configEntryDialog = new ObjectEntryDialog(SqlObject, this, ApplicationController, RecordService, null, () => { SaveObject(); }, null); SubDialogs = new DialogViewModel[] { configEntryDialog }; }
public CreateOrUpdateSqlDialog(IDialogController dialogController, ISqlRecordMetadataService recordService) : this(dialogController, recordService, new T()) { }
protected ViewSqlRecordObjectsDialog(ISqlRecordMetadataService recordService, IDialogController dialogController) : base(recordService, dialogController) { RecordService = recordService; }