Example #1
0
        public DataRow ShowBANKEIDBANKE(DataRow fillByRow)
        {
            BANKEWorkItem item = this.WorkItem.Items.AddNew <BANKEWorkItem>();

            DataAdapterFactory.GetBANKEDataAdapter().Fill((BANKEDataSet)item.DataSet, Conversions.ToInteger(fillByRow["IDBANKE"]));
            DataRow row = null;

            if (item.RootForm.Show(DeklaritMode.Update, fillByRow, false) == DialogResult.OK)
            {
                row = DataSetUtil.GetRootTable(item.DataSet).Rows[0];
            }
            item.Terminate();
            this.WorkItem.Activate();
            return(row);
        }
Example #2
0
 public override void DoUpdate()
 {
     DataAdapterFactory.GetBANKEDataAdapter().Update(this.DataSet);
 }
Example #3
0
 public override void Fill(DataSet dataSet, IDictionary <string, object> row)
 {
     DataAdapterFactory.GetBANKEDataAdapter().Fill((BANKEDataSet)dataSet, Conversions.ToInteger(row["IDBANKE"]));
 }