/// <summary> /// Deprecated Method for adding a new object to the SuggestionModels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSuggestionModels(SuggestionModel suggestionModel) { base.AddObject("SuggestionModels", suggestionModel); }
/// <summary> /// Create a new SuggestionModel object. /// </summary> /// <param name="kind">Initial value of the Kind property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="subroutineLocalId">Initial value of the SubroutineLocalId property.</param> /// <param name="blockIndex">Initial value of the BlockIndex property.</param> /// <param name="apcIndex">Initial value of the ApcIndex property.</param> public static SuggestionModel CreateSuggestionModel(global::System.String kind, global::System.String message, global::System.Int32 subroutineLocalId, global::System.Int32 blockIndex, global::System.Int32 apcIndex) { SuggestionModel suggestionModel = new SuggestionModel(); suggestionModel.Kind = kind; suggestionModel.Message = message; suggestionModel.SubroutineLocalId = subroutineLocalId; suggestionModel.BlockIndex = blockIndex; suggestionModel.ApcIndex = apcIndex; return suggestionModel; }