public string InsertRecord() { this.Insert(this.Parameters, new DataSourceViewOperationCallback(this.HandleInsertCallback)); SageCRMDataSourceView tview = (SageCRMDataSourceView)this.GetView(String.Empty); return(tview.RecordID); }
protected override DataSourceView GetView(string viewName) { if (null == view) { view = new SageCRMDataSourceView(this, this.TableName, this.WhereClause, this.SageCRMConnection, this.SelectSQL, this.Top); } return(view); }
public IDataReader SelectData() { SageCRMDataSourceView sdv = this.Open() as SageCRMDataSourceView; sdv.Select(DataSourceSelectArguments.Empty, this.do_nada); idr = new SageCRMDataViewReader(sdv.dv); return(idr); }
protected override DataSourceView GetView(string viewName) { if (null == view) { view = new SageCRMDataSourceView(this, this.TableName, this.WhereClause, this.SageCRMConnection, this.SelectSQL, this.Top, this.NoTLS, this.Cachable, this.ColumnList, this.FWorkflow, this.FWorkflowState, this.OrderBy, this.Translate); } view.CacheKey = this.Cachekey; return(view); }
public DataSet getDataSet() { DataSourceView tmp_dsv = this.Open(); tmp_dsv.Select(DataSourceSelectArguments.Empty, do_nada); SageCRMDataSourceView s_dsv = (tmp_dsv as SageCRMDataSourceView); DataSet newds = new DataSet(); newds.Tables.Add(s_dsv.data); return(newds); }
protected override DataSourceView GetView(string viewName) { if (null == view) { view = new SageCRMDataSourceView(this, this.TableName, this.WhereClause, this.SageCRMConnection, this.SelectSQL, this.Top); } return view; }