예제 #1
0
파일: Audits.cs 프로젝트: iamkvv/gaudit
        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();
        }
예제 #2
0
        public License()
        {
            InitializeComponent();

            ds                   = new DataSet1();
            licenseAdapter       = new LicenseTableAdapter();
            licenseHousesAdapter = new LicenseHousesTableAdapter();
        }
예제 #3
0
        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);
        }