/// <summary> /// Create a new MitigationType object. /// </summary> /// <param name="mitigationTypeId">Initial value of the MitigationTypeId property.</param> /// <param name="mitigationCatId">Initial value of the MitigationCatId property.</param> /// <param name="mitigationTypeName">Initial value of the MitigationTypeName property.</param> public static MitigationType CreateMitigationType(global::System.Int32 mitigationTypeId, global::System.Int32 mitigationCatId, global::System.String mitigationTypeName) { MitigationType mitigationType = new MitigationType(); mitigationType.MitigationTypeId = mitigationTypeId; mitigationType.MitigationCatId = mitigationCatId; mitigationType.MitigationTypeName = mitigationTypeName; return mitigationType; }
/// <summary> /// Deprecated Method for adding a new object to the MitigationTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMitigationTypes(MitigationType mitigationType) { base.AddObject("MitigationTypes", mitigationType); }