/// <summary> /// Create a new Greek object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="frat">Initial value of the Frat property.</param> /// <param name="pastratings">Initial value of the pastratings property.</param> /// <param name="school_Id">Initial value of the School_Id property.</param> public static Greek CreateGreek(global::System.Int32 id, global::System.String name, global::System.Boolean frat, global::System.Double pastratings, global::System.Int32 school_Id) { Greek greek = new Greek(); greek.Id = id; greek.Name = name; greek.Frat = frat; greek.pastratings = pastratings; greek.School_Id = school_Id; return greek; }
/// <summary> /// Deprecated Method for adding a new object to the Greeks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGreeks(Greek greek) { base.AddObject("Greeks", greek); }