/// <summary> /// Deprecated Method for adding a new object to the sexes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosexes(sex sex) { base.AddObject("sexes", sex); }
/// <summary> /// Create a new sex object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> public static sex Createsex(global::System.Int32 id, global::System.String description) { sex sex = new sex(); sex.Id = id; sex.Description = description; return sex; }