/// <summary>
 /// Deprecated Method for adding a new object to the Habits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHabits(Habit habit)
 {
     base.AddObject("Habits", habit);
 }
 /// <summary>
 /// Create a new Habit object.
 /// </summary>
 /// <param name="matrimonyID">Initial value of the MatrimonyID property.</param>
 public static Habit CreateHabit(global::System.Int32 matrimonyID)
 {
     Habit habit = new Habit();
     habit.MatrimonyID = matrimonyID;
     return habit;
 }