/// <summary> /// Deprecated Method for adding a new object to the Gramfunctions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGramfunctions(Gramfunction gramfunction) { base.AddObject("Gramfunctions", gramfunction); }
/// <summary> /// Create a new Gramfunction object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="wordtypeId">Initial value of the WordtypeId property.</param> /// <param name="languageId">Initial value of the LanguageId property.</param> public static Gramfunction CreateGramfunction(global::System.Int32 id, global::System.String text, global::System.Int32 wordtypeId, global::System.Int32 languageId) { Gramfunction gramfunction = new Gramfunction(); gramfunction.Id = id; gramfunction.Text = text; gramfunction.WordtypeId = wordtypeId; gramfunction.LanguageId = languageId; return gramfunction; }