/// <summary> /// Create a new Gender object. /// </summary> /// <param name="genderID">Initial value of the GenderID property.</param> /// <param name="code">Initial value of the Code property.</param> public static Gender CreateGender(global::System.Int32 genderID, global::System.String code) { Gender gender = new Gender(); gender.GenderID = genderID; gender.Code = code; return gender; }
/// <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); }