/// <summary>
 /// Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfiles(Profile profile)
 {
     base.AddObject("Profiles", profile);
 }
 /// <summary>
 /// Create a new Profile object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="canceledMark">Initial value of the CanceledMark property.</param>
 /// <param name="timeLimit">Initial value of the TimeLimit property.</param>
 /// <param name="shuffleQuestions">Initial value of the ShuffleQuestions property.</param>
 /// <param name="shuffleAnswers">Initial value of the ShuffleAnswers property.</param>
 /// <param name="questionsCount">Initial value of the QuestionsCount property.</param>
 /// <param name="markType">Initial value of the MarkType property.</param>
 public static Profile CreateProfile(global::System.Int32 id, global::System.String name, global::System.Int32 canceledMark, global::System.Int32 timeLimit, global::System.Int32 shuffleQuestions, global::System.Int32 shuffleAnswers, global::System.Int32 questionsCount, global::System.Int32 markType)
 {
     Profile profile = new Profile();
     profile.ID = id;
     profile.Name = name;
     profile.CanceledMark = canceledMark;
     profile.TimeLimit = timeLimit;
     profile.ShuffleQuestions = shuffleQuestions;
     profile.ShuffleAnswers = shuffleAnswers;
     profile.QuestionsCount = questionsCount;
     profile.MarkType = markType;
     return profile;
 }