/// <summary> /// Deprecated Method for adding a new object to the Masts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMasts(Mast mast) { base.AddObject("Masts", mast); }
/// <summary> /// Create a new Mast object. /// </summary> /// <param name="mastId">Initial value of the MastId property.</param> /// <param name="mastName">Initial value of the MastName property.</param> public static Mast CreateMast(global::System.Int32 mastId, global::System.String mastName) { Mast mast = new Mast(); mast.MastId = mastId; mast.MastName = mastName; return mast; }