internal VistaDBDataRow(VistaDBDataSet parent)
		{
			this.editing  = false;
			this.parent   = parent;
			this.rowID    = -1;
			this.rowIndex = -1;
			this.values   = new object[this.parent.table.ColumnCount()];
			for(int i = 0; i < this.parent.table.ColumnCount(); i++)
				this.values[i] = DBNull.Value;
		}
예제 #2
0
 internal VistaDBDataRow(VistaDBDataSet parent)
 {
     this.editing  = false;
     this.parent   = parent;
     this.rowID    = -1;
     this.rowIndex = -1;
     this.values   = new object[this.parent.table.ColumnCount()];
     for (int i = 0; i < this.parent.table.ColumnCount(); i++)
     {
         this.values[i] = DBNull.Value;
     }
 }
		internal VistaDBDataRow(VistaDBDataSet parent, long rowID, int rowIndex)
		{
			this.editing  = false;//rowID == -1;
			this.parent   = parent;
			this.rowID    = rowID;
			this.rowIndex = rowIndex;
			this.values   = new object[this.parent.table.ColumnCount()];

			if(this.rowID > 0)
			{
				for(int i = 0; i < this.parent.table.ColumnCount(); i++)
					this.values[i] = this.parent.table.GetObject(i);
			}
			else
			{
				for(int i = 0; i < this.parent.table.ColumnCount(); i++)
					this.values[i] = DBNull.Value;
			}
		}
예제 #4
0
        internal VistaDBDataRow(VistaDBDataSet parent, long rowID, int rowIndex)
        {
            this.editing  = false;            //rowID == -1;
            this.parent   = parent;
            this.rowID    = rowID;
            this.rowIndex = rowIndex;
            this.values   = new object[this.parent.table.ColumnCount()];

            if (this.rowID > 0)
            {
                for (int i = 0; i < this.parent.table.ColumnCount(); i++)
                {
                    this.values[i] = this.parent.table.GetObject(i);
                }
            }
            else
            {
                for (int i = 0; i < this.parent.table.ColumnCount(); i++)
                {
                    this.values[i] = DBNull.Value;
                }
            }
        }
예제 #5
0
			internal VistaDBDataSetTable(VistaDBDataSet parent)
			{
				this.parent = parent;
			}
예제 #6
0
			public Enumerator(VistaDBDataSet parent)
			{
				parent.CheckOpened(true);
				this.parent = parent;
				this.Reset();
			}
예제 #7
0
 internal VistaDBDataSetTable(VistaDBDataSet parent)
 {
     this.parent = parent;
 }
예제 #8
0
 public Enumerator(VistaDBDataSet parent)
 {
     parent.CheckOpened(true);
     this.parent = parent;
     this.Reset();
 }