Beispiel #1
0
        public async Task SaveDetail()
        {
            tblProposalCheckListPitchedRoof DB  = new tblProposalCheckListPitchedRoof();
            ProposalCheckListPitchedRoof    tab = new ProposalCheckListPitchedRoof();

            tab.BuildingID        = _BuildingID;
            tab.Iceandwatershield = _iceandwatershield;
            tab.Deck               = _deck;
            tab.NoofDrains         = _noofdrains;
            tab.Protrusions        = _protrusions;
            tab.Vallerys           = _vallerys;
            tab.Ridgecaps          = _ridgecaps;
            tab.Asbestos           = _asbestos;
            tab.SubRoofs           = _subroofs;
            tab.RakingWallFlashing = _rakingwallflashing;
            tab.RakingWallCoping   = _rakingwallcoping;
            tab.Railings           = _railings;
            tab.Access             = _access;
            tab.Chimneys           = _chimneys;
            tab.Dumpsters          = _dumpsters;
            tab.UserID             = Constant.UserID;
            tab.createon           = DateTime.Now;
            tab.issupload          = false;
            tab.isedit             = false;
            DB.Add(tab);
            App.Current.MainPage = new MainPageCS(new DeficiencyRepairScreen(_BuildingID));
        }
Beispiel #2
0
 public void Add(ProposalCheckListPitchedRoof p)
 {
     _connection.Insert(p);
 }
Beispiel #3
0
 public void Update(ProposalCheckListPitchedRoof p)
 {
     _connection.Update(p);
 }