public virtual db_RecepcionMaterial.RECEPCION_MATERIALDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; db_RecepcionMaterial.RECEPCION_MATERIALDataTable dataTable = new db_RecepcionMaterial.RECEPCION_MATERIALDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(db_RecepcionMaterial.RECEPCION_MATERIALDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }