/// <summary> /// Create a new Wordtype object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="text">Initial value of the Text property.</param> public static Wordtype CreateWordtype(global::System.Int32 id, global::System.String text) { Wordtype wordtype = new Wordtype(); wordtype.Id = id; wordtype.Text = text; return wordtype; }
/// <summary> /// Deprecated Method for adding a new object to the Wordtypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWordtypes(Wordtype wordtype) { base.AddObject("Wordtypes", wordtype); }
public WordtypeViewModel(Wordtype wordtype) { Id = wordtype.Id; Text = wordtype.Text; }