/// <summary> /// Deprecated Method for adding a new object to the Genders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGenders(Gender gender) { base.AddObject("Genders", gender); }
/// <summary> /// Create a new Gender object. /// </summary> /// <param name="genderID">Initial value of the GenderID property.</param> /// <param name="gender1">Initial value of the Gender1 property.</param> public static Gender CreateGender(global::System.Int32 genderID, global::System.String gender1) { Gender gender = new Gender(); gender.GenderID = genderID; gender.Gender1 = gender1; return gender; }