public virtual SQLiteOgamaDataSet.ShapeGroupsDataTable GetDataByGroup(string Param1) { this.Adapter.SelectCommand = this.CommandCollection[1]; if (Param1 == null) { throw new ArgumentNullException("Param1"); } this.Adapter.SelectCommand.Parameters[0].Value = Param1; var dataTable = new SQLiteOgamaDataSet.ShapeGroupsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual SQLiteOgamaDataSet.ShapeGroupsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; var dataTable = new SQLiteOgamaDataSet.ShapeGroupsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }