/// <summary> /// Create a new Mode object. /// </summary> /// <param name="modeID">Initial value of the ModeID property.</param> /// <param name="mode1">Initial value of the Mode1 property.</param> /// <param name="abbr">Initial value of the Abbr property.</param> public static Mode CreateMode(global::System.Int32 modeID, global::System.String mode1, global::System.String abbr) { Mode mode = new Mode(); mode.ModeID = modeID; mode.Mode1 = mode1; mode.Abbr = abbr; return mode; }
/// <summary> /// Deprecated Method for adding a new object to the Modes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToModes(Mode mode) { base.AddObject("Modes", mode); }