/// <summary> /// Create a new SentenceTemplate object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="expression">Initial value of the Expression property.</param> /// <param name="isStatement">Initial value of the IsStatement property.</param> /// <param name="isInterrogative">Initial value of the IsInterrogative property.</param> /// <param name="isImperatives">Initial value of the IsImperatives property.</param> /// <param name="isExclamatory">Initial value of the IsExclamatory property.</param> public static SentenceTemplate CreateSentenceTemplate(global::System.Int32 id, global::System.String expression, global::System.Boolean isStatement, global::System.Boolean isInterrogative, global::System.Boolean isImperatives, global::System.Boolean isExclamatory) { SentenceTemplate sentenceTemplate = new SentenceTemplate(); sentenceTemplate.Id = id; sentenceTemplate.Expression = expression; sentenceTemplate.IsStatement = isStatement; sentenceTemplate.IsInterrogative = isInterrogative; sentenceTemplate.IsImperatives = isImperatives; sentenceTemplate.IsExclamatory = isExclamatory; return sentenceTemplate; }
/// <summary> /// Deprecated Method for adding a new object to the SentenceTemplateSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSentenceTemplateSet(SentenceTemplate sentenceTemplate) { base.AddObject("SentenceTemplateSet", sentenceTemplate); }