public HandoverSheetWindow(int sheetID) { InitializeComponent(); sheetController = new HandoverSheetController(); sheet = sheetController.Get(sheetID); this.DataContext = sheet; }
public Business_HandoverSheet Get(int sheetID) { Business_HandoverSheet sheet = new Business_HandoverSheet() { HandoverSheetID = "ssss", DepartmentID = 1, Project = new Business_Project() { ProjectID = 1, ProjectName = "asdkjflsadkfj", ProjectLeader = "333", Company = "ooo", DesignNo = "asdf" }, }; return(sheet); }
public int Update(Business_HandoverSheet business_HandoverSheet) { return(0); }
public int Add(Business_HandoverSheet business_HandoverSheet) { return(0); }