Esempio n. 1
0
 public void addScenarioToUtility(long scenarioID)
 {
     foreach (var qaType in db.QualityAttributeResponseTypes)
     {
        var utility =  new Utility();
         utility.QualityAttributeResponseTypeID = qaType.ID;
         utility.ScenarioID = scenarioID;
         utility.Description = ""; //won't accept null for some reason
         db.Utilities.InsertOnSubmit(utility);
     }//insert each Quality Attribute Response type for scenario
         //to be defined later by user
 }
Esempio n. 2
0
		private void detach_Utilities(Utility entity)
		{
			this.SendPropertyChanging();
			entity.QualityAttributeResponseType = null;
		}
Esempio n. 3
0
 partial void DeleteUtility(Utility instance);
Esempio n. 4
0
 partial void UpdateUtility(Utility instance);
Esempio n. 5
0
 partial void InsertUtility(Utility instance);
Esempio n. 6
0
		private void detach_Utilities(Utility entity)
		{
			this.SendPropertyChanging();
			entity.Scenario = null;
		}
Esempio n. 7
0
 public ScenarioViewModel(Utility utility)
 {
     Utility = utility;
 }