public Audits() { InitializeComponent(); auditAdapter = new AuditTableAdapter(); ds = new DataSet1(); elHouseAdapter = new ElHouseTableAdapter(); elHouseParamAdapter = new ElHouseParamsTableAdapter(); gfObjectsAdapter = new GilFondObjectTableAdapter(); porchAdapter = new PorchGilFondОbjectsTableAdapter(); pomeschAdapter = new PomeschGilFondОbsTableAdapter(); licSchetAdapter = new LicSchetTableAdapter(); pereschRabUslAdapter = new PerechRabUslugTableAdapter(); votingAdapter = new VotingTableAdapter(); dogUprAdapter = new DogUpravlTableAdapter(); licenseAdapter = new LicenseTableAdapter(); lichouseAdapter = new LicenseHousesTableAdapter(); rabuslAdapter = new PerechRabUslugTableAdapter(); qrLSPlatDocsAdapter = new qrLicSchet_PlatDocsTableAdapter(); priborAdapter = new PriborTableAdapter(); ustavHouseAdapter = new UstavHouseTableAdapter(); companiesAdapter = new CompaniesTableAdapter(); }
public License() { InitializeComponent(); ds = new DataSet1(); licenseAdapter = new LicenseTableAdapter(); licenseHousesAdapter = new LicenseHousesTableAdapter(); }
static DataModel() { // Create the data model and the table adapters. DataModel.dataSet = new DataSet(); DataModel.customerTableAdapter = new CustomerTableAdapter(); DataModel.licenseTableAdapter = new LicenseTableAdapter(); DataModel.productTableAdapter = new ProductTableAdapter(); // Load in the data from the SQL Server. DataModel.productTableAdapter.Fill(DataModel.dataSet.Product); DataModel.customerTableAdapter.Fill(DataModel.dataSet.Customer); DataModel.licenseTableAdapter.Fill(DataModel.dataSet.License); }